Ticket #529 (new task)

Opened 2 years ago

Last modified 14 months ago

Create CMake code for using bundled/system libkmess and isf-qt

Reported by: sjors Owned by:
Priority: major Milestone: kmess-3.0
Component: Other Version: 2.0
Keywords: library libkmess libisf-qt bundling compilation junior-job Cc:

Description

Almost always, when compiling an application that also exports a public library, first the library is built, then the application, then both are installed. If only the library is needed, only it is built and installed. It rarely happens an application, that comes with a library, is able to be built against the system-installed library version.

In case people really want to use the systemwide version, we should have the option, but I think it is way more logical and helpful if the bundled one is used by default.

Before closing this task, we should: * Making KMess build against bundled libkmess and libisf-qt by default * Making a compile-time option to use an already-installed-at-given-lication libkmess and/or libisf-qt instead of bundled one.

Alternatively, after splitting off libisf-qt to its own project, that library is dropped from the above two lines, and the KMess build will always use the system-installed (or given) version.

Change History

Changed 14 months ago by sjors

KMess now builds, by default, against its bundled libkmess. I'm not sure if there is an option to force a build against system one / given-location one.

This should also be done for libisf-qt.

Note: See TracTickets for help on using tickets.