[CMake] bug or feature with SET_SOURCE_FILES_PROPERTIES?
Prakash Punnoor
lists at punnoor.de
Tue Nov 22 11:49:48 EST 2005
Brad King schrieb:
> 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.
Sorry I don't understand the problem. Will above only work for c++
sources and not for c sources, or what do you want to tell me?
Prakash
More information about the CMake
mailing list