[cmake-developers] [CMake 0013895]: CMake docs: suggestion for impovement in OpenMP section

2013-02-07 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13895 == Reported By:Sylwester Arabas Assigned To:

Re: [cmake-developers] Depends information in buildsystem files

2013-02-07 Thread Brad King
On 02/06/2013 08:27 PM, Stephen Kelly wrote: I've pushed a branch with some addtional fixes for various issues in generator expressions. Thanks, those all look good. I presume you're finding these by trying to use the new features for Qt5, KDE, and Boost? How else? One of the issues

Re: [cmake-developers] Depends information in buildsystem files

2013-02-07 Thread Stephen Kelly
Brad King wrote: On 02/06/2013 08:27 PM, Stephen Kelly wrote: I've pushed a branch with some addtional fixes for various issues in generator expressions. Thanks, those all look good. I presume you're finding these by trying to use the new features for Qt5, KDE, and Boost? How else? Yes.

Re: [cmake-developers] Depends information in buildsystem files

2013-02-07 Thread Brad King
On 02/07/2013 09:02 AM, Stephen Kelly wrote: A concern though is this in CMakeExpandImportedTargets.cmake: get_target_property(_linkInterfaceLibs ${_CURRENT_LIB} IMPORTED_LINK_INTERFACE_LIBRARIES_${_importedConfigToUse} ) That macro won't work if the

Re: [cmake-developers] Fwd: [Bug 894805] Re: QT_IMPORTS_DIR is not defined when no QML plugins are installed

2013-02-07 Thread Clinton Stimpson
This is interesting... The intent of FindQt4.cmake is to find the Qt installation so it can be used. But in that bug report, the QT_IMPORTS_DIR variable is being used to determine the qt_dir/imports directory to install their qml plugins - which is into the Qt installation. Its a problem for

Re: [cmake-developers] Depends information in buildsystem files

2013-02-07 Thread Stephen Kelly
Brad King wrote: The full solution is to refactor things enough that a new kind of try_compile can be implemented. It should push the configuration process state on a stack, run more CMake code in the isolated state to add some targets, and then generate the build system for them directly

Re: [cmake-developers] Depends information in buildsystem files

2013-02-07 Thread Stephen Kelly
Brad King wrote: The full solution is to refactor things enough that a new kind of try_compile can be implemented. It should push the configuration process state on a stack, run more CMake code in the isolated state to add some targets, and then generate the build system for them directly

Re: [cmake-developers] Depends information in buildsystem files

2013-02-07 Thread Brad King
On 02/07/2013 11:42 AM, Stephen Kelly wrote: Are you sure? Well, my proposal would be sufficient but may not be necessary (i.e. overkill). It seems to me it would be much easier and less duplicative to add a way to specify TARGETS in try_compile, and in cmCoreTryCompile, generate the

Re: [cmake-developers] Fwd: [Bug 894805] Re: QT_IMPORTS_DIR is not defined when no QML plugins are installed

2013-02-07 Thread Stephen Kelly
Clinton Stimpson wrote: This is interesting... The intent of FindQt4.cmake is to find the Qt installation so it can be used. But in that bug report, the QT_IMPORTS_DIR variable is being used to determine the qt_dir/imports directory to install their qml plugins - which is into the Qt

Re: [cmake-developers] Fwd: [Bug 894805] Re: QT_IMPORTS_DIR is not defined when no QML plugins are installed

2013-02-07 Thread Clinton Stimpson
On Thursday, February 07, 2013 05:51:59 PM Stephen Kelly wrote: Clinton Stimpson wrote: This is interesting... The intent of FindQt4.cmake is to find the Qt installation so it can be used. But in that bug report, the QT_IMPORTS_DIR variable is being used to determine the qt_dir/imports

[cmake-developers] [CMake 0013896]: CMAKE_CL_64 incorrectly set for CXX projects

2013-02-07 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=13896 == Reported By:Leszek Swirski Assigned To:

Re: [cmake-developers] Fwd: [Bug 894805] Re: QT_IMPORTS_DIR is not defined when no QML plugins are installed

