[CMake] CMake 2.8.10 with Xcode 4.4.1
Nicholas Yue
yue.nicholas at gmail.com
Mon Nov 19 05:25:14 EST 2012
Hi,
I have a simple CMakeLists.txt file compiling a single source via
the generator Xcode
I have been following recent conversation about CMake 2.8.8/2.8.9
having problem with Xcode 4.4.1 and read that the problem might be
resolved in CMake 2.8.10
I am on OS X 10.7.4, I have no problem building with the standard
Makefile generator or the Eclipse generator.
When I tried to build the generated project with xcodebuild, I get
the following
====================
=== BUILD AGGREGATE TARGET ZERO_CHECK OF PROJECT Project WITH THE
DEFAULT CONFIGURATION (Debug) ===
Check dependencies
PhaseScriptExecution "CMake Rules"
Project.build/Debug/ZERO_CHECK.build/Script-88F80E18C3E647F2A9484A6C.sh
cd /Users/nicholas/temp/xcode
/bin/sh -c
/Users/nicholas/temp/xcode/Project.build/Debug/ZERO_CHECK.build/Script-88F80E18C3E647F2A9484A6C.sh
echo ""
make -f /Users/nicholas/temp/xcode/CMakeScripts/ReRunCMake.make
make[1]: *** No rule to make target
`/Users/nicholas/temp/xcode/CMakeFiles/2.8.10/CMakeCCompiler.cmake',
needed by `CMakeFiles/cmake.check_cache'. Stop.
make: *** [/Users/nicholas/temp/xcode/CMakeFiles/ZERO_CHECK] Error 2
Command /bin/sh failed with exit code 2
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution "CMake Rules"
Project.build/Debug/ZERO_CHECK.build/Script-88F80E18C3E647F2A9484A6C.sh
(1 failure)
====================
Regards
--
Nicholas Yue
Graphics - RenderMan, Visualization, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools
More information about the CMake
mailing list