[CMake] Force appending flags to external projects

2015-06-04 Thread Stefano Bonicatti
Hello, i'm on Windows, i have a CMake script which uses ExternalProject_Add to download and compile some libraries my project needs. The majority of the libraries use CMake themselves. Now what i'm interested in is having these libraries compile with the Visual Studio /MP flag appended to their C++

[CMake] RPATH issues...

2015-06-04 Thread Scott Aron Bloom
Recently, during our install phase, we get the following error message CMake Error at CoreApp/CLI/cmake_install.cmake:45 (file): file RPATH_CHANGE could not write new RPATH: $ORIGIN/lib to the file: /home/marc_local/views/.branch/bin/dbg/Install/./.BluePearlCLI No valid ELF RPATH

[CMake] CTEST_TEST INCLUDE_LABEL does not include labeled tests

2015-06-04 Thread Hansen, Glen A
All, I am running cmake version 3.0.1 In my dashboard CTest script, I'd like to only run the tests marked with the label "CUDA_TEST". When I set up the tests, I set their labels with the following command: set_tests_properties(${testName} PROPERTIES LABELS CUDA_TEST) When I run the tests manu

[CMake] Management of source file lists

2015-06-04 Thread SF Markus Elfring
Hello, CMake provides an interface for sub-projects by the command "add_subdirectory". http://www.cmake.org/cmake/help/v3.2/command/add_subdirectory.html The input and output directories will match by default and will be automatically created by the build system. Each directory will usually handl

Re: [CMake] Visual Studio 2013, increamental builds, intermediate directories and long target names

2015-06-04 Thread Brad King
On 06/01/2015 04:38 PM, david_bjorn...@keysight.com wrote: > Deterministically generating a GUID sounds like a real solution. > >> If I get a chance I'll look at whether CMake can deterministically >> generate a GUID from a hash of the build tree and target names I've done this here: VS: Comput