[CMake] Xcode Runpath problem

2015-03-20 Thread Robert Bielik
Hi, I have: SET_TARGET_PROPERTIES(MyTarget PROPERTIES XCODE_ATTRIBUTE_LD_RUNPATH_SEARCH_PATHS ~/Library/Application Support/MyTarget/Plugins) and it comes through nicely when running the Xcode IDE, but when using cmake build (cmd line), the linker gets this: -Xlinker -rpath -Xlinker

Re: [CMake] Xcode Runpath problem

2015-03-20 Thread Robert Bielik
Ok, I escaped the string as \~/Library/Application Support/MyTarget/Plugins\, and then it comes out OK to the linker. However... it doesn't work. Dylib dependencies are not found, whereas in the Xcode IDE, they are! :( :( :( About to jump from a very high place. Help ? /Rob Robert Bielik

Re: [CMake] unit tests include in all but not install

2015-03-20 Thread Scott Aron Bloom
For those who couldn't understand my jibberish.. I apologize, never send email from a phone... Ill restate... In general, I want all my unit tests to be built when I do a make all, but I really don't care if they are up to date for a make install. Is that a possibility? Ie, add the exclude

[CMake] unit tests include in all but not install

2015-03-20 Thread Scott Aron Bloom
In general, I want unit tests, are build when I do a make all, but I really don't care if they are up to date for a install.. Is that a possibility? Scott -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware

Re: [CMake] how to create a custom dashboard?

2015-03-20 Thread Miklos Espak
I found it. You have to create a group on the CDash project admin interface first, with the same name as what's specified after --track. It is not very flexible, though. Is there a way to create groups via the command line? I could set up a git hook to create the group when a new branch is

[CMake] Adding entries to the info.plist file for OS X .app bundles.

2015-03-20 Thread Michael Jackson
Is there anything in the latest CMake version to add additional entries into the plist file for .app packages? I specifically need the following: keyNSPrincipalClass/key stringNSApplication/string keyNSHighResolutionCapable/key stringTrue/string to support Retina displays for our app. Should I

Re: [CMake] variable substitution for command arguments

2015-03-20 Thread Petr Kmoch
Hi. You're already (partially) doing it, with the CMAKE_SOURCE_DIR and Boost_INCLUDE_DIRS variables. You can store whatever list of arguments you want in a variable and expand it in the proper place. For example this: set(MyArgs -d sqlite --sqlite-override-null --std c++11 --profile boost

[CMake] COMMENT ignored for POST_BUILD custom command?

2015-03-20 Thread Chris Green
Hi, With CMake 3.1.2, I don't see my specified COMMENT for a POST_BUILD command on a library target, viz: add_custom_command(TARGET ${LIB_TARGET} POST_BUILD COMMAND ln -sf $TARGET_LINKER_FILE_NAME:${LIB_TARGET}

[CMake] C/C++ projects: Can cmake generate a '-include file' option for the compiler?

2015-03-20 Thread Martin Weber
Hi, is there a way in the cmakelists syntax to generate a build script (make/ninja/...) that will invoke the C/C++ compiler with an '-include file' or '-include macros' option? From the GNU cpp man page: -include file Process file as if #include file appeared as the first line of

Re: [CMake] COMMENT ignored for POST_BUILD custom command?

2015-03-20 Thread Chris Green
On 3/20/15 12:11 PM, Christopher H Green wrote: Indeed it might, thank you, but I believe I'm seeing the same behavior with ninja also. I can confirm that with CMake 3.2.1, the expected COMMENT is printed with the UNIX Makefile generator, but not for the Ninja generator. Any chance of getting

Re: [CMake] COMMENT ignored for POST_BUILD custom command?

2015-03-20 Thread Nils Gladitz
On 20.03.2015 19:41, Chris Green wrote: On 3/20/15 12:11 PM, Christopher H Green wrote: Indeed it might, thank you, but I believe I'm seeing the same behavior with ninja also. I can confirm that with CMake 3.2.1, the expected COMMENT is printed with the UNIX Makefile generator, but not for the

Re: [CMake] how to create a custom dashboard?

2015-03-20 Thread Miklos Espak
Found a solution by adding new functions to the API. See it here: https://github.com/espakm/CDash/commit/c12b2726a5a336b7b3a700ef3490ed4e54f6fd45 Any interest in merging this? Cheers, Miklos On 20 March 2015 at 13:43, Miklos Espak m.es...@ucl.ac.uk wrote: I found it. You have to create a

