Changes between Version 33 and Version 34 of CMakeModularizationStatus
- Timestamp:
- May 9, 2012, 10:06:44 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CMakeModularizationStatus
v33 v34 109 109 {{{ 110 110 #!sh 111 mkdir ../build111 mkdir build 112 112 }}} 113 113 114 Finally, configure, build, and test: 114 Call CMake from the build directory TWICE. The two invocations are necessary for resolving circular dependencies until CMake does not provide better support for 115 [http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/3083 usage requirements]. 116 117 If everything goes well, the first call to cmake will end with an error message saying "Initial pass successfully completed, now run again!". 115 118 116 119 {{{ 117 120 #!sh 118 cmake -DBUILDDIR=../build -DBUILDSTEP=configure -DTOOLCHAIN= -P build.cmake 119 cmake -DBUILDDIR=../build -DBUILDSTEP=build -DTOOLCHAIN= -P build.cmake 120 cmake -DBUILDDIR=../build -DBUILDSTEP=test -DTOOLCHAIN= -P build.cmake 121 cd build 122 cmake .. 123 cmake .. 124 }}} 125 126 You can now build and test: 127 128 {{{ 129 #!sh 130 cmake --build . 131 cmake --build . --target test 121 132 }}} 122 133