[CMake] cmake ignore files
Eric Noulard
eric.noulard at gmail.com
Thu Mar 22 14:00:19 EST 2007
2007/3/22, Teodor Calin Hanchevici <calin.hanchevici at gmail.com>:
> 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
More information about the CMake
mailing list