Re: [CMake] Include XYZ.cmake from external project

2016-04-08 Thread Craig Scott
Matthias, check out the following article which solves exactly the same problem as yours, just with GoogleTest as the third party package: https://crascit.com/2015/07/25/cmake-gtest/ It includes a fully general implementation hosted on github (MIT license) which you can use directly in your

Re: [CMake] how to add custom command/step to ExternalProject_Add ?

2016-04-08 Thread David Cole via CMake
This file has an example use which executes after download and before configure: https://github.com/Kitware/CMake/blob/master/Tests/ExternalProjectLocal/CMakeLists.txt HTH, David C. > On Apr 8, 2016, at 6:39 PM, jagernico...@legtux.org wrote: > > Hi, > > my question is related to : >

[CMake] how to add custom command/step to ExternalProject_Add ?

2016-04-08 Thread jagernicolas
Hi, my question is related to : http://stackoverflow.com/questions/36506300/using-autogen-sh-with-externalproject-add [1] I have to use ExternalProject_Add to compile https://github.com/fukuchi/libqrencode [2] as a gitmodule, it requires to run autogen.sh before running configure. I don't

Re: [CMake] Fwd: CPack does not generate a RPM

2016-04-08 Thread Kristian
I think others also may be interested in this. Please send a copy of your example ... 2016-04-08 8:31 GMT+02:00 Wang, Peng 1. (Nokia - CN/Hangzhou) : > Hi, > > Sorry guys, I am busy on some prioritized tasks. > I've made a simple example, can I send in attachment? Or maybe

Re: [CMake] Is there any ongoing work to support toolset Clang 3.7 with Microsoft CodeGen (v140_clang_3_7)

2016-04-08 Thread Gilles Khouzam
Yes, support has been added to the nightly builds. Mariusz has added support for this. -Original Message- From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of foru...@smartmobili.com Sent: Friday, April 1, 2016 03:16 To: CMake ML Subject: [CMake] Is there any

[CMake] Include XYZ.cmake from external project

2016-04-08 Thread Matthias Möller
Dear all, I have difficulties including a XYZ.cmake file from an external project. ExternalProject_Add(MTL4 SVN_REPOSITORYhttps://simunova.zih.tu-dresden.de/svn/mtl4/trunk SVN_USERNAME guest SVN_PASSWORD guest SVN_TRUST_CERT1 TIMEOUT 180 PREFIX

Re: [CMake] Include XYZ.cmake from external project

2016-04-08 Thread Nicholas Braden
To solve the dependency order problem, generally you would make a superbuild which builds your dependencies and also your own project via ExternalProject, using the DEPENDS option to guarantee build order. This way all your dependencies are fully built and installed before it even gets to

Re: [CMake] Fwd: CPack does not generate a RPM

2016-04-08 Thread Wang, Peng 1. (Nokia - CN/Hangzhou)
Hi, Sorry guys, I am busy on some prioritized tasks. I've made a simple example, can I send in attachment? Or maybe I shall send the attachment only to you two? Wang Peng (Rex) Seat: 21F HZ SE Team +86018605811125 -Original Message- From: CMake [mailto:cmake-boun...@cmake.org] On

[cmake-developers] Integration of clang-tidy

2016-04-08 Thread Daniel Pfeifer
Hi, I implemented the integration of `clang-tidy` along the lines of the `include-what-you-use` integration. There is a new `_CLANG_TIDY` target property that is initialized with the value of the `CMAKE__CLANG_TIDY` variable. It contains the command line for `clang-tidy` as a ;-list. Example

[Cmake-commits] CMake branch, next, updated. v3.5.1-869-g4a2613a

2016-04-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 4a2613a52302d6c09d557af2d97d0c513307d84a (commit) via

[Cmake-commits] CMake branch, master, updated. v3.5.1-423-gf6c5958

2016-04-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, master has been updated via f6c5958047ee8a9084bf230a6c1acb4801cb2b93 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.5.1-874-g485e5b8

2016-04-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 485e5b80cffaaff53db3dfab3b5461598d634c35 (commit) via

[Cmake-commits] CMake branch, release, updated. v3.5.1-14-g9729dfb

2016-04-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, release has been updated via 9729dfb76547cf88183314ece57cb14e1d20f046 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.5.1-879-g334ecf8

2016-04-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 334ecf8dd559b07d100175a53965e0cf858676d7 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.5.1-427-g2b58cf8

2016-04-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, master has been updated via 2b58cf8e869a25a7557e0456d62818360e606395 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.5.1-420-g1baf2cb

2016-04-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, master has been updated via 1baf2cbd3dfd76aadcbfd84f6d42d13fcb838218 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.5.1-872-g3dddd4e

2016-04-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 34efd46f8b8302a97ae1fcd6821261124b58 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.5.1-418-g2369f19

2016-04-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, master has been updated via 2369f19a7a2fceacad32e137f1eb61bebcf9c608 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.5.1-865-g8554832

2016-04-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 8554832559700c8cda4ed2bdedfcd157addf9a94 (commit) via

[cmake-developers] Suggest if function has lte gte operators

2016-04-08 Thread Harry Mallon
CMake's "if" functionality is missing greater than or equal to and less than or equal to. This change could be tweaked and added to provide this functionality to avoid things like "if(VERSION_STRING VERSION_GREATER "4.8.0" OR VERSION_STRING VERSION_EQUAL "4.8.0")". Commit on github:

Re: [cmake-developers] Suggest if function has lte gte operators

2016-04-08 Thread Ben Boeckel
On Fri, Apr 08, 2016 at 14:24:08 +, Harry Mallon wrote: > CMake's "if" functionality is missing greater than or equal to and > less than or equal to. This change could be tweaked and added to > provide this functionality to avoid things like "if(VERSION_STRING > VERSION_GREATER "4.8.0" OR

Re: [cmake-developers] Suggest if function has lte gte operators

2016-04-08 Thread Rolf Eike Beer
Am Freitag, 8. April 2016, 14:24:08 schrieb Harry Mallon: > CMake's "if" functionality is missing greater than or equal to and less than > or equal to. This change could be tweaked and added to provide this > functionality to avoid things like "if(VERSION_STRING VERSION_GREATER > "4.8.0" OR

Re: [cmake-developers] Suggest if function has lte gte operators

2016-04-08 Thread Brad King
On 04/08/2016 10:24 AM, Harry Mallon wrote: > "if(VERSION_STRING VERSION_GREATER "4.8.0" OR VERSION_STRING VERSION_EQUAL > "4.8.0")". As others have said this can be done with if(NOT version VERSION_LESS 4.8.0) > Commit on github: >

Re: [cmake-developers] Suggest if function has lte gte operators

2016-04-08 Thread Harry Mallon
That is completely fair. Perhaps a bit of Friday brain from me. It still could reduce complexity if you are trying to do something more complicated. In my opinion A is easier to read than B. A: if ( $1 STRGREATER_EQ $2 AND $3 STRLESS $4 AND $5 STRLESS_EQ $6 ) B: if ( NOT $1 STRLESS $2 AND $3

[cmake-developers] [CMake 0016056]: file(GENERATE) not processing variables from INPUT file

2016-04-08 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == https://cmake.org/Bug/view.php?id=16056 == Reported By:johnnyzz Assigned To: