/Ob1 /DNDEBUG" )
.. add the library or target
SET(CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE_SAVED} )
-Original Message-
From: James Bigler [mailto:[EMAIL PROTECTED] Sent: Tuesday, June
12, 2007 1:38 PM
To: Rob Mathews
Cc: cmake@cmake.org
Subject: Re: [CMake] Set different compilation flags for
June 12,
2007 1:38 PM
To: Rob Mathews
Cc: cmake@cmake.org
Subject: Re: [CMake] Set different compilation flags for specific file
Wouldn't that set it for all the source files in the project? I just
want to override 1 file amongst many others.
Rob Mathews wrote:
Why wouldn't you simply
X_FLAGS_RELEASE for the rest of the system
build:
SET(CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE_SAVED} )
-Original Message-
From: James Bigler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 12, 2007 2:09 PM
To: Rob Mathews
Cc: cmake@cmake.org
Subject: Re: [CMake] Set different
G" )
(or whatever your particular flags are)
?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
James
Bigler
Sent: Tuesday, June 12, 2007 1:14 PM
To: cmake@cmake.org
Subject: [CMake] Set different compilation flags for specific file
I have a file that
mes Bigler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 12, 2007 1:38 PM
To: Rob Mathews
Cc: cmake@cmake.org
Subject: Re: [CMake] Set different compilation flags for specific file
Wouldn't that set it for all the source files in the project? I just
want to
override 1 file amongst many other
Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James
Bigler
Sent: Tuesday, June 12, 2007 1:14 PM
To: cmake@cmake.org
Subject: [CMake] Set different compilation flags for specific file
I have a file that doesn't compile properly with certain optimization
cmake@cmake.org
Subject: [CMake] Set different compilation flags for specific file
I have a file that doesn't compile properly with certain optimization
flags that
I wish to use on the rest of my system. I poked around the wiki and the
help
file, but I can't find any information on how
I have a file that doesn't compile properly with certain optimization flags that
I wish to use on the rest of my system. I poked around the wiki and the help
file, but I can't find any information on how to do this.
According to the documentation SET_SOURCE_FILES_PROPERTIES COMPILE_FLAGS only