[CMake] Where are object files located, and how do I change the default extension?

Alexander Neundorf a.neundorf-work at gmx.net
Sun Mar 29 12:17:50 EDT 2009


On Sunday 29 March 2009, Carlson Daniel wrote:
> Yes, perhaps I already had some cmake generated build tree on my disk when
> i tried this. I will try once again with a clean build tomorrow.

Ok.

> About the path-file: Does this really change any behavior or does it just
> print a nicer output? I have never seen a patch file before..

For now it doesn't change the behaviour yet.
But CMAKE_C_COMPILER_ID will be set to "Diab" then, so cmake can recognize the 
compiler independent from the actual name of the compiler executable.
Using this name compiler-specific setting can be loaded from a file named 
Platform/<operating_system>_Diab_C.cmake (also for CXX).

Alex


More information about the CMake mailing list