[CMake] Configuration

Alexander Neundorf a.neundorf-work at gmx.net
Thu Jul 26 10:40:38 EDT 2007


Hi Alex,

On Thursday 26 July 2007 10:30, Camek, Alexander wrote:
...
> In my configure.h.cmake: #cmakedefine SYSTEM_NAME
> In my CMakeLists.txt: CHECK(system SYSTEM_NAME)
> 			    CONFIGURE_FILE(configure.h.cmake configure.h)
>
> Is something like this possible?

Did you have a look at ${CMAKE_SYSTEM_NAME} ?

Alex


More information about the CMake mailing list