Ramazan Girgin wrote:
I insert
SET(CMAKE_CXX_COMPILER_WORKS 1) in CMakeTestCXXCompiler.cmake file
and
SET(CMAKE_C_COMPILER_WORKS 1) in CMakeTestCCompiler.cmake file
for disable testing of compiler.
After that cmake generated make file correctly and i compiled may
application.
Another temp solution may be put this lines int to CMakeLists.txt file.
But this is temp solution.
May be any bug in cmake ?
I found something about cl.exe gives errors like this if more than one
cpu in computer.It may be related to this. I have 4 core cpu too.
http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/b1d1bceb-06b6-47ef-a0ea-23ea752e0c4f
I would not trust the builds on this machine. Other try-compile type
things are going to fail, and result in bad configurations.
C:\Users\ramazan.girgin\Desktop\ma3BuildManager\New
folder\CMakeFiles\CMakeTmp\testCCompiler.c : fatal error C1033:
cannot open
program database ''
You should try this:
cmake --debug-trycompile
Then open the solution that cmake creates in the CMakeFiles/CMakeTmp
directory and try it from the IDE. VS runs some sort of process to
manage the pdb files, if that process gets created with incorrect
permissions things do not work correctly....
Anyway, I don't think this is a CMake issue, but I would predict more
issues on the machine with the compiler... :(
-Bill
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake