Re: [CMake] supporting cumulative variable operations via the commandline?

2016-03-21 Thread René J . V . Bertin
Hi, So how hard would it be to support syntax like -DFOO+=bar or even -DFOO-=bar on cmake's command line? Where would I have to start poking around if I wanted to make a draft/PoC implementation? Thanks, René -- Powered by www.kitware.com Please keep messages on-topic and check the CMake

Re: [CMake] EFFECTIVE_PLATFORM_NAME not expanded in TARGET_* generator expressions on iOS

2016-03-21 Thread Ruslan Baratov via CMake
On 21-Mar-16 19:42, Vladimír Vondruš wrote: Hello, I came across this problem when trying to use XCTest macros ( https://cmake.org/cmake/help/latest/module/FindXCTest.html ) on iOS. When compiling for OSX, ctest properly executes all test cases, but when targeting iOS or iOS simulator, all th

[CMake] EFFECTIVE_PLATFORM_NAME not expanded in TARGET_* generator expressions on iOS

2016-03-21 Thread Vladimír Vondruš
Hello, I came across this problem when trying to use XCTest macros ( https://cmake.org/cmake/help/latest/module/FindXCTest.html ) on iOS. When compiling for OSX, ctest properly executes all test cases, but when targeting iOS or iOS simulator, all the test cases fail similarly to the following: