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 is convert this makefile into CMakeLists.txt, and after cmake this CMakeLists.txt, i can get a makefile like this. What should i do? Thanks, Chao Zhang -- View this message in context: http://cmake.3232098.n2.nabble.com/How-to-transfer-CMake-variable-and-include-other-makefile-in-one-makefile-which-generated-by-CMake-tp7593327.html Sent from the CMake mailing list archive at Nabble.com. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake