Re: [CMake] Consuming results of ExternalProject_Add

2015-02-17 Thread Andrey Pokrovskiy
Thanks for your reply, Jean-Christophe. I don't see how External_OpenSSL.cmake is used in Slicer (probably some weird scheme is involved). But from what I see, it supposed to be used like that: include(External_OpenSSL) add_executable(my_executable main.cpp ...)

Re: [cmake-developers] Introduction and volunteering for the Matlab package

2015-02-17 Thread Raffi Enficiaud
Dear Brad, Please find attached a patch addressing the issues mentioned in your email. The tests were failing because of the following modification: - matlab_get_version_from_matlab_run(${Matlab_MAIN_PROGRAM} matlab_list_of_all_versions) +

[CMake] add_dependencies: Disallow use with INTERFACE_LIBRARY. WHY?!?

2015-02-17 Thread Andrey Pokrovskiy
Hi, Current CMake disallows Interface Libraries to have dependencies. However, I suspect that was done for a reason. Here is the commit for that change: commit 6db7e6d24c68085f16dcf6d8a86ae0f74e9a1f01 Author: Stephen Kelly steve...@gmail.com Date: Wed Dec 25 15:11:50 2013 +0100

Re: [CMake] add_dependencies: Disallow use with INTERFACE_LIBRARY. WHY?!?

2015-02-17 Thread Roman Bolshakov
I agree with Andrey, there should be a way to use interface library type with generated headers. There's a workaround but it involves manual set up of extra dependencies solely for dependency tracking. You have to add dependency between a target which consumes the generated headers and a

Re: [CMake] Consuming results of ExternalProject_Add

2015-02-17 Thread Jean-Christophe Fillion-Robin
Hi Andrey, On Tue, Feb 17, 2015 at 5:52 PM, Andrey Pokrovskiy wonder.m...@gmail.com wrote: I don't see how External_OpenSSL.cmake is used in Slicer (probably some weird scheme is involved). We used Artichoke that provides a set of convenience function to managed superbuild based project.

[Cmake-commits] CMake branch, master, updated. v3.2.0-rc1-163-g4fb9e84

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