Re: [CMake] COMMENT ignored for POST_BUILD custom command?

2015-03-20 Thread Christopher H Green
Indeed it might, thank you, but I believe I'm seeing the same behavior with ninja also. Thanks, Chris. Sent from my cell. Original message From: Nils Gladitz Date:2015/03/20 11:57 (GMT-06:00) To: Christopher H Green ,cmake@cmake.org Subject: Re: [CMake] COMMENT ignored for

Re: [CMake] COMMENT ignored for POST_BUILD custom command?

2015-03-20 Thread Nils Gladitz
On 20.03.2015 16:47, Chris Green wrote: The documentation doesn't suggest that this is intended behavior. Is this a bug, or am I doing something wrong? The desired action does get carried out during a build as desired, but there is no screen output of COMMENT to herald the generation of the

Re: [CMake] COMMENT ignored for POST_BUILD custom command?

2015-03-20 Thread Chris Green
On 3/20/15 2:10 PM, Nils Gladitz wrote: On 20.03.2015 19:41, Chris Green wrote: On 3/20/15 12:11 PM, Christopher H Green wrote: Indeed it might, thank you, but I believe I'm seeing the same behavior with ninja also. I can confirm that with CMake 3.2.1, the expected COMMENT is printed with

[cmake-developers] patch that adds -KPIC flag to SunPro Fortran compiler

2015-03-20 Thread Steven Vancoillie
Hi, I ran into a problem with SunPro Fortran compiler not being able to create a shared library since the -KPIC flag was missing. The patch that is attached fixes this. I didn't add a -KPIE as that doesn't exist for SunPro. Looking at other compiler configurations, it seems it might be better to

[Cmake-commits] CMake branch, next, updated. v3.2.1-1121-g0beaa35

2015-03-20 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 0beaa3508ad731dc0ca1b198b0a5a28b60e682ca (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.1-1101-g5ac4b47

2015-03-20 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 5ac4b4738ac4eccf5546d2308268035538020a94 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.1-1119-g6d64981

2015-03-20 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 6d64981a1e9a676ea076f9d4420e536f7b108dbc (commit) via

[Cmake-commits] CMake branch, master, updated. v3.2.1-450-g4faa4c6

2015-03-20 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 4faa4c60ce6d66f2789255d94ef90d1a3c7bb6de (commit) via

[Cmake-commits] CMake branch, master, updated. v3.2.1-455-gc3f4167

2015-03-20 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 c3f416726bee2175804b3004641eac6091df796d (commit) via

[Cmake-commits] CMake branch, master, updated. v3.2.1-460-gf447027

2015-03-20 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 f447027307f32b9caa126631faaeab55b7e2133c (commit) via

[Cmake-commits] CMake branch, master, updated. v3.2.1-458-gd4d56f6

2015-03-20 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 d4d56f636b653c1b5d169be8c476b2f872bc6558 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.2.1-453-gac7d868

2015-03-20 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 ac7d8684c56063469b3ee03cd4f5a60a4a01789e (commit) via

[Cmake-commits] CMake branch, master, updated. v3.2.1-447-g543b20f

2015-03-20 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 543b20f269df537f3cde6cee1dfaeab6dd31e942 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.1-1096-g820fa8a

2015-03-20 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 820fa8a738a1d988d3cbe4aec834643448072be3 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.2.1-445-g1b1144b

2015-03-20 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 1b1144b91dcaae05a0caffd3d238e76268600af7 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.2.1-463-gc95e523

2015-03-20 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 c95e523db87cd503c97ca2a6021614393bb33e0b (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.1-1115-gf855c4e

2015-03-20 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 f855c4e9157360d4f7bd8f13dc5dc1ed1aeb74a6 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.1-1094-g8c1e8b7

2015-03-20 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 8c1e8b7cf477e0f11e374b435ff8e2e3374f0759 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.1-1125-g15ef2b1

2015-03-20 Thread Gregor Jasny
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 15ef2b1ba46c8e4fdcc91b4de6070f3b8cdfab28 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.1-1128-g2c99728

2015-03-20 Thread Gregor Jasny
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 2c99728ad123267ffb654fd47636b6df600a7c89 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.2.1-464-g2ec1c0d

2015-03-20 Thread Kitware Robot
20150320) +set(CMake_VERSION_PATCH 20150321) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- CMake

[Cmake-commits] CMake branch, next, updated. v3.2.1-1098-g3caa1a1

2015-03-20 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 3caa1a1c5afc83628dae8312f94b20f32c18c623 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.1-1104-g95e89a6

2015-03-20 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 95e89a6bfa0917ed99ff58c698d8260eabb4dcc9 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.1-1117-g09b0ec9

2015-03-20 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 09b0ec9428c45f7d95bf4f2aedac27f2ccec80c6 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.1-1123-ga745e32

2015-03-20 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 a745e32037c7dfd326a0776decf3592686f8200c (commit) via

Re: [cmake-developers] RFC: CMake precompiled header support and custom compiler based implementation

2015-03-20 Thread Adam Strzelecki
* The option to use existing headers instead of autogenerated ones. My solution (which is about PCH support to existing CMake version) does not auto generate any headers. * Implementing PCH support without additional targets. ReactOS already has like 1000+ targets, and we currently use PCH

Re: [cmake-developers] RFC: CMake precompiled header support and custom compiler based implementation

2015-03-20 Thread Amine Khaldi
My solution needs to generate additional target indeed for one pre-generated header, so if all your 1000+ targets will share same precompiled header (given the compiler flags don't change) then you will have just one (single) additional target. It's very rare (not to mention risky) to be

Re: [cmake-developers] Support of codesign

2015-03-20 Thread Eric Wing
Sorry, I'm also very late on this thread, but there was a suggestion that codesigning should be in CMake instead of CPack. I agree and also say it needs to be integrated as part of the build process when specified. Here's a real world workflow. I use JavaScriptCore in my Mac application which

Re: [cmake-developers] FW: FW: Initial Attempt at Green Hill MULTI IDE Generator Support

2015-03-20 Thread Brad King
On 03/19/2015 09:57 AM, Geoffrey Viola wrote: Fixed. Great, thanks. I'll take another look at the updated patch next week. -Brad -- 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] RFC: Helper macros for writing Find modules

2015-03-20 Thread Brad King
On 03/18/2015 05:50 PM, Alex Merry wrote: I made some changes in a copy of this module for work that separated out the target creation, as well as adding debug/release support. I'll check about being allowed to release that work, but I doubt it'll be an issue. Great. Will you be able to

Re: [cmake-developers] RFC: CMake precompiled header support and custom compiler based implementation

2015-03-20 Thread Amine Khaldi
Two requests please: * The option to use existing headers instead of autogenerated ones. * Implementing PCH support without additional targets. ReactOS already has like 1000+ targets, and we currently use PCH on almost all of them, so imagine if this official implementation doubles our targets

[Cmake-commits] CMake branch, next, updated. v3.2.1-1130-g4bf2084

2015-03-20 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 4bf20848b81d98a2d138862f47aba20a19c92652 (commit) via

Re: [cmake-developers] patch that adds -KPIC flag to SunPro Fortran compiler

2015-03-20 Thread Brad King
On 03/20/2015 04:23 AM, Steven Vancoillie wrote: I ran into a problem with SunPro Fortran compiler not being able to create a shared library since the -KPIC flag was missing. The patch that is attached fixes this. I didn't add a -KPIE as that doesn't exist for SunPro. Applied, thanks:

[Cmake-commits] CMake branch, next, updated. v3.2.1-1132-gc583042

2015-03-20 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 c583042c126d064d75eb6cecefc80b4e644c2abd (commit) via

Re: [cmake-developers] RFC: CMake precompiled header support and custom compiler based implementation

2015-03-20 Thread Brad King
On 03/13/2015 08:44 AM, Daniel Pfeifer wrote: I pushed some work to https://github.com/purpleKarrot/CMake/commits/pch Thanks for working on this. I'm hoping others will respond because I have little experience with PCH. target_precompile_headers(bar INTERFACE bar.h) [snip] This command is

[Cmake-commits] CMake branch, next, updated. v3.2.1-1134-gac6036b

2015-03-20 Thread Zack Galbreath
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 ac6036ba4216f1059b2e9531676de6a99e79227e (commit) via

Re: [cmake-developers] RFC: CMake precompiled header support and custom compiler based implementation

2015-03-20 Thread Daniel Pfeifer
On Fri, Mar 20, 2015 at 6:35 PM, Amine Khaldi amine.kha...@reactos.org wrote: Two requests please: * The option to use existing headers instead of autogenerated ones. That is an implementation detail. It should not make a difference whether the precompiled header is used through your existing

[cmake-developers] [CMake 0015461]: Ninja generator does not honor COMMENT for TARGET POST_BUILD commands

2015-03-20 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15461 == Reported By:Chris Green Assigned To: