Re: [CMake] Variables substituted in CPack RPM component user binary specfile

2016-02-08 Thread Domen Vrankar
> Specifying a user binary specfile for CPack RPM packages is done like this: > > set(CPACK_RPM_blah_USER_BINARY_SPECFILE blah.spec.in) > > The documentation says the "specified file will be processed by > configure_file( @ONLY)." However, exactly which variables are available for > substitution? I

[CMake] Variables substituted in CPack RPM component user binary specfile

2016-02-08 Thread Andrew Helten
Specifying a user binary specfile for CPack RPM packages is done like this: set(CPACK_RPM_blah_USER_BINARY_SPECFILE blah.spec.in) The documentation says the "specified file will be processed by configure_file( @ONLY)." However, exactly which variables are available for substitution? Is there a li

Re: [CMake] CMAKE_MODULE_PATH ignored

2016-02-08 Thread Micha Hergarden
On 08/02/16 19:35, Alain Miniussi wrote: > On 08/02/2016 18:43, Alain Miniussi wrote: >> >> Hi, >> >> I am trying to fix FindHDF5.cmake (support for HDF5_ROOT is broken, >> only environment variable is supported and it will be eventually >> probably ignored in find_program). >> >> To that end, I'd

Re: [CMake] CMAKE_MODULE_PATH ignored

2016-02-08 Thread Alain Miniussi
On 08/02/2016 18:43, Alain Miniussi wrote: Hi, I am trying to fix FindHDF5.cmake (support for HDF5_ROOT is broken, only environment variable is supported and it will be eventually probably ignored in find_program). To that end, I'd like to copy it in my source tree and use that version inste

[CMake] CMAKE_MODULE_PATH ignored

2016-02-08 Thread Alain Miniussi
Hi, I am trying to fix FindHDF5.cmake (support for HDF5_ROOT is broken, only environment variable is supported and it will be eventually probably ignored in find_program). To that end, I'd like to copy it in my source tree and use that version instead of the one in /usr/shared/cmake. Accord

Re: [CMake] [cmake-developers] Drop support for older Xcode versions?

2016-02-08 Thread Sean McBride
On Mon, 8 Feb 2016 10:31:17 -0500, Brad King said: >Sean, it looks like you are still running nightly tests on OS X >10.6 with Xcode 4.2: > > https://open.cdash.org/viewNotes.php?buildid=4226138 > >and OS X 10.5 with Xcode 3.1: > > https://open.cdash.org/viewNotes.php?buildid=4226202 Yeah, most

Re: [CMake] [cmake-developers] Drop support for older Xcode versions?

2016-02-08 Thread Brad King
On 02/07/2016 01:54 PM, Michael Jackson wrote: >> What is the oldest version of OS X that CMake actually runs on? >> I guess I would support the last version of Xcode that actually >> ran on that platform. In reality this is probably 10.6.8? [snip] On 02/08/2016 10:21 AM, Sean McBride wrote: > What

Re: [CMake] [cmake-developers] Drop support for older Xcode versions?

2016-02-08 Thread Brad King
On 02/07/2016 01:54 PM, Michael Jackson wrote: >> What is the oldest version of OS X that CMake actually runs on? >> I guess I would support the last version of Xcode that actually >> ran on that platform. In reality this is probably 10.6.8? [snip] On 02/08/2016 10:21 AM, Sean McBride wrote: > What

Re: [CMake] [cmake-developers] Drop support for older Xcode versions?

2016-02-08 Thread Sean McBride
On Sat, 6 Feb 2016 11:49:07 +0100, Gregor Jasny via cmake-developers said: >I'd like to get your feedback on deprecating or dropping support for >older Xcode versions. During changes on the Xcode generator it gets >harder and harder to test against old and very old Xcode versions like 3 >and 4. >

Re: [CMake] Find correct boost among peers

2016-02-08 Thread Johnson, Matt (GE Healthcare)
Scott, Rather than having the versions fight one another in BOOST_ROOT, you might consider modifying the CMAKE_PREFIX_PATH to include the versions of boost you have - find_package will search there first (you might be able with just giving it the parent of the boost version). If you set the ve

Re: [CMake] Question on usage of cmake on Windows with clang

2016-02-08 Thread Cristian Adam
On Mon, Feb 8, 2016 at 1:56 PM, Victor Leschuk wrote: > Hello, I am trying to use clang with cmake on Windows. > > I have compiled LLVM+clang using Visual Studio 2015. And now I am facing > problems with building cmake projects using this clang. It looks like cmake > is trying to pass wrong optio

[CMake] Question on usage of cmake on Windows with clang

2016-02-08 Thread Victor Leschuk
Hello, I am trying to use clang with cmake on Windows. I have compiled LLVM+clang using Visual Studio 2015. And now I am facing problems with building cmake projects using this clang. It looks like cmake is trying to pass wrong options to linker. Here simple test project: $ cat CMakeLists.tx

[CMake] Qt5 + cmake = SLOW moc.exe

2016-02-08 Thread Petar Petrov
hello cmake community, just re-pasting what I've already posted on Qt forums: I'am experiencing some abysmal compilation time when it comes to building a relatively small Qt5 app in windows. The problem resembles alot the reported here issue : http://lists.qt-project.org/pipermail/interest/2015

Re: [CMake] cmake env - no command given

2016-02-08 Thread Petr Kmoch
Hi Lars. No, that's a "bug" in your command-line. In cmd, the caret ^ is used as a general escape character for escaping spaces, pipes etc. But to escape quotes, a backslash \ is used (yes, the escaping rules in cmd are weird). So the backslash preceding the quote is taken by cmd to be an escape c

[CMake] cmake env - no command given

2016-02-08 Thread Lars
Hello, Using Windows 7 SP1 and cmake 3.3.0 The first command below works (starts calc) when execute in cmd shell. The second command produces the error message "cmake -E env: no command given". Is this a bug in cmake? "C:\Program Files (x86)\CMake\bin\cmake.exe" -E env "PATH=C:\temp" calc "

Re: [CMake] Find correct boost among peers

2016-02-08 Thread Petr Kmoch
Hi Scott. Regarding the delimiters: you'd see them if you included the dereference in the quotes: "Boost root: ${BOOST_ROOT}". When outside quotes, the delimiters are effectively swallowed up by message(). Regarding the main issue: I could be wrong, but from a quick glance at the FindBoost.cmake