[CMake] install(files...

2015-02-17 Thread Micha Renner
Hello, In the manual the install(FILES...) command is described as this: install(FILES|PROGRAMS files... DESTINATION dir [PERMISSIONS permissions...] [CONFIGURATIONS [Debug|Release|...]] [COMPONENT component] [RENAME name] [OPTIONAL]) So what is the meaning of

[cmake-developers] [CMake 0015408]: FindJNI missing JAVA_AWT_LIBRARY on JDK9 as jdk/lib/arch is not included in JAVA_AWT_LIBRARY_DIRECTORIES

2015-02-17 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15408 == Reported By:Tiago Stürmer Daitx Assigned To:

[CMake] CMake and Eclipse Luna

2015-02-17 Thread Robert Ramey
I'm using CMake 3.02 through CMake GUI. I have a CMake project which I want to build using Eclipse Luna (the most recent eclipse). But the GUI doesn't present me with that option. I tried to use the latest one (Helios) but it seems that it won't work with this option. What should I do in

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

2015-02-17 Thread Geoffrey Viola
I submitted a test report with all the tests passing. https://open.cdash.org/buildSummary.php?buildid=3698090. This test report includes the extra tests that I added. It looks like things are running even though I haven't made any changes specifically to fix those failing tests. One of the

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

2015-02-17 Thread Brad King
On 02/17/2015 10:47 AM, Geoffrey Viola wrote: I submitted a test report with all the tests passing. https://open.cdash.org/buildSummary.php?buildid=3698090. Great, thanks. However, we really need to have the cmake_common.cmake script used to drive it. What I was asking in my previous response

Re: [cmake-developers] [PATCH 0/6] XCTest Bundles v4

2015-02-17 Thread Brad King
On 02/15/2015 03:52 PM, Gregor Jasny wrote: this series contains the latest XCTest patches. Thanks. The primary remaining work is to figure out how to get these tests activated. IIRC in earlier discussion you said that some local machine setup is required. For that we need some kind of

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc1-370-gc64df1c

2015-02-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 c64df1c6575e49e0646b7b67a311278345e16595 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc1-374-ge5f2828

2015-02-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 e5f2828eed88f28a8ea27474996dc39bf0179f2b (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc1-368-g6f6d09a

2015-02-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 6f6d09a1697c3cbf27bf688ccf57787b2e6d9958 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc1-372-g9e5df9c

2015-02-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 9e5df9c8cba2b0b0a01a95ce44387650a2e1322a (commit) via

Re: [cmake-developers] Introduction and volunteering for the Matlab package

2015-02-17 Thread Brad King
On 02/13/2015 10:57 AM, Brad King wrote: I had to add two commits to the topic to fix some continuous testing failures: Please rebase further work on commit 5e91eb43. I will squash all this together later before merging to 'master'. After a few more fixes for other nightly testing failures

Re: [cmake-developers] [ANNOUNCE] CMake 3.2.0-rc1 now ready for testing!

2015-02-17 Thread Brad King
On 02/17/2015 02:41 AM, Stephen Kelly wrote: Orion Poplawski wrote: We're getting a fair number of test failures on Fedora Rawhide (with gcc 5 c++11): This is a bug in GCC. I filed a bug and committed a workaround: http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=aaad0bf3 Work

[Cmake-commits] CMake branch, master, updated. v3.2.0-rc1-162-g5c635fa

2015-02-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 5c635fa62414c408d04046079a5c0dac43f7cce2 (commit) via

Re: [cmake-developers] Introduction and volunteering for the Matlab package

2015-02-17 Thread Raffi Enficiaud
Dear Brad, Yes, thank you, you did well. And sorry for the delay, it takes more time than expected. Best regards, Raffi Enficiaud On 17 Feb 2015, at 16:16, Brad King brad.k...@kitware.com wrote: On 02/13/2015 10:57 AM, Brad King wrote: I had to add two commits to the topic to fix some

[CMake] Consuming results of ExternalProject_Add

2015-02-17 Thread Andrey Pokrovskiy
Hi, I'm using ExternalProject_Add() to build OpenSLL library. After install step I have following artifacts available: * libcrypto.a * libssl.a * include/openssl/*.h I wonder, what is the canonical way to make those artifacts available for other targets in the project? FindPackage style thing

Re: [CMake] CMake and Eclipse Luna

2015-02-17 Thread Alexander Neundorf
On Tuesday, February 17, 2015 10:28:26 Robert Ramey wrote: I'm using CMake 3.02 through CMake GUI. I have a CMake project which I want to build using Eclipse Luna (the most recent eclipse). But the GUI doesn't present me with that option. I tried to use the latest one (Helios) but it seems

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc1-401-g93f32ef

2015-02-17 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 93f32ef43a61c80e5084b0c8e03bf8db7b1ffaea (commit) via

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc1-387-gff7bdd5

2015-02-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 ff7bdd5e81b172fb44f6a3b3eb395290becc5e18 (commit) via

Re: [cmake-developers] [PATCH] User may now specify toolset through CMake GUI

2015-02-17 Thread Robert Dailey
On Tue, Feb 17, 2015 at 12:08 PM, Brad King brad.k...@kitware.com wrote: On 02/17/2015 12:21 PM, Robert Dailey wrote: What would be the best way to handle detecting which generators support toolset? The confusing piece I had to figure out last night is that there is simply no generator base

Re: [cmake-developers] [PATCH] User may now specify toolset through CMake GUI

2015-02-17 Thread Brad King
On 02/17/2015 01:43 PM, Robert Dailey wrote: Of course right now only Visual Studio and XCode support the toolset parameter Correct. Furthermore it is supported only for VS = 10. I was thinking of a case in the future where Eclipse CDT4 or Code Blocks may support toolsets. Would these be

Re: [cmake-developers] [PATCH] User may now specify toolset through CMake GUI

2015-02-17 Thread Brad King
On 02/17/2015 12:21 PM, Robert Dailey wrote: What would be the best way to handle detecting which generators support toolset? The confusing piece I had to figure out last night is that there is simply no generator base class from which everything derives, there are 2 types: extra

[Cmake-commits] CMake branch, next, updated. v3.2.0-rc1-376-ge0c5b99

2015-02-17 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 e0c5b99a7f0b970446633448b32b18d92d063d61 (commit) via

[CMake] How to force package target generate a file before proceeding

2015-02-17 Thread Shyrokov, Sasha
Hi, I would like to include a generated file into a package. I have something like that: include(CPack) add_custom_command (OUTPUT hgHash.txt COMMAND hg --debug id -i hgHash.txt COMMENT Getting hg hash) add_custom_target (hg_hash DEPENDS hgHash.txt COMMENT hg_hash target) Now

Re: [CMake] Consuming results of ExternalProject_Add

2015-02-17 Thread Jean-Christophe Fillion-Robin
Hi Andrey, Since there is already a FindOpenSSL.cmake module [1], configuring the consumer project with the variable expected by the FindOpenSSL.cmake module is the easiest. See

Re: [CMake] Buils executable vs Installed executable

2015-02-17 Thread Sergio Vera
Thanks Nils, It makes perfect sense with your explanation! Did not know anything about this RPATH family of variables before. Cheers and thanks again On Fri, Feb 13, 2015 at 11:28 AM, Nils Gladitz nilsglad...@gmail.com wrote: On 02/12/2015 06:40 PM, Sergio Vera wrote: Dear CMake users,