Loading Cmake project...
version 1.0.3. Windows 8.1/cygwinSits there "loading" forvever.
works without this line in the Cmake file:
set(CMAKE_CXX_COMPILER "/usr/bin/clang.exe")
worked with 1.0.2. invalidate caches & restart no change.
请先登录再写评论。
Hi!
Please don't change the value of the CMAKE_CXX_COMPILER command manually. It's highly not recommended.
For changing compiler please try to use method #2 from http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_use_a_different_compiler.3F pass
to Preferences (Settings) | Build, Execution, Deployment | CMake | CMake options.
Then corresponding CMake cache variables will be overwritten respectively.
im looking to have an easy way to switch between GCC and Clang.
The idea is to set the variables in the makefile, along these lines: