[CMake] Looking for workaround to try-compile problem for Visual Studio 11 ARM

2012-10-20 Thread Dan Peterson
I am currently experience the issue described in this bug report: http://public.kitware.com/Bug/view.php?id=13511 I cannot generate a project for Visual Studio 11 ARM for my C++ library because try-compile bails with this error: error MSB8022: Compiling Desktop applications for the ARM platform

[CMake] The Visual Studio project file inclusion problems.

2012-10-20 Thread Klaim - Joël Lamotte
I'm use CMake 2.8.9. Here is a summary of my understanding of what problem occurs when you try to add a library that only have a visual studio project file, in your project that is based on CMake. I would like to have confirmations and also maybe some help about the global issues I didn't find a s

Re: [CMake] Setting the argument of INCLUDE_DIRECTORIES from the command line

2012-10-20 Thread David Cole
On Sat, Oct 20, 2012 at 9:54 AM, Rolf Eike Beer wrote: > Olumide wrote: >> Hi - >> >> The CMakeLists.txt file of the project that I am trying to build has the >> following >> >> INCLUDE_DIRECTORIES(${EO_SOURCE_DIR}/src) >> INCLUDE_DIRECTORIES(${EO_SOURCE_DIR}/src/ga) >> INCLUDE_DIRECTORIES(${EO_SO

Re: [CMake] Setting the argument of INCLUDE_DIRECTORIES from the command line

2012-10-20 Thread Rolf Eike Beer
Olumide wrote: > Hi - > > The CMakeLists.txt file of the project that I am trying to build has the > following > > INCLUDE_DIRECTORIES(${EO_SOURCE_DIR}/src) > INCLUDE_DIRECTORIES(${EO_SOURCE_DIR}/src/ga) > INCLUDE_DIRECTORIES(${EO_SOURCE_DIR}/src/utils) > > Is it possible to set ${EO_SOURCE_DIR}

[CMake] Setting the argument of INCLUDE_DIRECTORIES from the command line

2012-10-20 Thread Olumide
Hi - The CMakeLists.txt file of the project that I am trying to build has the following INCLUDE_DIRECTORIES(${EO_SOURCE_DIR}/src) INCLUDE_DIRECTORIES(${EO_SOURCE_DIR}/src/ga) INCLUDE_DIRECTORIES(${EO_SOURCE_DIR}/src/utils) Is it possible to set ${EO_SOURCE_DIR} from the command line, when ru

Re: [CMake] Running library tests under MSVC2010

2012-10-20 Thread Martin Sustrik
On 19/10/12 11:14, Nils Gladitz wrote: I use ${CMAKE_BINARY_DIR} in my RUNTIME_OUTPUT_DIRECTORY and also in my explicit test paths in add_test. I function wrapped the add_executable and add_test calls to take care of it so the test definitions themselves are more compact and readable. Ok. Howe

Re: [CMake] Continue install after a failure

2012-10-20 Thread Andreas Pakulat
Hi, On Sat, Oct 20, 2012 at 11:39 AM, Petr Kmoch wrote: > when running the install step of a CMake-generated buildsystem (i.e. 'make > install' or building the VS project INSTALL), the run terminates after the > first failure (e.g. when it cannot find a file which is to be installed). Is > there

[CMake] Continue install after a failure

2012-10-20 Thread Petr Kmoch
Hi all, when running the install step of a CMake-generated buildsystem (i.e. 'make install' or building the VS project INSTALL), the run terminates after the first failure (e.g. when it cannot find a file which is to be installed). Is there a way to globally change this behaviour so that the error