[CMake] SET_SOURCE_FILES_PROPERTIES different properties for same file, same library

Eric Noulard eric.noulard at gmail.com
Wed May 12 07:58:26 EDT 2010


2010/5/12 Michael Wild <themiwi at gmail.com>:
>
> On 12. May, 2010, at 13:03 , Bryn Lloyd wrote:
>
>> Hi,
>>
>> I would like to cmakeify the UMFPACK/AMD libraries by Timothy Davis.
>>
>> I need to compile the same source file, multiple times, with different flags/defines in order to link the resulting object files into one library.

Looks like an "already crossed" question on the ML:

http://www.cmake.org/pipermail/cmake/2009-December/033813.html

[...]
>
> No need to copy, just CONFIGURE_FILE a wrapper into the build tree which includes the source file. Sure, will give you a little overhead but that's probably negligible.

With hopefully very similar answer :-)


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list