[CMake] CMake 2.8.4-rc2 ready for testing!
Johan Björk
phb at spotify.com
Tue Feb 1 03:56:03 EST 2011
Hey David,
What is the intended behavior when upgrading CMake on a OSX Machine?
It seems that currently, generated projects will keep a reference to
the resolved symlink, ie
/Applications/CMake\ VERSION/Contents/bin/..., causing confusing errors such as
Johan-Bjorks-MacBook-Pro-2:build-Debug-normal phb$ cmake --build .
No such file or directory
CMake Error: Generator: execution of make failed. Make command was:
/Applications/CMake\
2.8-3.app/Contents/bin/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild
-project spcore.xcodeproj build -target ALL_BUILD -configuration Debug
It seems only some of the variables in CMakeCache is updated to
reflect the new cmake path
CMAKE_COMMAND:INTERNAL=/Applications/CMake 2.8-4.app/Contents/bin/cmake
CMAKE_CPACK_COMMAND:INTERNAL=/Applications/CMake 2.8-4.app/Contents/bin/cpack
CMAKE_CTEST_COMMAND:INTERNAL=/Applications/CMake 2.8-4.app/Contents/bin/ctest
CMAKE_ROOT:INTERNAL=/Applications/CMake 2.8-4.app/Contents/share/cmake-2.8
others are not
CMAKE_MAKE_PROGRAM:FILEPATH=/Applications/CMake
2.8-3.app/Contents/bin/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild
MAKECOMMAND:STRING=/Applications/CMake\
2.8-3.app/Contents/bin/cmakexbuild -project spcore.xcodeproj build
-target ALL_BUILD -configuration ${CTEST_CONFIGURATION_TYPE}
CMAKE_BUILD_TOOL:INTERNAL=/Applications/CMake
2.8-3.app/Contents/bin/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild/cmakexbuild
CMAKE_EDIT_COMMAND:INTERNAL=/Applications/CMake 2.8-3.app/Contents/bin/ccmake
(No clue how it added all those copies of cmakexbuild, I ran my
dashboard a few times before realizing what was wrong)
/Johan
/Johan
More information about the CMake
mailing list