Re: [cmake-developers] Generator expressisons in target properties

2012-10-28 Thread Stephen Kelly
Stephen Kelly wrote: find_pacakge(Qt5Widgets REQUIRED) add_executable(foo main.cpp) target_link_libraries(foo Qt5::Widgets) Oops, I meant add_executable(foo WIN32 main.cpp) here. For each target to build: compute the link closure For each build-property that has an

Re: [CMake] FrameworkCMakeToolkit

2012-10-28 Thread Moreland, Kenneth
This sounds interesting. You might consider adding a page to the cmake wiki to make it easier to find. You could make a link off this page listing contributions from users. http://www.cmake.org/Wiki/CMake_User_Contributed_Macros -Ken Sent from my iPad so blame autocorrect. On Oct 27, 2012,

[CMake] CMakeLists.txt options.

2012-10-28 Thread Brad Bell
The CMakeLists.txt command option( option_variable help string describing option [initial value] ) Provides an option for the user to select as ON or OFF; i.e., a BOOL. How does one provide an option for the user to select that is a PATH ? -- Powered by www.kitware.com Visit other

Re: [CMake] CMakeLists.txt options.

2012-10-28 Thread Alexander Neundorf
On Sunday 28 October 2012, Brad Bell wrote: The CMakeLists.txt command option( option_variable help string describing option [initial value] ) Provides an option for the user to select as ON or OFF; i.e., a BOOL. How does one provide an option for the user to select that is a PATH ?

[CMake] Multiple executables per project?

2012-10-28 Thread Rui Maciel
I'm developing a software package which consists of a GUI application and a command line program. Both programs share common libraries, and essentially they only differ in which UI components each program uses. I would like to use CMake to handle the build project of this package, but as I

Re: [CMake] Multiple executables per project?

2012-10-28 Thread Andreas Pakulat
Hi, On Sun, Oct 28, 2012 at 10:09 PM, Rui Maciel rui.mac...@gmail.com wrote: I'm developing a software package which consists of a GUI application and a command line program. Both programs share common libraries, and essentially they only differ in which UI components each program uses. I

[CMake] SWIG_ADD_MODULE and other files on mingw

2012-10-28 Thread Kris Thielemans
Hi I'm using cmake to call swig to generate my a python interface to my C++ library. I crafted the following CMakeLists.txt from the FAQ: FIND_PACKAGE(SWIG REQUIRED) INCLUDE(${SWIG_USE_FILE}) FIND_PACKAGE(PythonLibs) INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_PATH}) SET_SOURCE_FILES_PROPERTIES(stir.i

Re: [CMake] FrameworkCMakeToolkit

2012-10-28 Thread Romain LEGUAY
Thank you Ken ! I just create an account on the cmake wiki so in few days the world’s going to know the greatness of FrameCMakeToolkit :-p! Romain De : Moreland, Kenneth [mailto:kmo...@sandia.gov] Envoyé : dimanche 28 octobre 2012 15:01 À : Romain LEGUAY Cc : cmake@cmake.org Objet

[Cmake-commits] CMake branch, next, updated. v2.8.9-1226-g40eca8d

2012-10-28 Thread Rolf Eike Beer
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 40eca8d5b9132059d2c9a3ab07b91be7dbce822a (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.9-598-g2c8286e

2012-10-28 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 0bddb7a..3dd42a9 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 9) -set(CMake_VERSION_TWEAK 20121028