Re: [cmake-developers] [PATCH] Add a test for checking that the CPack module produces correct config files

2015-08-26 Thread Domen Vrankar
Hi, I apologise for the late reply. I wasn't at my computer for the past week. 2015-08-19 21:08 GMT+02:00 Роман Донченко d...@corrigendum.ru: Currently, the only case is for simple variable values (not containing any CMake-special characters and not determined by CPack itself). In CPackRPM

Re: [cmake-developers] Fixing bug #12506 (iOS install)

2015-08-26 Thread Gregor Jasny via cmake-developers
Hallo, On 13/08/15 12:56, Ruslan Baratov wrote: On 13-Aug-15 08:46, Gregor Jasny wrote: On 13/08/15 01:44, Ruslan Baratov via cmake-developers wrote: Sending patches with fix. Now it's possible to install simulator libraries by: cmake --build _builds --config Release --target install --

Re: [cmake-developers] ExternalProject: Use native paths as substitute for directory tokens

2015-08-26 Thread CHEVRIER, Marc
I agree with David. Offering the possibility to manage native paths in an easy way is a very good enhancement (Today, I rely on some specific actions when I am on Win32 to manage native path for ONE specific step of ExternalProject) BUT, offering only the alternative to have NONE or ALL paths

Re: [cmake-developers] Xcode 7 tbd library stub support

2015-08-26 Thread Gregor Jasny via cmake-developers
On 25/08/15 19:01, Brad King wrote: On 08/24/2015 04:43 PM, Gregor Jasny via cmake-developers wrote: I just pushed a topic branch to add support for Xcode 7 TDB files: http://www.cmake.org/gitweb?p=stage/cmake.git;a=shortlog;h=refs/heads/apple-tbd-stubs Thanks. Please merge to 'next' when

Re: [CMake] How to add to CMAKE_C_FLAGS during cache priming?

2015-08-26 Thread Philip Semanchuk
On 8/25/2015 11:34 AM, Parag Chandra wrote: Hi Philip, I think I had a similar problem a while back. You basically need to initialize CMake’s cache values the first time you run it to create a new build system. So something like this: cmake -C InitialCacheValues.cmake And then your

Re: [cmake-developers] New policy to address rdynamic

2015-08-26 Thread Stephen Kelly
Chuck Atkins wrote: I've implemented a new policy, CMP0065, to restrict the addition of CMAKE_SHARED_LIBRARY_LINK_LANG_FLAGS to executables to only when the ENABLE_EXPORTS target property is set. This should allow us to preserve backwards compatibility in the places it breaks existing

[cmake-developers] CMake/CPack Docker Integration

2015-08-26 Thread Aris Synodinos
Dear all, We have received funding from the Greek Free/Open Source Software Society https://ellak.gr/greek-free-open-source-software-societygfoss/ to develop Docker integration to CMake and CPack. As a first step, we have created a simple questionaire for collecting user and developer input

Re: [CMake] Prefix header for Makefiles

2015-08-26 Thread Bill Hoffman
CMake does not really support this. At build time CMake scans the source files and builds the depend list. Since your file is not actually included it does not end up in the depend list. To add this as a feature you would have to put the information into DependInfo.cmake and have

[cmake-developers] [CMake 0015713]: CMake generates “-L/usr/local/lib” on Mac OSX

2015-08-26 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15713 == Reported By:ovz Assigned To:

Re: [cmake-developers] [CPack] CPackDeb and fakeroot

2015-08-26 Thread Domen Vrankar
Hi, I see that I'm a bit late to the party... Wasn't at my computer for the past few days. Now if you find a way to set root ownership in archive created by CPackDeb then every deb package will have those right. Again two solutions: - using system tar with the proper uid/gid options -

Re: [cmake-developers] nvidia nsight tegra set vcxproj properties (Ant Build) in cmake file

2015-08-26 Thread Peter List
Awesome - in that case I'll use this built-in support instead of spending time on writing a python script to call from add_custom_command(). It's not officially documented yet ( http://bit.ly/1MOzB0S ), but I can use the link you sent ( http://bit.ly/1UdL3nc ) for documentation. I'm not sure

Re: [cmake-developers] ExternalProject: Use native paths as substitute for directory tokens

2015-08-26 Thread Kislinskiy, Stefan
Would you prefer to have a switch for each *_DIR variable for all target steps, or a common switch but for each target step, like the new USE_TERMINAL switches in the master? Von: CHEVRIER, Marc [marc.chevr...@sap.com] Gesendet: Mittwoch, 26. August 2015

Re: [cmake-developers] [CPack] CPackDeb and fakeroot

2015-08-26 Thread Raffi Enficiaud
Le 26/08/15 01:07, Eric Noulard a écrit : Right, but I am more concerned about the proper way of doing it and not the difficulty. From all this discussion, using fakeroot directly does not look to me as the right solution for having root in the tar, in the first place. So if we

Re: [cmake-developers] ExternalProject: Use native paths as substitute for directory tokens

2015-08-26 Thread Kislinskiy, Stefan
I see. Added native-style path replacements for SOURCE_NATIVE_DIR and so on. Also extended the documentation accordingly. Von: CHEVRIER, Marc [marc.chevr...@sap.com] Gesendet: Mittwoch, 26. August 2015 10:26 An: Kislinskiy, Stefan; David Cole Cc:

Re: [cmake-developers] ExternalProject: Use native paths as substitute for directory tokens

2015-08-26 Thread CHEVRIER, Marc
I didn’t even think about switches. I don’t think they are required. Adding the capability to handle paths in native format seems enough. Example: I want to use a specific tool for the build step which supports only native paths ExternalProjet_add ( …. SOURCE_DIR c:/sources/my_project

[cmake-developers] [CMake 0015712]: Add support for preprocessor definitions for Microsoft IDL (MIDL) compiler

2015-08-26 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15712 == Reported By:Michael Priestman Assigned To:

Re: [cmake-developers] nvidia nsight tegra set vcxproj properties (Ant Build) in cmake file

2015-08-26 Thread Dmitry Polyanitsa
Hi Peter, Note the commit Brad mentioned in another thread: VS: Add more Nsight Tegra generator Android property settings http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8c0afaf4 It adds the ability to set both Native Library Directories and Native Library Dependencies, among other

Re: [CMake] Prefix header for Makefiles

2015-08-26 Thread Andreas Pakulat
Hi, On Wed, Aug 26, 2015 at 3:10 PM, Jakob van Bethlehem jsvanbethle...@gmail.com wrote: Hej Andrew, CMake does never scan source files (as far as I know), as it is not a compiler. From your question it almost seem you are making this assumption, so I just wanted to make sure to mention at

[cmake-developers] Is there an official FindMKL module?

2015-08-26 Thread Siebren Reker
Hello, I am using the find_package() command to load settings for the Intel Math Kernel Library (MKL). This works through a custom FindMKL.cmake module that I've made for myself. However, when looking at: https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/ I can tell that what

[cmake-developers] New policy to address rdynamic

2015-08-26 Thread Chuck Atkins
I've implemented a new policy, CMP0065, to restrict the addition of CMAKE_SHARED_LIBRARY_LINK_LANG_FLAGS to executables to only when the ENABLE_EXPORTS target property is set. This should allow us to preserve backwards compatibility in the places it breaks existing binaries but allow us to remove

Re: [CMake] Prefix header for Makefiles

2015-08-26 Thread CHEVRIER, Marc
Hi, You are wrong. CMake, during configuration/generation phase generates dependencies over C/C++ files. So, the simple approach to handle dependency between Cpp and h files is to let CMake handle it: add_executable (my_exe Main.cpp) And, that it! By default current source directory is passed

Re: [cmake-developers] ExternalProject: Use native paths as substitute for directory tokens

2015-08-26 Thread James Johnston
-Original Message- From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On Behalf Of Kislinskiy, Stefan Sent: Wednesday, August 26, 2015 10:03 To: CHEVRIER, Marc; David Cole Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] ExternalProject: Use native

Re: [CMake] Prefix header for Makefiles

2015-08-26 Thread Jakob van Bethlehem
Hej Andrew, CMake does never scan source files (as far as I know), as it is not a compiler. From your question it almost seem you are making this assumption, so I just wanted to make sure to mention at least this. Then, for your particular issue: two things that come to my mind: * I’d imagine

Re: [cmake-developers] Is there an official FindMKL module?

2015-08-26 Thread Tim Gallagher
We sometime struggled to get it working, but we never had to resort to using a FindMKL -- FindBLAS and FindLAPACK work just fine for us, provided we do things correctly. So long as we have sourced the mklvars script that ships with Intel MKL and we put: BLA_VENDOR =Intel10_64lp_seq ccmake

Re: [cmake-developers] New policy to address rdynamic

2015-08-26 Thread Chuck Atkins
Maybe [TARGET_PROPERTIES prop1 value1 [prop1 value1]... ] makes sense instead? That would allow setting ANDROID_API, WIN32_EXECUTABLE etc. Good idea! I actually do like that better, but it's outside the scope of this change. For now I'll remove the ENABLE_EXPORTS but still propagate

Re: [cmake-developers] [PATCH] Add a test for checking that the CPack module produces correct config files

2015-08-26 Thread Роман Донченко
Domen Vrankar domen.vran...@gmail.com писал в своём письме Wed, 26 Aug 2015 22:27:43 +0300: 2015-08-19 21:08 GMT+02:00 Роман Донченко d...@corrigendum.ru: Currently, the only case is for simple variable values (not containing any CMake-special characters and not determined by CPack

[Cmake-commits] CMake branch, master, updated. v3.3.1-946-g81ad562

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