On Mon, Jun 22, 2009 at 01:11:25PM +0200, [email protected] wrote:
> I have two projects in my solution where Project B depends on Project A.
> Unfortunately Project B requires completely different properties. I
> know that I can use SET_TARGET_PROPERTIES to add my specific compiler
> and linker flags but how can I remove specific compiler and linker
> flags for only target B?

I would use get_target_properties(), followed by string(REPLACE ...),
followed by set_target_properties(). Will that strategy work for you?

tyler
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to