2013-02-07 Thread Stephen Kelly
Clinton Stimpson wrote: That said, the reported problem in the bug report, that qmake reports the path, but cmake does not make it available, seems like something to look into. Do you have something in mind when you say it should be looked into? qmake is reporting a non-existant

Re: [cmake-developers] INTERFACE_INCLUDE_DIRECTORIES on STATIC libs

2013-02-07 Thread Stephen Kelly
Brad King wrote: On 02/07/2013 01:40 PM, Stephen Kelly wrote: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fecede0d9012f78470778cb049b2ab0231b4dcb7 + If this variable is enabled, CMake automatically adds for each shared + library target, module target and executable target,

[cmake-developers] [CMake 0013897]: Cross-compiling from Windows with a Linux-GCC toolchain exceeds max command line length during linking

2013-02-07 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13897 == Reported By:Eric Gross Assigned To:

Re: [cmake-developers] INTERFACE_INCLUDE_DIRECTORIES on STATIC libs

2013-02-07 Thread Brad King
On 02/07/2013 04:15 PM, Stephen Kelly wrote: What about OBJECT_LIBRARYs ? I have no experience with them. Do you add any interface properties to any object libraries currently? Do the new tcd() and tid() work for them, at least for the impl properties (COMPILE_DEFINITIONS and

Re: [cmake-developers] INTERFACE_INCLUDE_DIRECTORIES on STATIC libs

2013-02-07 Thread Stephen Kelly
Brad King wrote: On 02/07/2013 04:15 PM, Stephen Kelly wrote: What about OBJECT_LIBRARYs ? I have no experience with them. Do you add any interface properties to any object libraries currently? Nope. The only places where cmake populates interface properties are with the

[cmake-developers] [CMake 0013898]: cpack fails to use some CPACK_RPM_PACKAGE_* variables in the generated rpm spec if their value is less than 3 characters long

2013-02-07 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13898 == Reported By:Jonathan M Davis Assigned To:

[cmake-developers] [CMake 0013899]: Documentation for RPM CPack generator is missing a number of the variables that it supports

2013-02-07 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13899 == Reported By:Jonathan M Davis Assigned To:

Re: [CMake] CPack: Packaging debug and release configurations in a single zip

2013-02-07 Thread Yngve Inntjore Levinsen
Did you try to create two targets and add per-target compile flags? Something along the lines of add_library(mylib_rel ${sources}) add_library(mylib_dbg ${sources}) set_target_properties(mylib_rel PROPERTIES COMPILE_FLAGS -O3) set_target_properties(mylib_dbg PROPERTIES COMPILE_FLAGS -O0 -g) Not

Re: [CMake] CPack: Packaging debug and release configurations in a single zip

2013-02-07 Thread Patrick Johnmeyer
On Thu, Feb 7, 2013 at 3:12 AM, Yngve Inntjore Levinsen yngve.levin...@gmail.com wrote: Did you try to create two targets and add per-target compile flags? What you suggest is replacing configurations with targets. That may be possible, but runs counter to how CMake natively works. I feel

Re: [CMake] CPack: Packaging debug and release configurations in a single zip

2013-02-07 Thread Ansis Māliņš
How about something like this: if(${CMAKE_BUILD_TYPE STREQUAL DebugAndRelease) include(ExternalProject) ExternalProject_Add(MEDEBUG CMAKE_FLAGS -DCMAKE_BUILD_TYPE Debug) ExternalProject_Add(MERELEASE CMAKE_FLAGS -DCMAKE_BUILD_TYPE Release) install(FILES ...)

Re: [CMake] CPack: Packaging debug and release configurations in a single zip

2013-02-07 Thread Yngve Inntjore Levinsen
Hi, I think you are fighting the tool in any case, because you are asking to build multiple configurations in one build folder (?). Normally you would create one build folder per configuration.. Which I guess is what you are doing today. Instead of specifying the compile flags manually you can

Re: [CMake] Visual Studio makefile project output

2013-02-07 Thread Bill Hoffman
On 2/6/2013 6:00 PM, Theo Berkau wrote: Hello, I've been trying to setup a cross-compiled project using cmake and so far everything's working fine using Unix Makefiles generator, etc. Now I know generating for visual studio generally doesn't work under a cross compiling setup, but I was

Re: [CMake] CPack: Packaging debug and release configurations in a single zip

2013-02-07 Thread Jean-Christophe Fillion-Robin
The approach suggested by Ansis looks interesting. Instead of using install(FILES ...), you could use CPACK_INSTALL_CMAKE_PROJECTS [1][2]. For an example, see [3] and [4] [1] http://www.cmake.org/cmake/help/v2.8.8/cpack.html#variable:CPACK_INSTALL_CMAKE_PROJECTS [2]

Re: [CMake] CPack: Packaging debug and release configurations in a single zip

2013-02-07 Thread Patrick Johnmeyer
On Thu, Feb 7, 2013 at 12:41 PM, Yngve Inntjore Levinsen yngve.levin...@gmail.com wrote: I think you are fighting the tool in any case, because you are asking to build multiple configurations in one build folder (?). Normally you would create one build folder per configuration.. Which I guess

Re: [CMake] CPack: Packaging debug and release configurations in a single zip

2013-02-07 Thread Clinton Stimpson
On Wednesday, February 06, 2013 01:09:20 PM Patrick Johnmeyer wrote: I have looked through the CMake wikis and several mailing list threads that the following google search returned, and I have not found a definitive answer to my question. [site:www.cmake.org/pipermail/cmake CPack multiple

[CMake] Building Mac OSX .apps for Sys 10.6 and 10.8 with Cmake using 10.7.5 on the command line

2013-02-07 Thread Ed
Hello: I am trying to build an app to be compatible with Mac OSX systems 10.6, 10.7, and 10.8 using the command line with cmake. I have successfully built it for 10.7.5, now I would like to expand this app to be compatible with 10.6 and 10.8 is this possible? This is the command I am issuing

Re: [CMake] Building Mac OSX .apps for Sys 10.6 and 10.8 with Cmake using 10.7.5 on the command line

2013-02-07 Thread Sean McBride
On Thu, 7 Feb 2013 17:05:55 -0800, Ed said: I am trying to build an app to be compatible with Mac OSX systems 10.6, 10.7, and 10.8 using the command line with cmake. I have successfully built it for 10.7.5, now I would like to expand this app to be compatible with 10.6 and 10.8 is this possible?

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1967-gb6947b7

2013-02-07 Thread Stephen Kelly
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 b6947b77d5109c192cb2c64b061fb0cb771882f8 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1975-gac37dfb

2013-02-07 Thread Stephen Kelly
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 ac37dfb6628e9c43da6912885c255e3bef216257 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1984-g03df039

2013-02-07 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 03df039502924398fe51ccd492ef4a5c93c86b71 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1999-gc53d0f1

2013-02-07 Thread Stephen Kelly
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 c53d0f18a8fb38c2d38c113c7341b2e95691eba6 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-2011-g910ad89

2013-02-07 Thread Stephen Kelly
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 910ad89f3c556f8902e3206a620b9c867b6dcb39 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-2013-g3efc388

2013-02-07 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 3efc38828749d34c1f2e3c87a031db3b85dece14 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-2016-g5f456de

2013-02-07 Thread Stephen Kelly
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 5f456ded1e6426c57f82306f36a517875898a68a (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-2019-g37bdf11

2013-02-07 Thread Stephen Kelly
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 37bdf11cce238f61210da0cf9e1ccd57a17bef3a (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-2021-g5948a98

2013-02-07 Thread Stephen Kelly
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 5948a987e8633f6be2aa140051a3d8e8954e3bb0 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-2023-g623f04a

2013-02-07 Thread Stephen Kelly
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 623f04a71ceb2687b2b2b7cb961f45a848902a3e (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-611-gbc96f95

2013-02-07 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 0be7d05..1b33cde 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 10) -set(CMake_VERSION_TWEAK 20130207