Re: [cmake-developers] [CMake] CMake 2.8.12-rc2 Released

2013-09-17 Thread Rolf Eike Beer
Am Montag, 16. September 2013, 21:58:08 schrieb clin...@elemtech.com: Same here... and this looks like a regression: A simple CMakeLists.txt like this can reproduce it. set(CMAKE_BUILD_TYPE Debug) find_package(HDF5 COMPONENTS C HL REQUIRED) add_executable(foo foo.cpp)

Re: [cmake-developers] [CMake] CMake 2.8.12-rc2 Released

2013-09-17 Thread clinton
Same here... and this looks like a regression: A simple CMakeLists.txt like this can reproduce it. set(CMAKE_BUILD_TYPE Debug) find_package(HDF5 COMPONENTS C HL REQUIRED) add_executable(foo foo.cpp) target_link_libraries(foo ${HDF5_LIBRARIES}) FindHDF5.cmake misuses CMAKE_BUILD_TYPE and

[cmake-developers] [CMake 0014419]: Cmake Could NOT find QtCore

2013-09-17 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=14419 == Reported By:sergeyvl Assigned To:

[cmake-developers] [CMake 0014420]: testCCompiler failed under WinCE with linker error

2013-09-17 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=14420 == Reported By:mar-na Assigned To:

Re: [cmake-developers] [CMake] CMake 2.8.12-rc2 FindHDF5 issues

