[cmake-developers] [CMake 0015134]: add_subdirectory() fails when CMakeLists.txt in drive root

2014-09-08 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15134 == Reported By:Mattes D Assigned To:

[cmake-developers] [PATCH 3/3] VS: Pass MSVC compiler flags in upper case

2014-09-08 Thread Pascal Bach
Currently the mapping from flags to XML elements in the Visual Studio generator is case sensitive. It only handles upper case flags so we should pass them as upper case. Even better would be to make the search case insensitive. --- Modules/Platform/Windows-MSVC.cmake | 36

[cmake-developers] [PATCH 1/3] WINCE: Document the WINCE variable

2014-09-08 Thread Pascal Bach
From: Pascal Bach pascal.b...@nextrem.ch --- Help/manual/cmake-variables.7.rst |1 + Help/variable/WINCE.rst |5 + 2 files changed, 6 insertions(+) create mode 100644 Help/variable/WINCE.rst diff --git a/Help/manual/cmake-variables.7.rst

[cmake-developers] [CMake 0015135]: Allow properties on installed directories

2014-09-08 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15135 == Reported By:Richard Ulrich Assigned To:

Re: [cmake-developers] Extracting target metadata, IDE integration

2014-09-08 Thread Brad King
On 09/03/2014 12:12 PM, Aleix Pol wrote: On Wed, Sep 3, 2014 at 5:48 PM, Alexander Neundorf wrote: I still don't understand why this shouldn't be an additional ExtraGenerator. Because it's not possible to change the generator of a build directory once it's set up. You need to nuke it

[cmake-developers] [CMake 0015137]: find_package(LAPACK) reports incorrect syntax in FindLAPACK.cmake

2014-09-08 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15137 == Reported By:Eugene Shalygin Assigned To:

Re: [cmake-developers] Alternate if() without implicit variable expansion

2014-09-08 Thread Brad King
On 09/05/2014 09:19 AM, Nils Gladitz wrote: On 09/05/2014 02:50 PM, Brad King wrote: On 09/04/2014 11:58 AM, Nils Gladitz wrote: - The dashboard submissions that bootstrap got many CMP0054 warnings. Most of them are the same warning repeated due to presence in a macro or loop. Please

Re: [cmake-developers] Alternate if() without implicit variable expansion

2014-09-08 Thread Nils Gladitz
On 09/08/2014 04:44 PM, Brad King wrote: Good work on the revisions. Thanks. I updated the topic, squished and merged. Nils -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to

Re: [cmake-developers] [PATCH 3/3] VS: Pass MSVC compiler flags in upper case

2014-09-08 Thread Brad King
On 09/08/2014 05:35 AM, Pascal Bach wrote: Even better would be to make the search case insensitive. How do we know which flags are sensitive to case? - set(CMAKE_CREATE_WIN32_EXE /entry:WinMainCRTStartup) - set(CMAKE_CREATE_CONSOLE_EXE /entry:mainACRTStartup) - set(_PLATFORM_LINK_FLAGS

Re: [cmake-developers] OS X packaging updates

2014-09-08 Thread Brad King
On 09/05/2014 08:33 AM, Brad King wrote: Thanks. I've re-built the topic with those locally. I've merged to 'next' for testing: BundleUtilities: Use 'find' on UNIX for fast executable lookup http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=02dfaa31 GetPrerequisites: Make sure dyld

[cmake-developers] [CMake 0015142]: Cannot set different INTERFACE_COMPILE_DEFINITIONS for different IMPORTED_CONFIGURATIONS

2014-09-08 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15142 == Reported By:Daniele E. Domenichelli Assigned To:

[cmake-developers] [PATCH] Fix infinite loop in file downloads if hash value not a match

2014-09-08 Thread Alan W. Irwin
I was caught by this infinite loop issue when attempting to build Qt5.3.1 using ExternalProject.cmake. I used an MD5 sum value given by BLFS for the Qt5.3.1 tar.gz download which happened to be the wrong value. In my case the consequences were not too bad because I was downloading from a local

Re: [cmake-developers] OS X packaging updates

2014-09-08 Thread Brad King
On 09/08/2014 01:17 PM, Brad King wrote: On 09/05/2014 08:33 AM, Brad King wrote: Thanks. I've re-built the topic with those locally. I've merged to 'next' for testing: I had to revert again because it causes the Qt4Deploy to fail. The topic changes the signature of gp_file_type. User

Re: [cmake-developers] [PATCH] Fix infinite loop in file downloads if hash value not a match

2014-09-08 Thread Brad King
On 09/08/2014 03:52 PM, Alan W. Irwin wrote: I was caught by this infinite loop issue when attempting to build Qt5.3.1 using ExternalProject.cmake. Applied, thanks: ExternalProject: Avoid infinite loop on file download hash mismatch http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9f49ac3d

[CMake] getting the BuildID from cdash/ctest after a submit

2014-09-08 Thread Biddiscombe, John A.
The dashboard I'm setting up is so helpful. Thanks cdash/ctest people. After a submit, is it possible to get the ID so that I can generate URLs that point to the test fails (because the buildbot is on another site and I'd like to generate links back to the dashboard on it) example URL :

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Alexey Petruchik
I dont want to go dirty way with if (${CMAKE_GENERATOR} STREQUAL ...) On Sat, Sep 6, 2014 at 5:02 PM, Alexey Petruchik alexey.petruc...@gmail.com wrote: I want to use different library folders for x64/x86/arm architectures. Cmake has different generators for each arch: Visual Studio 12

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Hendrik Sattler
Hi, I'm also interested in an answer to this question. IMHO the definition of CMAKE_SYSTEM_PROCESSOR is broken for Visual Studio generators although it matches the help entry. HS On 6. September 2014 16:02:56 MESZ, Alexey Petruchik alexey.petruc...@gmail.com wrote: I want to use different

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Alexey Petruchik
There are also CMAKE_CL_64\CMAKE_FORCE_WIN64\CMAKE_FORCE_IA64 vars. But it seems to be a x64-only hack not a good generic solution On Mon, Sep 8, 2014 at 3:15 PM, Alexey Petruchik alexey.petruc...@gmail.com wrote: I dont want to go dirty way with if (${CMAKE_GENERATOR} STREQUAL ...) On

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Nils Gladitz
On 09/08/2014 02:51 PM, Alexey Petruchik wrote: There are also CMAKE_CL_64\CMAKE_FORCE_WIN64\CMAKE_FORCE_IA64 vars. But it seems to be a x64-only hack not a good generic solution There seem to be MSVC_C_ARCHITECTURE_ID and MSVC_CXX_ARCHITECTURE_ID though given that I don't see them documented

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Alexey Petruchik
It would be really great to get comprehensive answer from one of cmake devs. On Mon, Sep 8, 2014 at 4:01 PM, Nils Gladitz nilsglad...@gmail.com wrote: On 09/08/2014 02:51 PM, Alexey Petruchik wrote: There are also CMAKE_CL_64\CMAKE_FORCE_WIN64\CMAKE_FORCE_IA64 vars. But it seems to be a

Re: [CMake] Ctest building with Multiple Processors

2014-09-08 Thread David Cole via CMake
I wrote this blog post a couple years ago claiming one way to run a dashboard on windows: http://cmake.blogspot.com/2012/09/one-way-to-run-dashboard-on-windows.html As with all such things, there are, of course, multiple ways to solve the problem. At the time I wrote it, I trusted Visual Studio

Re: [CMake] getting the BuildID from cdash/ctest after a submit

2014-09-08 Thread David Cole via CMake
No, but if you go to the Tests Query page, and set up a filter, you can construct a URL for showing the failed tests with a given build name and site name for the date in question... Almost as good. Start here: http://cdash.cscs.ch/queryTests.php?project=HPXdate=2014-09-08 (found from the

[CMake] Developing GResource support in CMake

2014-09-08 Thread Damián Nohales
Hello there, I was trying to develop a CMake module to add GResource (a GLib component) support for CMake. For people that doesn't know about GResource, it's a component that helps to add files bundled to the binary file. The component provides an utility called glib-compile-resources that

[CMake] Compilation logs: Workaround for no appendfile

2014-09-08 Thread Olsson Gerhard
ARM DS-5 compiler (armcc compiler 5.04) Platform: Windows and Linux Armcc (as well as arasm, armlink etc) has option '-errors=file 'to log compilation messages (warnings and errors) to a logfile instead of stdout. There is no possibility from what I have found out to append to a log file, all

Re: [CMake] Get Visual Studio target Arch

2014-09-08 Thread Gregor Jasny
On 06/09/14 16:02, Alexey Petruchik wrote: I want to use different library folders for x64/x86/arm architectures. Cmake has different generators for each arch: Visual Studio 12 2013, Visual Studio 12 2013 ARM, Visual Studio 12 2013 Win64. Is there any cmake var to get visual studio target

[CMake] Request for added script intelligence

2014-09-08 Thread J Decker
Can something like ... SET( CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP 1 ) if( ${CMAKE_BUILD_TYPE} MATCHES [dD][eE][bB][uU][gG] ) SET( CMAKE_INSTALL_DEBUG_LIBRARIES 1 ) SET( CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY 1 ) endif( ${CMAKE_BUILD_TYPE} MATCHES [dD][eE][bB][uU][gG] )

[CMake] replacement for link_directories that support generator expressions

2014-09-08 Thread James Bigler
Is there an equivalent command to link_directories that support generator expressions? link_directories( $$CONFIG:Debug:${PROG_LIBRARY_DIRS_RELWITHDEBCRT} ) link_directories( $NOT:$CONFIG:Debug:${PROG_LIBRARY_DIRS} ) Basically I want to use PROG_LIBRARY_DIRS_RELWITHDEBCRT for Debug

[CMake] Files always install

2014-09-08 Thread J Decker
This is sort of a place holder... I have defined set( CMAKE_INSTALL_MESSAGE LAZY ) I have a CMakeLists.txt that may be added multiple times that does SET( BASE_IMAGES ${CMAKE_CURRENT_SOURCE_DIR}/frame_border.png ${CMAKE_CURRENT_SOURCE_DIR}/sky.jpg ${CMAKE_CURRENT_SOURCE_DIR}/dial2a.png

Re: [CMake] replacement for link_directories that support generator expressions

2014-09-08 Thread Nils Gladitz
On 08.09.2014 23:27, James Bigler wrote: Is there an equivalent command to link_directories that support generator expressions? link_directories( $$CONFIG:Debug:${PROG_LIBRARY_DIRS_RELWITHDEBCRT} ) link_directories( $NOT:$CONFIG:Debug:${PROG_LIBRARY_DIRS} ) Basically I want to use

Re: [CMake] Request for added script intelligence

2014-09-08 Thread David Cole via CMake
I don't think that's a good idea. The Debug libraries are supposed to be non-redistributable. (At least that used to be true... is it still true?) To Debug a VS-built project, you have to run it on a machine with VS installed, so there's not a compelling need to install the debug libraries

Re: [CMake] Request for added script intelligence

2014-09-08 Thread J Decker
Then it should be default in debug build not copy the release libraries which are unreferenced anyway. 'sides that... I'm only asking for the leading intelligence before the include, and not including the INSTALL line. I'm not asking to change having to add a INSTALL rule... just having a better

[Cmake-commits] CMake branch, next, updated. v3.0.1-5231-g85f3547

2014-09-08 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 85f3547a37ba8f8c2ec7b13c353feb232f85f928 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.1-5237-g876936f

2014-09-08 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 876936fbc30a3d06715c4c32b3db46d2de1fb63c (commit) via

[Cmake-commits] CMake branch, next, updated. v3.0.1-5239-g30efb5c

2014-09-08 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 30efb5cf51ee6e297ebd0855834520af10fc5b36 (commit) via