On Fri, May 4, 2012 at 12:39 PM, Ming wrote:
> Hello CMake community,
>
> I have experience using CMake to generate sime cuda-enabled executables
> (where the cpp’s reside in one folder, etc.).
> I am attempting to move a large project that utilizes CMake, from just c++
> to CUDA enabled c++.
>
I am driving invocations of cmake with another tool, and I would like to
pass the equivalent of -jN for the "cmake --build" step, but I don't
seem to be about to find out what generator will be used, which makes it
hard to even write code to generate the right command line options. Can
anyone hel
I need to preserve the built-but-not-yet-installed state of some
projects, and the tool I'm driving CMake with moves the result of every
build step from a read-write build directory into a readonly cache. The
result is that the generated cmake_install.cmake files no longer work,
because they are
Put an:
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
endif()
guard around the set_property call.
Tim
- Original Message -
From: "Robert Dailey"
To: "CMake ML"
Sent: Friday, May 4, 2012 4:16:47 PM
Subject: [CMake] Setting COMPILE_FLAGS property on a target in only debug?
I'm doing
2012/5/4 Ming :
> Hello CMake community,
>
> I have experience using CMake to generate sime cuda-enabled executables
> (where the cpp’s reside in one folder, etc.).
> I am attempting to move a large project that utilizes CMake, from just c++
> to CUDA enabled c++.
>
> It is a project that generates
I'm doing the following:
set_property( TARGET ${target_name} APPEND_STRING PROPERTY
COMPILE_FLAGS "/ZI /Gy "
)
However this applies to all configurations. I want to only set this
compiler flag for debug builds, not release. How can I do this?
--
Powered by www.kitware.com
Visit other Kitware op
Hello CMake community,
I have experience using CMake to generate sime cuda-enabled executables (where
the cpp’s reside in one folder, etc.).
I am attempting to move a large project that utilizes CMake, from just c++ to
CUDA enabled c++.
It is a project that generates a large set of libraries
This is more or less a design question. I use CMake to generate visual
studio projects for a collection of 3 subsystems (components). Each
subsystem has any number of separate projects (DLLs, Executables, etc).
Each subsystem defines its own doxygen configuration file which is used to
generate tagf