Adam Weiss
2009-01-19 20:02:34 UTC
I couldn't find an answer to this, so I thought I should ask.
I have a set of source files that are compiled and built into a library.
Works great.
Now I want to recompile those same files with a compiler flag added into
another library. Don't ask, this is how it has to be.
I tried doing add_library, then set_source_files_properties, then
add_library but then the flag is set for both.
I would like to keep it all inside of one CMakeLists.txt file, but I might
be able to work it out another way.
Thanks for any help,
Adam
I have a set of source files that are compiled and built into a library.
Works great.
Now I want to recompile those same files with a compiler flag added into
another library. Don't ask, this is how it has to be.
I tried doing add_library, then set_source_files_properties, then
add_library but then the flag is set for both.
I would like to keep it all inside of one CMakeLists.txt file, but I might
be able to work it out another way.
Thanks for any help,
Adam