[CMake] How to transfer CMake variable and include other makefile in one makefile which generated by CMake

2016-04-23 Thread Chaos Zhang
Hi all, I faced this problem when i converting an existing Makefile to CMake. I have try my best to search this problem in google and stack overflow but finally failed for my poor English.In the existing makefile, the content like as below: var=test_var include(test.mk) What i want to do

[CMake] CMAKE_POSITION_INDEPENDENT_CODE Version

2016-04-23 Thread Rob McDonald
CMAKE_POSITION_INDEPENDENT_CODE first appears in the documentation for 2.8.9 while CMAKE_POSITION_INDEPENDENT_FLAGS appears in the docs for 2.8.8 -- with the same description. Was this just a documentation typo, or did the name of this variable change from 2.8.8 to 2.8.9? Only the _FLAGS version

[CMake] Version compatibility?

2016-04-23 Thread Rob McDonald
Is there a continuation of the CMake version -- feature mapping table? https://cmake.org/Wiki/CMake_Version_Compatibility_Matrix I found this to be quite useful, but need something that continues into 3.X. Rob -- Powered by www.kitware.com Please keep messages on-topic and check the CMake

[CMake] Assign large C++ source to separate ninja pool

2016-04-23 Thread Konstantin Tokarev
Hello, In Ninja documentation on pools feature there is an example of separate heavy_object_pool [1]. Is it possible to use this feature with cmake? Use case is to avoid parallel compilation of N large sources, while compilation of 1 large and N-1 small sources is OK. [1]

Re: [cmake-developers] Autogen subdirectories patches

2016-04-23 Thread Sebastian Holtermann
Am 22.04.2016 um 15:37 schrieb Brad King: On 04/21/2016 03:14 AM, Sebastian Holtermann wrote: Thanks! I've applied them locally and merged the cleanup/refactoring commits to 'next' for testing first. Once those test cleanly I'll move on to the rest. It is good too see the patches made it

[Cmake-commits] CMake branch, master, updated. v3.5.2-507-g4417f91

2016-04-23 Thread Kitware Robot
_VERSION_MINOR 5) -set(CMake_VERSION_PATCH 20160423) +set(CMake_VERSION_PATCH 20160424) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/