Re: [CMake] Visual Studio .sln post generate modifications?

2015-11-27 Thread Petr Kmoch
Hi. I don't know how exactly the Deploy checkbox value is stored inside the .sln file, but CMake has built-in ways of adding arbitrary sections and contents to the .sln file; see directory properties VS_GLOBAL_SECTION_PRE_ ( https://cmake.org/cmake/help/latest/prop_dir/VS_GLOBAL_SECTION_PRE_sectio

[CMake] Visual Studio .sln post generate modifications?

2015-11-27 Thread Tilman Skobowsky
Hi, we currently use CMake 3.3.x (x >= 2) on a C++ source code with Windows target only. In our company we're exclusively using Visual Studio (Version 2015 right now). Since we're using remote debugging we have the following problem: In order to set up Remote Debugging with VS, you have to

Re: [CMake] MSVC version string

2015-11-27 Thread Guillaume Dumont
You can also emulate a map like so: set(boost_toolset_1800 "msvc-12.0") set(boost_toolset_1900 "msvc-14.0") set(boost_toolset ${boost_toolset_${MSVC_VERSION}}) It's probably best to add some check on MSVC_VERSION since the set statement will silently set the boost_toolset variable to nothing if y

Re: [CMake] CPack: Debian package will not install on Linix-ppc

2015-11-27 Thread Domen Vrankar
2015-11-26 0:01 GMT+01:00 Bill Somerville : > Hi All, > > we are trying to get our Debian install package to install on a Linux > PowerPC system running Which version of CMake have you tried? Version 3.4.0 had some changes regarding how DEB packages are packaged (libarchive instead of system tar)