kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #23684
Rearrange CMakeLists
Attached is another CMakeLists patch (this is early in dev and not
ready for merge yet i am just looking for comments on it. and as part
of this i would like to pull (a slightly modified)
GetPrerequisites.cmake and BundleUtilities.cmake into the tree due to
the current one being wrong and not working if a requirement of kicad
requires something else (kicad requires boost-context which requires
boost-chrono). The boost that comes with brew uses @executable_path/
which is not understood by GetPrerequisites but a few line change does
allow this to work (these are not included with the current patch
though)
The Current changes are:
- Use include_directories directly from the root CMakeLists (this
removes the need for INC_BEFORE/INC_AFTER all system stuff ends up at
the end as all the sub cmakelists use before)
- Conditional requiring curl libraries (currently required even if not
building the github plugin)
- Moving system libs (Boost) to -isystem
- Cleaning up the if python stuff due to changes made in the last cmake patch
Simon
Attachment:
kicad_cmake-v2.patch
Description: Binary data
Follow ups