[CMake] bug or feature with SET_SOURCE_FILES_PROPERTIES?
Brad King
brad.king at kitware.com
Tue Nov 22 13:42:18 EST 2005
Prakash Punnoor wrote:
> sub-optimal is the fact that cmake puts the flag at the beginning -
> before the other cflags. Usually if I want to explicitly use above I
> want to override some default flags - but the exact opposite is the
> case. As the flag is at the beginning it possibly get overridden by
> others. :-/
>
> So is there a special reason for this? If not I'd like to have the flags
> placed at the very end if I specify them to be sure that they get
> respected. (An idea for improvement would probably be if the user could
> select where the flags goes - beginning or end.)
I don't know if there is a reason or not but we could have two other
attributes like "COMPILE_FLAGS_PREFIX" and "COMPILE_FLAGS_SUFFIX".
Please submit a feature request here:
http://www.cmake.org/Bug
Thanks,
-Brad
More information about the CMake
mailing list