Displaying 2 results from an estimated 2 matches for "newcmake".
2016 Apr 27
4
[cfe-dev] Fwd: Raising CMake minimum version to 3.4.3
...equently
upstream is for the project to keep a local copy and have a check in place
to use CMake's version if new enough. For instance, in llvm's source tree:
cmake/modules/ExternalProject.cmake:
if(CMAKE_VERSION VERSION_LESS "3.5.1")
include(${PROJECT_SOURCE_DIR}/cmake/modules/newcmake/ExternalProject.cmake)
else()
include(${CMAKE_ROOT}/Modules/ExternalProject.cmake)
endif()
cmake/modules/newcmake/ExternalProject.cmake - Copy of the
ExternalProject.cmake shipped with 3.5.1
Then in the top level CMakeLists.txt, just include(ExternalProject). It
will first load the version-che...
2016 Apr 27
3
[cfe-dev] Fwd: Raising CMake minimum version to 3.4.3
Most of the comments I have are actually very well captured by Chandler's email, so I'm not going to pile on. I do have a few things to add.
Renato, in your most recent email you comment about differentiating *stable* vs random versions of CMake built from source. I believe as a community our recommendation should be that people download CMake sources from https://CMake.org/download/