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 _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake