[CMake] bug or feature with SET_SOURCE_FILES_PROPERTIES?

Brad King brad.king at kitware.com
Tue Nov 22 11:40:06 EST 2005


Prakash Punnoor wrote:
>       SET(TEST_SRC test/test${TEST}.c)
>       SET_SOURCE_FILES_PROPERTIES(${TEST_SRC} PROPERTIES COMPILE_FLAGS
> "-Wno-unused")
[snip]
>     SET_SOURCE_FILES_PROPERTIES(test/testcpp.cc PROPERTIES COMPILE_FLAGS
> "-Wno-unused")

One version has a .c and the other has a .cc suffix on the file.

-Brad


More information about the CMake mailing list