[CMake] Cross project include/link pathing?

2017-02-09 Thread Chris Johnson
We've been using CMake for a couple of years for C++ application building. We effectively set up our CMake project structure once, and mostly only change it to add new source files, etc. Currently, all C++ source is checked out of our SVN repository into one large tree. This tree actually

Re: [CMake] cmake -DX=Y -P : problem unsetting variables defined on command line

2017-02-09 Thread Sergey Zakharchenko
Hello Nils, >> cmake -DX=Y -P x.cmake > > > The above sets the *cache* variable X. OK, I didn't think that really applied as the script is executed standalone, so there's no cache in the regular sense of the word. Thanks for the explanation. Best regards, -- DoubleF -- Powered by

[CMake] Using CMAKE_INSTALL_PREFIX in custom install command fails with CPack

2017-02-09 Thread Martin Craig
Hi, got this problem which I've boiled down to a simple test case. My source dir contains just one file (realfile) and the installation should install this in bin and make a symlink from linkfile to it. This is the CMakeLists.txt file: cmake_minimum_required(VERSION 2.8.0)

[CMake] cmake 3.7.2. find_package(OpenMP) MSVC

2017-02-09 Thread Georg Schramm
Dear all,   I recently switched to cmake 3.7.2 on windows 7. I am building a project with openmp and use find_package(OpenMP). With cmake 3.5.2 and 3.6.3 the generation of the .sln file for VS 14 2015 works fine. However, with cmake 3.7.2 I get the error shown below.   All cmake versions were

[CMake] cmake -DX=Y -P : problem unsetting variables defined on command line

2017-02-09 Thread Sergey Zakharchenko
Hello list, I've been using CMake for quite some time and have only now found out this disturbing difference between SET(X) and SET(X ""). It happens in cmake -P mode when you try to unset variables which are defined on the command line, e.g. cmake -DX=Y -P x.cmake This x.cmake gives "X=Y":

Re: [CMake] cmake -DX=Y -P : problem unsetting variables defined on command line

2017-02-09 Thread Nils Gladitz
On 02/09/2017 04:10 PM, Sergey Zakharchenko wrote: cmake -DX=Y -P x.cmake The above sets the *cache* variable X. This x.cmake gives "X=Y": SET(X) MESSAGE("X=${X}") The above unsets the *regular* variable X (leaving the cache variable X intact). This, too, gives "X=Y": UNSET(X)

Re: [CMake] Using CMAKE_INSTALL_PREFIX in custom install command fails with CPack

2017-02-09 Thread Domen Vrankar
2017-02-09 12:08 GMT+01:00 Martin Craig : > Hi, got this problem which I've boiled down to a simple test case. My > source dir contains just one file (realfile) and the installation should > install this in bin and make a symlink from linkfile to it. This is the >

Re: [cmake-developers] ​Qt Creator vs CMake server mode

2017-02-09 Thread Konstantin Podsvirov
Ping and hello again! 25.12.2016, 21:42, "Konstantin Podsvirov" :Since Qt Creator 4.3 release (now aka master branch) will get project information via CMake server (since 3.7 release). For more info see:

[Cmake-commits] CMake branch, next, updated. v3.8.0-rc1-49-gb9bc47f

2017-02-09 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 b9bc47f7cb9806eb328f830ca162d1b08222b247 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.8.0-rc1-51-ge703924

2017-02-09 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 e70392430de41387679706c6c1b01cc74b261aa5 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.8.0-rc1-23-gada0bc2

2017-02-09 Thread Kitware Robot
_VERSION_MINOR 8) -set(CMake_VERSION_PATCH 20170209) +set(CMake_VERSION_PATCH 20170210) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/