[CMake] Changes to CMAKE_CXX_FLAGS_RELEASE not reflected in GUI
Nils Gladitz
nilsgladitz at gmail.com
Thu Jul 23 09:00:04 EDT 2015
On 07/23/2015 02:22 PM, Chuck Atkins wrote:
> You can update the cache entry with the alternate signature for set:
>
> set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -xHost" CACHE
> STRING "Flags used by the compiler during release builds." FORCE)
This would keep appending " -xHOST" to the variable every time cmake is
invoked which might not be desirable either.
Nils
More information about the CMake
mailing list