> > 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
>
> This is the first thing I tried, however it doesn't seem to
> 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
This is the first thing I tried, however it doesn't seem to work.
I see
On Tue, Dec 01, 2009 at 10:10:05PM +, 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
I am building a project that has a single managed c++ target, and I need to
remove a compile flag for only this one target, since it conflicts with the -clr
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 t