Changes between Version 33 and Version 34 of CMakeModularizationStatus


Ignore:
Timestamp:
May 9, 2012, 10:06:44 PM (10 years ago)
Author:
purplekarrot
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CMakeModularizationStatus

    v33 v34  
    109109{{{
    110110#!sh
    111 mkdir ../build
     111mkdir build
    112112}}}
    113113
    114 Finally, configure, build, and test:
     114Call 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
     117If everything goes well, the first call to cmake will end with an error message saying "Initial pass successfully completed, now run again!".
    115118
    116119{{{
    117120#!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
     121cd build
     122cmake ..
     123cmake ..
     124}}}
     125
     126You can now build and test:
     127
     128{{{
     129#!sh
     130cmake --build .
     131cmake --build . --target test
    121132}}}
    122133