O/H Bob Paddock ??:
On Sunday 22 June 2008 03:25:21 pm Bill Hoffman wrote:
Don't use add_definitions for compiler flags. Use CMAKE_CXX_FLAGS or
CMAKE_C_FLAGS.
Can you show an example please?
When I try these:
SET (CMAKE_CXX_FLAGS_DEBUG "-Wall" )
SET (CMAKE_CXX_FLAGS_RELEASE "-Wa
On Sunday 22 June 2008 03:25:21 pm Bill Hoffman wrote:
> Don't use add_definitions for compiler flags. Use CMAKE_CXX_FLAGS or
> CMAKE_C_FLAGS.
Can you show an example please?
When I try these:
SET (CMAKE_CXX_FLAGS_DEBUG "-Wall" )
SET (CMAKE_CXX_FLAGS_RELEASE "-Wall" )
SET (CMAKE_C_FLAGS_DEBUG "
Bill Hoffman schrieb:
Christian Ehrlicher wrote:
Hi,
We've something like this in one of our scripts:
add_definitions(-EHsc)
and we add a .rc - file to the sources.
Now rc.exe fails because of unknown command '-EHsc' because
add_defintions() is also dded to RC_FLAGS... :(
[ 85%] Building RC
Christian Ehrlicher wrote:
Hi,
We've something like this in one of our scripts:
add_definitions(-EHsc)
and we add a .rc - file to the sources.
Now rc.exe fails because of unknown command '-EHsc' because
add_defintions() is also dded to RC_FLAGS... :(
[ 85%] Building RC object ksirk/ksirk/CMa
Hi,
We've something like this in one of our scripts:
add_definitions(-EHsc)
and we add a .rc - file to the sources.
Now rc.exe fails because of unknown command '-EHsc' because
add_defintions() is also dded to RC_FLAGS... :(
[ 85%] Building RC object ksirk/ksirk/CMakeFiles/ksirk.dir/ksirk.res