[CMake] Checkout specific revision from svn with ExternalProject_Add

2013-05-21 Thread Jens Auer
Hi, I am trying to checkout a specific revision of external dependencies from our repositoty using the SVN_REPOSITOTY parameter of ExternalProject_Add, but always get the following error: 2> Creating directories for 'Hippomocks' 2> Performing download step (SVN checkout) for 'Hippomocks' 2> A

Re: [CMake] CMake stripping "/SUBSYSTEM" out of LINK_FLAGS

2011-11-11 Thread Jens Auer
Hi, > > it reaches the linker. I can't simply add WIN32 to > add_executable() > > because I want debug builds to use the console sub-system > and release > > builds to use the windows subsystem. I have three questions: I don't have a solution in cmake, but I worked around this using code fr

Re: [CMake] VS2005: CMAKE_CXX_FLAGS not used when project() is placed after definition

2011-09-21 Thread Jens Auer
> The PROJECT() command has significant side effects, e.g. for > C++ projects, it loads Modules/CMakeCXXInformation.cmake containing: > > SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_INIT}" CACHE STRING > "Flags used by the compiler during all build types.") > > If CMAKE_CXX_FLAGS has no value i

[CMake] VS2005: CMAKE_CXX_FLAGS not used when project() is placed after definition

2011-09-20 Thread Jens Auer
Hi, I encountered a problem with CMAKE_CXX_FLAGS and the place in the CMakeLists.txt where the project() command is placed. Consider two CMakeLists.txt files, the first containing SET(CMAKE_CXX_FLAGS "/EHa /O2") project(CMAKE_BUG) add_executable(testEHa "c:/work/tmp/cma

[CMake] Solution folder property does not work for external projects in cmake 2.8.3

2010-11-04 Thread Jens Auer
Hi, I just downloaded the new cmake 2.8.3 release and found a bug. We include several external VC++ projects in our solution and group them into folders using the old SOLUTION_FOLDER patch. When I checked the new property FOLDER in cmake 2.8.3, it turns out that it works for all projects except th

[CMake] Dependencies to generated file across libraries

2010-01-25 Thread Jens Auer
Hi, I am trying to port a project from VC++ to a cmake build-system. Unfortunately, the project has a little problem: There are several libraries and some of them generate files using uic (Qt3). Cmake can handle this pretty well, but in one case, there are two libraries which include generated hea

[CMake] Output directory of QT_WRAP_UI

2010-01-25 Thread Jens Auer
Hi, Is there a way to specify the output directory of QT_WRAP_UI where the generated header files will be put? I am porting a VC++-based project and files are included with the relative paths, so if the ui file is placed in Lib1/dir1/file1.ui I want the output generated in CMAKE_BINARY_DIR/lib1/di