Re: [CMake] CHECK_C_SOURCE_COMPILES and include_directories

2015-05-11 Thread Florian Weimer
* Rolf Eike Beer: CMAKE_REQUIRED_INCLUDES = list of include directories I saw that, but I thought this happens behind the scenes. Do I have to set this variable in addition to the include_directories directive? Yes, include_directories() only affects target, i.e. add_executable and

Re: [cmake-developers] [PATCH v2] FindHDF5.cmake HDF5_VERSION Support

2015-05-11 Thread Huebl, Axel
On 08.05.2015 19:07, Huebl, Axel wrote: This commit adds VERSION support for HDF5 from the same sources as it adds the HDF5_IS_PARALLEL flag. Previously posted on https://github.com/Kitware/CMake/pull/153 and improved with feedback from - Brad King - Rolf Eike Beer ---

Re: [CMake] Switching configuration to icc

2015-05-11 Thread Rahul Kumar Soni
I am very much thankful Cole, Gobbi, Wherry and Tom for your valuable suggestions. It worked like a charm with the following syntax: [Inside Build Directory] env CC=icc CXX=icpc ccmake [path-to-source-directory] -Wno-dev -- Sincerely Rahul Kumar Soni https://sites.google.com/site/rahuliitdhn/

Re: [cmake-developers] [PATCH v2] FindHDF5.cmake HDF5_VERSION Support

2015-05-11 Thread Rolf Eike Beer
Am 11.05.2015 10:29, schrieb Huebl, Axel: On 08.05.2015 19:07, Huebl, Axel wrote: This commit adds VERSION support for HDF5 from the same sources as it adds the HDF5_IS_PARALLEL flag. Previously posted on https://github.com/Kitware/CMake/pull/153 and improved with feedback from - Brad

Re: [cmake-developers] [PATCH v2] FindHDF5.cmake HDF5_VERSION Support

2015-05-11 Thread Huebl, Axel
On 11.05.2015 10:51, Rolf Eike Beer wrote: Am 11.05.2015 10:29, schrieb Huebl, Axel: On 08.05.2015 19:07, Huebl, Axel wrote: This commit adds VERSION support for HDF5 from the same sources as it adds the HDF5_IS_PARALLEL flag. Previously posted on

[Cmake-commits] CMake branch, next, updated. v3.2.2-2665-g27d3244

2015-05-11 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 27d3244480a208f7939a0d88e746cafe76397d58 (commit) via

Re: [cmake-developers] [PATCH v3] FindHDF5.cmake HDF5_VERSION Support

2015-05-11 Thread Huebl, Axel
This commit adds VERSION support for HDF5 from the same sources as it adds the HDF5_IS_PARALLEL flag. Previously posted on https://github.com/Kitware/CMake/pull/153 and improved with feedback from - Brad King - Rolf Eike Beer --- Modules/FindHDF5.cmake | 19 --- 1 file

Re: [cmake-developers] [CMake 0011944]: CPackDeb: Support dependencies between components/Debian packages

2015-05-11 Thread Raffi Enficiaud
Le 09/05/15 12:14, Domen Vrankar a écrit : I forgot that the previous patch has not yet been merged to master so no need to hurry. Hi Domen, Please find attached some rework on the documentation. There is no hurry :) Best, Raffi From f3cdd2e6c0d80d23da77fa9e5cc5cdce45270649 Mon Sep 17

[CMake] Tiny cmake question

2015-05-11 Thread Alexey Petruchik
Is it possible to rewrite: if (${OPENSSL_FOUND}) option(USE_OUR_OWN_MD5 Build using own md5 implementation OFF) else() option(USE_OUR_OWN_MD5 Build using own md5 implementation ON) endif() in one line? Something like: option(USE_OUR_OWN_MD5 Build using own md5 implementation NOT OPENSSL_FOUND)

[Cmake-commits] CMake branch, master, updated. v3.2.2-1092-gdf95367

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

Re: [CMake] Tiny cmake question

2015-05-11 Thread J Decker
On Mon, May 11, 2015 at 3:05 PM, Alexey Petruchik alexey.petruc...@gmail.com wrote: Is it possible to rewrite: if (${OPENSSL_FOUND}) option(USE_OUR_OWN_MD5 Build using own md5 implementation OFF) else() option(USE_OUR_OWN_MD5 Build using own md5 implementation ON) endif() in one line?

Re: [CMake] FindCuda compiler flag problems

2015-05-11 Thread James Bigler
The issue is that nvcc doesn't accept host compiler flags that are C++ only. It does understand a version of the command directly (-std c++11). There should be a fix for this in TOT. See if you can grab a nightly and test it out. James On Mon, May 11, 2015 at 10:54 AM, Wesley Smith

Re: [cmake-developers] cmake --help-policy CMP0057 MAIN_DEPENDENCY

2015-05-11 Thread James Bigler
OK, thanks. I still think that if there is a difference in behavior for Makefile generators between MAIN_DEPENDENCY and DEPENDENCY there is a bug in CMake. Perhaps there needs to be bug filed for that. Here's the documentation: In makefile terms this creates a new target in the following form::

[CMake] install/strip target doesn't exist?

2015-05-11 Thread J Decker
command: cmake.exe --build . --config release --target install/strip -- output: mingw32-make.exe: *** No rule to make target 'install\strip'. Stop. It reverses the slash? install doesn't always strip? does package strip? -- Powered by www.kitware.com Please keep messages on-topic and

Re: [CMake] install/strip target doesn't exist?

2015-05-11 Thread J Decker
yes. running strip on DLLs can take a 24k dll and make it 10k. https://drive.google.com/folderview?id=0B812EYiKwtkkfkc5bDI1RUZOaEtyV1VicUpva0Nkd09pN2V2YjFCODdNajRYNWRWZ2psZkE It has a lot of extra data even building with CMAKE_BUILD_TYPE=release On Mon, May 11, 2015 at 10:36 AM, Hendrik

[CMake] FindCuda compiler flag problems

2015-05-11 Thread Wesley Smith
Hi, I'm trying to compile w/ CUDA on Centos6 using Cuda7 and C++11. When I have host propagate flags on, the CXX flags get mangles with escapes like this: ,\-fPIE\,\--std=c++11\,\-DGLM_FORCE_RADIANS\,\-g\ which causes a ton of errors. If I turn host propagate flags off, I then have to

Re: [CMake] install/strip target doesn't exist?

2015-05-11 Thread Hendrik Sattler
Am 11. Mai 2015 18:46:13 MESZ, schrieb J Decker d3c...@gmail.com: command: cmake.exe --build . --config release --target install/strip -- output: mingw32-make.exe: *** No rule to make target 'install\strip'. Stop. It reverses the slash? install doesn't always strip? does package strip? Is