Yngve Inntjore Levinsen wrote:
> Hi,
>
> Have a look at the very silly hello world example attached. As I think
> you mentioned, the cmake way to do this is to have targets with specific
> flags in separate folders.
The CMake 2.8.12 way to do this is to use target_compile_options(). Then you
ca
I wrote:
>
> When I generate NMake files for a project, to build on
> Windows, CMAKE_CXX_FLAGS_DEBUG includes /RTC1. That's fine
> for most of the libraries in the build tree, but one uses
> /CLR and that conflicts with /RTC1. Is there a way to update
> the compiler flags for a particular target?
When I generate NMake files for a project, to build on Windows,
CMAKE_CXX_FLAGS_DEBUG includes /RTC1. That's fine for most of the libraries in
the build tree, but one uses /CLR and that conflicts with /RTC1. Is there a
way to update the compiler flags for a particular target?
A search reveals