Hello,
Im trying to configure and build a project with the Xcode generator and the bullseye coverage tool. Without the bullseye coverage tool it works fine but if I want to use it I had to do the following workaround: http://www.bullseye.com/help/tool-xcode.html In short words, the clang and clang++ ExecPath would be changed from clang => $(PLATFORM_DEVELOPER_BIN_DIR)/clang and clang++ => $(PLATFORM_DEVELOPER_BIN_DIR)/clang++ Before I made the changes, CMake finds clang/clang++ under /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch ain/usr/bin/clang, with the changes CMake tries to find clang/clang++ under /Applications/Xcode.app/Contents/Developer/usr/bin/clang which doesnt exist. And I got the following error: -- The C compiler identification is unknown -- The CXX compiler identification is unknown CMake Error at CMakeLists.txt:3 (project): No CMAKE_C_COMPILER could be found. CMake Error at CMakeLists.txt:3 (project): No CMAKE_CXX_COMPILER could be found. -- Configuring incomplete, errors occurred! However, without the changes I could build the project with cmake build . -- -showBuildSettings which gives me the following information . . . PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Develop er/SDKs PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform . . . Why doesnt find CMake Xcode with the modified path? Is there also a way to set generator specific things during configure time? At the moment it is only possible with the build command: cmake -build . -- PLATFORM_DEVELOPER_BIN_DIR=PointToSomething which sets the build settings for Xcode Thanks in advance Best Regards Roman
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers