[CMake] add_definitions
Ingrid Kemgoum
ingrid.kemgoum at gmail.com
Tue Jun 10 10:37:25 EDT 2008
hi,
i'm try to fixed /INCREMENTAL to /INCREMENTAL:NO
i've seen on cmake.org that it's set with ADD_DEFINITIONS.
Despite all that, i still have a project with INCREMENTAL fix to YES
here is my code. It is a hello world project (i'm just starting :) )
project (HELLO)
set(CMAKE_USE_RELATIVE_PATH "true")
SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
add_definitions(/INCREMENTAL:NO)
# Recurse into the "Hello" and "Demo" subdirectories. This does not
actually
# cause another cmake executable to run. The same process will walk through
# the project's entire directory structure.
subdirs(Hello Demo)
thanks very much
Ingrid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080610/fd64bb05/attachment-0001.htm>
More information about the CMake
mailing list