Re: [cmake-developers] Fwd: How to handle different cmake versions in extra-cmake-modules ?

2011-11-07 Thread Brad King
On 11/6/2011 6:12 AM, Stephen Kelly wrote: ecm_copy_modules(${CMAKE_BINARY_DIR}/modules FindFoo.cmake FindBlub.cmake ECMDoSomething.cmake) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}

Re: [cmake-developers] CMake Git instructions revised (was: Can't push to master directly)

2011-11-07 Thread Brad King
On 11/5/2011 8:48 PM, Stephen Kelly wrote: Could it be an idea to split that page so that there is a page for people like me or new people which doesn't say anything about pushing to master? I've been meaning to update the Git instructions page for a while. The entry point is still here:

Re: [cmake-developers] Should sucessive calls to find_package for one package succeed?

2011-11-07 Thread Stephen Kelly
Brad King wrote: On 11/6/2011 7:00 PM, Stephen Kelly wrote: include(${CMAKE_CURRENT_LIST_DIR}/GrantleeTargets.cmake) It is up to the author of the config file to block this correctly against multiple inclusion, e.g. if(NOT Grantlee_TARGETS_INCLUDED) set(Grantlee_TARGETS_INCLUDED

Re: [cmake-developers] Should sucessive calls to find_package for one package succeed?

2011-11-07 Thread Brad King
On 11/7/2011 10:18 AM, Stephen Kelly wrote: Ok, thanks. Seems like an important thing to document. Is there any page showing how to use config files and targets files? http://www.cmake.org/Wiki/CMake/Tutorials#CMake_Packages This section:

Re: [cmake-developers] target_include_directories branch in stage

2011-11-07 Thread Alexander Neundorf
On Sunday 06 November 2011, Stephen Kelly wrote: Stephen Kelly wrote: Issues: * I have only tried to implement this with the makefile generator and have so far only tested it with Unix Makefiles. One of the bugs says XCode can't do source-level includes. Can it do target-level includes?

Re: [cmake-developers] target_include_directories branch in stage

2011-11-07 Thread Brad King
On 11/6/2011 5:45 PM, Stephen Kelly wrote: As discussed on the cmake user mailing list, I'm interesting in implementing the feature of target specific and configuration specific include directories. Thanks for working on this. I've pushed the target-include-directories branch to stage, which

Re: [cmake-developers] target_include_directories branch in stage

2011-11-07 Thread Brad King
On 11/6/2011 5:49 PM, Stephen Kelly wrote: Stephen Kelly wrote: Issues: * I have only tried to implement this with the makefile generator and have so far only tested it with Unix Makefiles. One of the bugs says XCode can't do source-level includes. Can it do target-level includes? Would I have

Re: [cmake-developers] target_include_directories branch in stage

2011-11-07 Thread Alexander Neundorf
On Monday 07 November 2011, Alexander Neundorf wrote: On Sunday 06 November 2011, Stephen Kelly wrote: Hi, As discussed on the cmake user mailing list, I'm interesting in implementing the feature of target specific and configuration specific include directories.

Re: [cmake-developers] target_include_directories branch in stage

2011-11-07 Thread Brad King
On 11/7/2011 12:57 PM, Brad King wrote: The INCLUDE_DIRECTORIES property of a target must be the *only* list from which the final include directory list is constructed. When a target is created the current directory-level include directories must be used to initialize the list. Further