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 : > http:/

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 proje

[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] 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 configuri

[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] 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 ongoing work to suppor

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 I shall send > the atta