Skip to content

Rework cmake code

Nicolas Fella requested to merge nicolasfella/mauikit:cmakerework into master

It is common practice to split the CMake code into multiple files. The toplevel file sets up general stuff and does the find_package calls. src/CMakeLists then defines the libs/executables, does the source/include/linking and install stuff. The split isn't perfect yet.

Second, this patch splits the library linking into public and private dependencies. This way apps don't need to link against syntaxhighlighting for example

Merge request reports