[Cmake] cmake vs. CMakeSetup

Cross, Geoff (CRD) crossge at crd.ge.com
Wed May 23 15:22:19 EDT 2001


I just did an update on my CMake distribution, and my cron-build is failing.

This is what I used to have:

$SOURCES/CMake/Source/CMakeSetupCMD.exe CMakeLists.txt -DSW  \
                    -H$SOURCES -S$SOURCES -O$BUILD -B$BUILD

This is what I have now:

cmake $SOURCES -S$SOURCES -O$BUILD -B$BUILD -H$SOURCES

And this is the error I now get:

CMake Error: Error splitting file name off end of path:
"c:/geoff/cronbuild/vxl_sources/CMake/Source/cmake.exe"
CMake Error: Could not find CMAKE_ROOT !!!

Running CMakeSetup works fine, but isn't much use in a cron-build.


Geoff.

P.S. It would be very convenient if a command-line run didn't generate MFC error boxes...




More information about the CMake mailing list