Re: [cmake-developers] Target usage requirements and conventions

2012-04-30 Thread Brad King
On 4/29/2012 11:02 AM, Stephen Kelly wrote: The topic of 'target usage requirements' has come up several times. It's something I'd like to work further towards in CMake 2.8.9. I have created a wiki page on the KDE wiki (there for my convenience mostly) so that we can discuss the design,

[cmake-developers] [CMake 0013177]: File matching patterns not functional when installing headers

2012-04-30 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13177 == Reported By:Braden McDaniel Assigned To:

[cmake-developers] Setting the INCLUDE_DIRECTORIES property before and after a target after 9106b564

2012-04-30 Thread Raphael Kubo da Costa
While packaging CMake 2.8.8 for FreeBSD, an old port of lprof [1] started failing to build after some include headers were not found. The relevant CMakeLists does the following: add_library(foo foo.c) set_directory_properties( PROPERTIES INCLUDE_DIRECTORIES ${SOME_DIRECTORY}) foo.c

Re: [CMake] Dependencies between independent projects

2012-04-30 Thread Petr Kmoch
Hi Alexander, I had to create a very similar setup at work. My solution was to define a global property for the list of projects to generate. There is a top level CMakeLists.txt file which doesn't define any targets, but just includes all subdirectories as necessary. In pseudo-code, my solution

Re: [CMake] Dependencies between independent projects

2012-04-30 Thread Arnault Christian
Hi We have been using a configuration system named CMT which exactly cope with this issue It used to be directly based on pure Make files for the build aspect. Nowadays, we are converting the build part to using CMake, while preserving te general configuration properties. In fact, we do

Re: [CMake] Add IDE-specific projects

2012-04-30 Thread Klaim - Joël Lamotte
On Mon, Apr 30, 2012 at 13:56, Michael Wild them...@gmail.com wrote: You are looking for the MSVC [1] variable and the include_external_msproject [2] command Thank you very much, I can't believe I missed this one! Joël Lamotte -- Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] double quotes being removed Windows removing compiler flags

2012-04-30 Thread Petr Kmoch
Hi Luke. Quotes are generally a pain. I haven't tested it, but I would try putting the option specification in quotes (for cmake), like this: set (CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE} /MyCustomTool:\$(SolutionDir)\) Petr On Mon, Apr 30, 2012 at 11:36 AM, Luke Snape

[CMake] Visual Studio project groups not working after conversion

2012-04-30 Thread Klaim - Joël Lamotte
Hi, I used the following code to add protobuf project to my solution: $-- script --$ if( MSVC ) include_external_msproject( libprotobuf ${CMAKE_CURRENT_SOURCE_DIR}/protobuf/vsprojects/libprotobuf.vcproj ) else() message( No project file set for protobuf for this

Re: [CMake] Eclipse project and MKL libraries

2012-04-30 Thread Eric Noulard
2012/4/30 Giovanni Azua brave...@gmail.com: Hello, Hi, Please be careful not to drop the CMake ML address. Now I am completely set on Mac OS X. I can Compile/Run/Debug successfully. Basically I had to fix the environment settings of the Run Configuration to include in-place the

[CMake] link error in Visual Studio when using boost from CMake

2012-04-30 Thread Hui Wang
Hello, I'm using CMake generated Visual Studio solution, and I added boost with find_package(Boost), before that I used commands: set(Boost_USE_STATIC_LIBS ON) set(Boost_USE_MULTITHREADED ON) set(Boost_USE_STATIC_RUNTIME OFF) after that I used commands: include_directories(${Boost_INCLUDE_DIR})

Re: [CMake] [Boost-users] link error in Visual Studio when using boost from CMake

2012-04-30 Thread Hui Wang
Yes, I tried with find_package( Boost COMPONENTS thread ) and target_link_libraries( ShowEngine ${Boost_LIBRARIES}), and that works. Thank you so much! On Mon, Apr 30, 2012 at 3:27 PM, Alain Leblanc aal...@gmail.com wrote: Don't have much experience with boost in combination with cmake, but

Re: [CMake] [Boost-users] link error in Visual Studio when using boost from CMake

2012-04-30 Thread Mourad Boufarguine
Hi, add this : link_directories(${Boost_LIBRARY_DIRS}) after the include_directories command. Cheers, Mourad * * On Mon, Apr 30, 2012 at 10:26 PM, Hui Wang huiwang8...@gmail.com wrote: Yes, I tried with find_package( Boost COMPONENTS thread ) and target_link_libraries( ShowEngine

[Cmake-commits] CMake branch, next, updated. v2.8.8-2756-g3fdd731

2012-04-30 Thread Brad King
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 3fdd731a2a9318ebc16716eadfd1fd4298650b63 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.8-2759-g0130ed8

2012-04-30 Thread Brad King
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 0130ed8daf5f70bc963e38f4ce92119f5fb76327 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.8-2765-g7b49ab9

2012-04-30 Thread Clinton Stimpson
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 7b49ab966dd0a0f80c15232fde1641b3818c529d (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.8-89-g94f17c6

2012-04-30 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index c4625b8..0908537 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 8) -SET(CMake_VERSION_TWEAK 20120430