Re: [CMake] ExternalProject_Add - Automatic Incremental Rebuilds + Add Sources to IDE

2013-09-22 Thread Aaron Nowack
I finally got this working, including the sources from both projects and simultaneous building. It was simpler than I thought, and as similar to how you originally suggested. I created a superbuild CMakeLists.txt which just contains the add_subdirectory(libs) and add_subdirectory(apps). I

[CMake] Adding unused files to the generated project

2013-09-22 Thread Lucas Soltic
Hello, Is it possible to add files that do not belong to any add_executable/library so that they're visible in the IDE but not used for building? That way I could easily work with the generated project on any useful file, even if it's not directly used to produce binaries (for example, editing

Re: [CMake] Adding unused files to the generated project

2013-09-22 Thread Jean-Christophe Fillion-Robin
Hi Lucas, You could use the source_group command. See http://www.cmake.org/cmake/help/v2.8.11/cmake.html#command:source_group For example of usage, see [1] Hth Jc [1] https://github.com/commontk/CTK/blob/dcf7db15f2b43507395316dd680dba5999f886b4/CMake/ctkMacroBuildLib.cmake#L117-127 On Sun,

[Cmake-commits] CMake branch, master, updated. v2.8.11.2-858-g475635e

2013-09-22 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index d8eb196..8a1128f 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -2,5 +2,5 @@ set(CMake_VERSION_MAJOR 2) set(CMake_VERSION_MINOR 8) set(CMake_VERSION_PATCH 11) -set(CMake_VERSION_TWEAK 20130922