summaryrefslogtreecommitdiffstats
path: root/Modules/FindXCTest.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Xcode: Fixup XCTest bundle location for Xcode 7.3Gregor Jasny2016-03-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Prior to Xcode 7.3 a XCTest bundle was built like an ordinary bundle. But starting with Xcode 7.3 it is implicitely built as a plugin for the test host. It looks like in that case the 'Build Products Path' is ignored. This patch simply sets the CMake target output path to the value Xcode expects internally to get a matching view of both. The command: xcodebuild -showBuildSettings -target CocoaExampleTests -configuration Debug Output with Xcode 7.2: TARGET_BUILD_DIR = .../Tests/XCTest/Debug Output with Xcode 7.3 TARGET_BUILD_DIR = .../Tests/XCTest/Debug/CocoaExample.app/Contents/PlugIns Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
* OS X: Add FindXCTest moduleGregor Jasny2015-03-231-0/+196
Add a module to lookup XCTest Framework and xctest utility. It also provides APIs for creating 'xctest' targets. Signed-off-by: Gregor Jasny <gjasny@googlemail.com>