Re: [CMake] Set different compilation flags for specific file

2007-06-12 Thread James Bigler
/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

Re: [CMake] Set different compilation flags for specific file

2007-06-12 Thread James Bigler
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

RE: [CMake] Set different compilation flags for specific file

2007-06-12 Thread Rob Mathews
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

Re: [CMake] Set different compilation flags for specific file

2007-06-12 Thread James Bigler
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

RE: [CMake] Set different compilation flags for specific file

2007-06-12 Thread Rob Mathews
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

Re: [CMake] Set different compilation flags for specific file

2007-06-12 Thread James Bigler
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

RE: [CMake] Set different compilation flags for specific file

2007-06-12 Thread Rob Mathews
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

[CMake] Set different compilation flags for specific file

2007-06-12 Thread James Bigler
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