Re: [CMake] CMake 3.7.1 gui fails to launch

2017-01-09 Thread Daniel Schepler
Another alternative, which is the one we use here, is to configure the custom Qt build with a "-qtlibinfix" flag - which produces libraries with completely different SONAMEs so there's no conflict. (We use this in conjunction with an RPATH.) One thing that could break is that some distribution

[CMake] Mixing CPack and ExternalProject

2017-01-09 Thread Steven Stallion
All, I currently have a set of packages defined as ExternalProjects and packaged up with CPack. I've noticed recently that the preinstall step has begun failing for a given package and after a little digging, I've realized that I've likely been using CPack incorrectly for years. So, rather than p

Re: [CMake] [EXTERNAL]: Up to date iOS instructions

2017-01-09 Thread Parag Chandra
Hi Harry, I’m not sure about any official instructions, but here’s how I’m doing it: # Adapted from https://code.google.com/p/ios-cmake/ # Standard settings set (CMAKE_SYSTEM_NAME Darwin) set (CMAKE_SYSTEM_VERSION 1) set (UNIX True) set (APPLE True) set (IOS True) # Required as of cmake 2.8.10

[CMake] SET(ENV{PKG_CONFIG_SYSROOT_DIR} $FOO) doesn't work on the first run

2017-01-09 Thread Antoine Villeret
Hello everyone, in my toolchain file I have : SET(ENV{PKG_CONFIG_SYSROOT_DIR} "${RPI_ROOT_PATH}") then I run : cmake -DCMAKE_TOOLCHAIN_FILE=${PWD}/../of/dev/arm-linux-gnueabihf.cmake -DRPI_ROOT_PATH='/tmp/rpi/root' -DOF_PLATFORM=armv7 -G Ninja ../of Environnement variable PKG_CONFIG_SYSROO

Re: [CMake] How do static libraries get linked in Ninja?

2017-01-09 Thread Robert Maynard
When I make an example project I see the following link line /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/example.dir/test.cpp.o -o example liblib1.a liblib2.a && : Can you provi

[CMake] Up to date iOS instructions

2017-01-09 Thread Harry Mallon
Hello, Are there any up to date instructions for doing iOS builds? There are load of tutorials going back many years on Google. I am using something based on this https://github.com/cristeab/ios-cmake as a toolchain file currently but I am seeing the ${EFFECTIVE_PLATFORM_NAME} generator express

Re: [CMake] Tracing ctest crash on windows

2017-01-09 Thread Stuermer, Michael SP/HZA-ZSEP
Hallo Aaron, if you’d like to have the full luxury of visual studio with test explorer and running/debugging tests directly as you can do it with other .NET based tests etc. you can try these extensions: - child process debugging power tools (https://marketplace.visualstudio.com/item