[CMake] CMAKE_RUNTIME_OUTPUT_DIRECTORY cannot be overridden?

2012-07-10 Thread Ateljevich, Eli
My expectation from the documentation was that runtime output directories are initialized to CMAKE_RUNTIME_OUTPUT_DIRECTORY, but I took that to mean they could be overridden. In the code below I attempt to set the RUNTIME_OUTPUT_DIRECTORY property to ${CMAKE_CURRENT_BINARY_DIR} for some tests.

[CMake] ExternalProject_Add with gtest and vs2012

2012-07-10 Thread Knox, Kent
Hi all~ I would like to add gtest to my project with ExternalProject_Add(), and I'm using the vs2012 RC compiler to compile everything. I'm getting compile errors related to gtest using tuples: 4>H:\perforce\bin\vs11x64.SuperBuild\external\gtest\src\gTest\include\gtest/gtest-printers.h(550):

Re: [CMake] Running ctest tests from the test source directory

2012-07-10 Thread Ateljevich, Eli
Thanks. Embarrassed, but happy. -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Rolf Eike Beer Sent: Monday, July 09, 2012 11:52 PM To: cmake@cmake.org Subject: Re: [CMake] Running ctest tests from the test source directory Ateljevich, Eli w

[CMake] Complete Rebuild Bug

2012-07-10 Thread owen.arnold
Hi, Our windows builds are affected by this bug. http://connect.microsoft.com/VisualStudio/feedback/details/649139/vs2010-does-complete-rebuild-based-on-completely-unrelated-file Which means that there is a lot of unnecessary building going on. Since disabling the anti-virus is not an option,

[CMake] cmake on Windows 7 with nmake and intel compiler

2012-07-10 Thread Dominik Szczerba
I am trying to compile my project with the Intel compiler on Windows 7, MSVC2010. I am doing: > set CC=C:/Intel/ComposerXE-2011/bin/intel64/icl.exe > set CXX=C:/Intel/ComposerXE-2011/bin/intel64/icl.exe > cmake -G "NMake Makefiles" -DCMAKE_C_COMPILER=C:/Intel/Co mposerXE-2011/bin/intel64/icl.exe -

[CMake] Quetsion about installing python modules in the correct place

2012-07-10 Thread Hänel Nikolaus Valentin
Hi, does anyone have snippets to use CMake to install python modules in the correct place, such that they will be found automatically? Thanks! V- -- Valentin Hänel Scientific Software Developer Blue Brain Project http://bluebrain.epfl.ch/ -- Powered by www.kitware.com Visit other Kitware ope

Re: [CMake] Problems with MSVC 2010 generator

2012-07-10 Thread Dominik Szczerba
> Actually, the MS compilers distinguish <> and "" just fine (at least > in my VS 2005 and VS 2010 installation). Dominik, do you perhaps > specify the path to your Math.h in include_directories()? > > Petr Yes, I do specify some include directories. One of them is my project's root, where the sai

Re: [CMake] How can I mimic a second CMAKE_RUNTIME_OUTPUT_DIRECTORY for the tests?

2012-07-10 Thread Patrick Spendrin
Am 10.07.2012 03:35, schrieb Ateljevich, Eli: > My source and tests are stored separately in a quasi-parallel arrangement: > > /proj > > /build > > /bin # CMAKE_RUNTIME_OUTPUT_DIRECTORY > >/mod1 # Build directory > >/mod2 > > /test > > /mod1 > >