Reggie Burnett wrote:
> What’s the best approach to disabling optimizations for a particular
> project?  We still want to use release settings just with optimizations
> turned off and then just for that single project.

Unfortunately there is no good approach for this right now.  You can try
removing optimization flags from CMAKE_C_FLAGS_RELEASE and
CMAKE_CXX_FLAGS_RELEASE with STRING(REGEX).  If your one target is in
its own subdirectory you don't have to worry about affecting other
targets with this change.

-Brad
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to