Re: [CMake] Version compatibility?

2016-04-25 Thread Vladimír Vondruš
In my case I'm going through changelogs to see what is added in which version. For example I switched to the imported target workflow recently and need to keep backward compatibility all the way back to 2.8.12 (because Ubuntu LTS). There are a lot of features that were added later and are crucia

[CMake] Imported target location for OSX frameworks

2016-04-07 Thread Vladimír Vondruš
Hello, sorry for flooding with e-mails today, it all kinda piled up. This one is about imported target location for frameworks on OSX (and thus also iOS). I saw the bugreport here https://cmake.org/Bug/view.php?id=14105 and that it was closed as "no change needed". The suggested solution was th

[CMake] Better handling of targets consisting of object files only

2016-04-07 Thread Vladimír Vondruš
Hello, I'm using `OBJECT` libraries quite a lot in my projects and more often than not I run into a situation where a target consists only of `$`. I know that CMake says the following about object libraries: "Some native build systems may not like targets that have only object files, so co

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

2016-04-06 Thread Vladimír Vondruš
rary if you run `cmake --build .` Hope the repro case is clear enough. Regards mosra ______ > Od: Gregor Jasny > Komu: "Vladimír Vondruš" , > Datum: 30.03.2016 14:15 > Předmět: Re: [CMake] EFFECTIVE_PLATFORM_NAME

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

2016-03-29 Thread Vladimír Vondruš
__ > Od: Ruslan Baratov > Komu: "Vladimír Vondruš" > Datum: 29.03.2016 15:20 > Předmět: Re: [CMake] EFFECTIVE_PLATFORM_NAME not expanded in TARGET_* > generator expressions on iOS > > CC: cmake@cmake.org >On 29-Mar-16 16:14, Vladimír Vondruš wrote

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

2016-03-29 Thread Vladimír Vondruš
e the latter is unusable, with the former I have at least the ability to use it with a single fixed SDK. Thanks mosra __ > Od: Ruslan Baratov > Komu: "Vladimír Vondruš" > Datum: 21.03.2016 14:56 > Předmět: Re: [CMake] EF

[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: