[Cmake] Determining host compiler/OS from CMake

Andy Cedilnik Andy.Cedilnik at kitware.com
Mon Mar 4 14:25:31 EST 2002


At 02:16 PM 3/4/2002 -0500, Bill Hoffman wrote:
>I have just added per file flags with the command:
>
>SOURCE_FILES_FLAGS("-Dfoobar" file1 file2 ...)

Huh, I don't like the fact that you are using -Dfoobar again.
As you said it yourself, it would be better to say something like
SOURCE_FILES_FLAGS(DEFINE foobar file1 file2)

                 Andy




More information about the CMake mailing list