2007/3/22, Teodor Calin Hanchevici <[EMAIL PROTECTED]>:
Hi,
I have some files that have to be built on a specific platform only. I know
that I can define the sources using SET and IF, but I was wondering if there
is a simpler option

I can't really think about something simpler than

IF (CMAKE_SYSTEM_NAME STREQUAL "YouSystemName")
do specific think
ENDIF (CMAKE_SYSTEM_NAME STREQUAL "YouSystemName")

What do you mean by "simpler"
CMake cannot guess what file to compile or not?


--
Erk
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to