2013-09-17 Thread Clinton Stimpson
On Tuesday, September 17, 2013 04:01:30 PM Orion Poplawski wrote: On 09/16/2013 09:58 PM, clin...@elemtech.com wrote: Same here... and this looks like a regression: A simple CMakeLists.txt like this can reproduce it. set(CMAKE_BUILD_TYPE Debug) find_package(HDF5 COMPONENTS C HL

[cmake-developers] [CMake 0014421]: CMAKE GUI needs ability to run from multiple sources

2013-09-17 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=14421 == Reported By:fester225 Assigned To:

Re: [CMake] CMake 2.8.12-rc2 Released

2013-09-17 Thread Rolf Eike Beer
Am Montag, 16. September 2013, 21:58:08 schrieb clin...@elemtech.com: Same here... and this looks like a regression: A simple CMakeLists.txt like this can reproduce it. set(CMAKE_BUILD_TYPE Debug) find_package(HDF5 COMPONENTS C HL REQUIRED) add_executable(foo foo.cpp)

[CMake] Set CMAKE_LANG_FLAGS_* and overriding

2013-09-17 Thread David Demelier
Hello, I'm writing a C++11 project. To enable C++11 it requires some switches, such as -std=c++11. So for the moment, I have in my CMakeLists.txt: set(CMAKE_CXX_FLAGS -std=c++11) So with that, I'm sure that any build configuration will add this. However, with clang++, you need to pass an

Re: [CMake] Set CMAKE_LANG_FLAGS_* and overriding

2013-09-17 Thread Cristian Bidea
Hi David You have a number of options here: 1. You can pass the additional compile flag trough another variable instead of trying to override CMAKE_CXX_FLAGS. cmake .. -DFREEBSD_FLAG=-stdlib=libc++ ... then in CMakeLists.txt you can set the compile flags as follows: set (CMAKE_CXX_FLAGS

Re: [CMake] Set CMAKE_LANG_FLAGS_* and overriding

2013-09-17 Thread Williams, Norman K
It occurs to me that if your project requires C++11, you need something more flexible and intelligent. I don't remember what mailing list I saw it on (ITK?) but there is some discussion about detecting C++-11 and what the most portable way to do that is. You can check for specific compilers and

[CMake] Documentation Web Page Titles

2013-09-17 Thread Stewart, Robert
The titles of the various documentation web pages are non-distinct. Compare http://www.cmake.org/cmake/help/v2.8.11/cmake.html and http://www.cmake.org/cmake/help/v2.8.11/cpack.html. Both have the same title, yet one's for CMake and the other for CPack. With multiple tabs open in a browser,

[CMake] What is the prescribed way to link in dependencies for a static library

2013-09-17 Thread James Bigler
I have a static library I found using find_library. Typically with shared libraries I just link against the library and the dependencies come along for the ride. What is the prescribed way of doing this for static libraries? I don't think I want to do create an imported target, as this isn't a

Re: [CMake] What is the prescribed way to link in dependencies for a static library

2013-09-17 Thread Dan Kegel
On Tue, Sep 17, 2013 at 9:41 AM, James Bigler jamesbig...@gmail.com wrote: I have a static library I found using find_library. Typically with shared libraries I just link against the library and the dependencies come along for the ride. What is the prescribed way of doing this for static

Re: [CMake] What is the prescribed way to link in dependencies for a static library

2013-09-17 Thread James Bigler
On Tue, Sep 17, 2013 at 11:05 AM, Dan Kegel d...@kegel.com wrote: On Tue, Sep 17, 2013 at 9:41 AM, James Bigler jamesbig...@gmail.com wrote: I have a static library I found using find_library. Typically with shared libraries I just link against the library and the dependencies come along

[CMake] unset(PARENT_SCOPE)

2013-09-17 Thread James Bigler
If there is a set(PARENT_SCOPE) why isn't there an unset(PARENT_SCOPE)? It seems like a hole in the API. I noticed this when I was trying to update my push_variable/pop_variable functions. I use set(PARENT_SCOPE) to set the variable outside of the function, but when doing pop_variable I want to

Re: [CMake] What is the prescribed way to link in dependencies for a static library

2013-09-17 Thread Alexander Neundorf
On Tuesday 17 September 2013, James Bigler wrote: On Tue, Sep 17, 2013 at 11:05 AM, Dan Kegel d...@kegel.com wrote: On Tue, Sep 17, 2013 at 9:41 AM, James Bigler jamesbig...@gmail.com wrote: I have a static library I found using find_library. Typically with shared libraries

[CMake] view CMake configuration without triggering reonfigure?

2013-09-17 Thread Matthew Woehlke
I find it convenient to view the current CMake configuration (e.g. install prefix, or to copy package locations from one build to another) using ccmake. However, any time I start ccmake, it causes the build to think that it needs to re-run cmake, even if I don't save (or even make!) changes.

Re: [CMake] What is the prescribed way to link in dependencies for a static library

2013-09-17 Thread Orion Poplawski
On 09/17/2013 12:30 PM, Alexander Neundorf wrote: Yes. Similar to what FindPNG.cmake does, it searches libpng, then searches libz, and adds them both to the result variable. Alex But it should only do that when building statically. -- Orion Poplawski Technical Manager

Re: [CMake] ExternalProject and redundant update/configure/compile actions.

2013-09-17 Thread David Cole
OK, yeah, I know about disabling updates. Good. And all of the projects in our Super-Duper-build do get set to specific SVN/GIT/CVS tags. This is the only way to get predictable behavior. Also good. I agree wholeheartedly. And my reasoning was 'if you always request a specific

Re: [CMake] ExternalProject and redundant update/configure/compile actions.

2013-09-17 Thread David Cole
Some background about the Slicer build system that inspired the NamicExternalProjects system discussed by Kent  ...  Before CMake 2.8.8, we disabled the UPDATE of external project because it was not working well with Visual Studio. While this was working as expected, the overall build time was

Re: [CMake] CMake 2.8.12-rc2 FindHDF5 issues

2013-09-17 Thread Clinton Stimpson
On Tuesday, September 17, 2013 04:01:30 PM Orion Poplawski wrote: On 09/16/2013 09:58 PM, clin...@elemtech.com wrote: Same here... and this looks like a regression: A simple CMakeLists.txt like this can reproduce it. set(CMAKE_BUILD_TYPE Debug) find_package(HDF5 COMPONENTS C HL

Re: [CMake] CMake 2.8.12-rc2 FindHDF5 issues

2013-09-17 Thread Orion Poplawski
On 09/16/2013 09:58 PM, clin...@elemtech.com wrote: Same here... and this looks like a regression: A simple CMakeLists.txt like this can reproduce it. set(CMAKE_BUILD_TYPE Debug) find_package(HDF5 COMPONENTS C HL REQUIRED) add_executable(foo foo.cpp) target_link_libraries(foo

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

2013-09-17 Thread Aaron Nowack
Hi, I am trying to figure out how to use externalproject_add to allow my work group to code more rapidly. We have a mercurial repository which builds a set of libraries, and a separate repository which contains applications that use those libraries. It is important for us to keep them separate.

Re: [CMake] unset(PARENT_SCOPE)

2013-09-17 Thread Matthew Woehlke
On 2013-09-17 14:00, James Bigler wrote: If there is a set(PARENT_SCOPE) why isn't there an unset(PARENT_SCOPE)? It seems like a hole in the API. I noticed this when I was trying to update my push_variable/pop_variable functions. I use set(PARENT_SCOPE) to set the variable outside of the

Re: [CMake] ExternalProject and redundant update/configure/compile actions.

2013-09-17 Thread Jean-Christophe Fillion-Robin
Hi David, I should have specify the context ... ..for example, in the case you change the SHA1 associated with your external project. If update is disabled, doing a full rebuild will take longer than simply doing an update + incremental build. Especially if other projects depend on the fully

[Cmake-commits] CMake branch, next, updated. v2.8.11.2-4209-g61147a1

2013-09-17 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 61147a115c9c2ddf2c619d26e3ec764e9a99610b (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.11.2-4211-g2e6ef27

2013-09-17 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 2e6ef27f16c48e9a1265f63fab803af57b8e5d0e (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.11.2-850-g40c76c1

2013-09-17 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, master has been updated via 40c76c1dc84867aae6ef1b6138abed5de3eeb28b (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.11.2-4213-gbd62234

2013-09-17 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 bd62234747f0aba281a289cd3b9b166306ea043d (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.11.2-4216-gfa12c9b

2013-09-17 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 fa12c9b0385c2035e40f0132eae6c3788a8774a3 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.11.2-4218-gcfacea8

2013-09-17 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 cfacea8b7c3b7f8f2bbe3e999ed57793d9b902d9 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.11.2-851-g9bcf6ad

2013-09-17 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 2566bb8..cf3c2a0 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 20130917