Re: [CMake] CMake CVS gratuitous /bin directory

2006-02-19 Thread Brad King
Brandon J. Van Every wrote: 1.) The error message is worded poorly. 2.) The error is actually referring to the .dll, not the .lib and is due to a bug with trailing slashes in the install destination. 3.) The .lib is mentioned even though it is not actually installed. I've fixed #1 and #2 in

[CMake] how to use CMAKE_CXX_FLAGS_DEBUG and CMAKE_CXX_FLAGS_RELEASE ?

2006-02-19 Thread Alexander Neundorf
Hi, CMAKE_CXX_FLAGS_RELEASE and CMAKE_CXX_FLAGS_DEBUG are appended to CMAKE_CXX_FLAGS if the buildtype is release or debug. Now let's say I'd like to have the following flags: default: -Wall -fno-rtti -O2 -g release: -Wall -fno-rtti -O2 debug: -Wall -fno-rtti -O0 -g I can't set

Re: [CMake] how to use CMAKE_CXX_FLAGS_DEBUG and CMAKE_CXX_FLAGS_RELEASE ?

2006-02-19 Thread Brad King
Alexander Neundorf wrote: Hi, CMAKE_CXX_FLAGS_RELEASE and CMAKE_CXX_FLAGS_DEBUG are appended to CMAKE_CXX_FLAGS if the buildtype is release or debug. Now let's say I'd like to have the following flags: default: -Wall -fno-rtti -O2 -g release: -Wall -fno-rtti -O2 debug: -Wall