On Tue, Dec 01, 2009 at 10:10:05PM +0000, Daniel Nelson wrote:
> flag.  Is it possible to remove a flag from the default CMAKE_CXX_FLAGS 
> variable
> only for this target?  Or do I have to remove the flag from the default flags

I believe CMAKE_CXX_FLAGS is consulted each time an add_library() or
add_executable() call is processed. So you should be able to remove the
flag, add the singleton library/executable, and put the flag back.

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