${UPPER_CMAKE_BUILD_TYPE}} )
I would like for example to use in debug mode, but
CMAKE_BUILD_TYPE=Debug(documentation) not DEBUG
and FindBoost use DEBUG (upperCase) (DEBUG different of Debug in Unix case)
Thank You
--
Nadir SOUALEM
___
Powered by
source/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
Try to remove your CMakeCache ...
--
Nadir SOUALEM
Ingénieur INRIA - Équipe SAGE
Nadir SOUALEM wrote:
Robert Blake wrote:
I'm converting a large mixed C++/C cmake application to C++. The
project has many ".c" files that I would like to compile with the C++
compiler instead of the C compiler. Does anyone know the proper way
to do this in CMake?
Thing
ase keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
Try
SET_SOURCE_FILES_PROPERTIES( file1.c file2.c PROPERTIES LAN
Tyler wrote:
On Tue, Mar 24, 2009 at 04:55:53PM +0100, Nadir SOUALEM wrote:
Thank you Tyler , i use the same method for linking, but i thought there
was a better way than:
if (WITH_OPENGL)
add_definitions (-DOPENGL)
else (WITH_OPENGL)
add_definitions (-DNO_OPENGL)
endif (WITH_OPENGL)
for
Tyler Roscoe wrote:
On Tue, Mar 24, 2009 at 09:18:01AM +0100, Nadir SOUALEM wrote:
I would like to use precompilation directive such NO_OPENGL
Is there a way to use it with this command line ?
cmake -DCMAKE_BUILD_TYPE=Debug
or must i use something like:
cmake -DCMAKE_BUILD_TYPE=Debug
Nadir SOUALEM wrote:
I would like to use precompilation directive such NO_OPENGL
Is there a way to use it with this command line ?
cmake -DCMAKE_BUILD_TYPE=Debug
or must i use something like:
cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_OPENGL=0
with an if statement:
if(NOT WITH_OPENGL
an/listinfo/cmake
try to delete your CMakeCache.txt
$rm CMakeCache.txt
and reload cmake:
cmake -DCMAKE_BUILD_TYPE=Debug
To avoid these manipulations, try to do an Out Source build
--
Nadir SOUALEM
Ingénieur INRIA - Équipe SAGE
___
Powered by www.k
I would like to use precompilation directive such NO_OPENGL
Is there a way to use it with this command line ?
cmake -DCMAKE_BUILD_TYPE=Debug
or must i use something like:
cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_OPENGL=0
with an if statement:
if(NOT WITH_OPENGL)
ADD_DEFINITIONS(-DNO_OPENGL)
endif
Christian Ehrlicher wrote:
Von: Nadir SOUALEM
In my CMakeLists.txt, i use such things like:
FIND_LIBRARY(LIB_UMFPACK LIB_UMFPACK
/opt/UMFPACK5.0.3/build/linux_eclipse/LIB_UMFPACK/${CMAKE_BUILD_TYPE})
So when i run:
cmake -DCMAKE_BUILD_TYPE=Debug
in my CMakeCache.txt, i find
//Path to a
In my CMakeLists.txt, i use such things like:
FIND_LIBRARY(LIB_UMFPACK LIB_UMFPACK
/opt/UMFPACK5.0.3/build/linux_eclipse/LIB_UMFPACK/${CMAKE_BUILD_TYPE})
So when i run:
cmake -DCMAKE_BUILD_TYPE=Debug
in my CMakeCache.txt, i find
//Path to a library.
LIB_UMFPACK:FILEPATH=/opt/UMFPACK5.0.3/bui
11 matches
Mail list logo