Will this work in Visual Studio? How does CMake know to place the
appropriate include directories in the appropriate configuration?
I also was not able to find CMAKE_BUILD_STATUS in the 2.6 documentation.
Where can I read about this variable?
On Sun, Dec 21, 2008 at 1:49 PM, Andrey Sploshnov <
ic
May be you need something like this?
include_directories (C:\includes\foo\all)
if (CMAKE_BUILD_STATUS STREQUAL "Debug")
include_directories (C:\includes\foo\debug)
elseif (CMAKE_BUILD_STATUS STREQUAL "Release")
include_directories (C:\includes\foo\release)
endif (CMAKE_BUILD_STATUS STREQU
On 20. Dec, 2008, at 1:09, Brad Aisa wrote:
I would like to create a target that will copy (or link) a big whack
of include files defined in my project to a local /include folder.
(They start life in a bunch of subfolders, and some of them are
generated programmatically during the build.)