Re: [CMake] CCACHE_DIR Environment Variable

2017-01-31 Thread Florent Castelli
On 31/01/2017 23:34, Craig Scott wrote: If you need to set CCACHE_DIR as an environment variable, then my previous email shows how to embed that in the launcher script, which will work for both Xcode and Linux (since the same launcher script is ultimately being invoked for both cases). All th

[CMake] Issue with Python Libs in CMake 3.4 and Beyond on Linux

2017-01-31 Thread Harrison, Cyrus D.
Hi Everyone, Consistent with the docs here: https://cmake.org/cmake/help/v3.7/module/FindPythonLibs.html We want to seed which python libs we want to look for by calling find_package(PythonInterp), which sets the PYTHON_LIBRARY path, before calling find_package(PythonLibs) Starting with CMake

[CMake] Cross-compilation issue with CHECK_SYMBOL_EXISTS

2017-01-31 Thread Jörg Krause
Hi, I have an issue using CMake for cross-compiling bctoolbox on a Debian 64-bit host system as a 32-bit target. The issue is in how the linker works when using CHECK_SYMBOL_EXISTS. bctoolbox uses its own module FindMbedTLS.cmake to check for the symbol `mbedtls_ssl_init`: """ find_path(MBEDTLS_

Re: [CMake] CCACHE_DIR Environment Variable

2017-01-31 Thread Craig Scott
On Wed, Feb 1, 2017 at 8:57 AM, David Lind wrote: > The example shown on https://crascit.com/2016/ > 04/09/using-ccache-with-cmake/ is for Xcode. Hence setting the > CMAKE_XCODE_ATTRIBUTE… variables. On Linux, what are these variables? Are > they CMAKE_ATTRIBUTE… without XCODE? > That example is

Re: [CMake] CCACHE_DIR Environment Variable

2017-01-31 Thread David Lind
The example shown on https://crascit.com/2016/04/09/using-ccache-with-cmake/ is for Xcode. Hence setting the CMAKE_XCODE_ATTRIBUTE… variables. On Linux, what are these variables? Are they CMAKE_ATTRIBUTE… without XCODE? > On Jan 19, 2017

[CMake] Green Hills MULTI generator CMAKE_ARCHIVE_OUTPUT_DIRECTORY has no effect

2017-01-31 Thread Arturo Crespo
Hello All, I'm trying to use the Green Hills MULTI generator with CMake 3,6,2 and I'm having some problems with static libraries. I'm creating several static libraries projects and I want the library to be created in a specific folder different from the build folder, so I tried to use CMAKE_ARCHI

Re: [CMake] CMake 3.7.2 and parallel builds

2017-01-31 Thread Dave Flogeras
On Mon, Jan 30, 2017 at 9:38 AM, Nils Gladitz wrote: > > I don't know how to do this with the generic dashboard targets ... > assuming no one else does either you could give CTest script mode a try > (ctest -S). > In script mode the ctest_build() command has a FLAGS option which takes > build too

[CMake] Visual Studio: force use of folders

2017-01-31 Thread Alexander Hans
Hi all, we have the following setup: Visual Studio 2013 Professional is installed, but for compatibility reasons we need to use the Visual Studio 2010 (vc100) compilers. To that end we have Visual Studio 2010 Express installed (to complicate things, we also need the Windows SDK 7.1 to get access t