[cmake-developers] [PATCH 0/6] XCTest Bundles v4

Gregor Jasny gjasny at googlemail.com
Sun Feb 15 15:52:57 EST 2015


Hello,

this series contains the latest XCTest patches.

Changes since v3:
  Added Cocoa App Bundle Test example
  Added documentation to XCTestUtilities.cmake
  Some minor cleanups

This patch set is also available on github:
  URL: https://github.com/gjasny/CMake.git 
  Branch: feature/xctest-for-frameworks

Thanks,
Gregor

Gregor Jasny (6):
  Add handling for XCTest bundles
  Shorten CFBundleExecutable to file name only
  Also add Platform specific Frameworks to Darwin Framework search path
  Add XCTest helper utilities
  Add XCTest example to test Frameworks
  Add XCTest example to test Cocoa App Bundles

 Help/manual/cmake-modules.7.rst                    |   1 +
 Help/manual/cmake-properties.7.rst                 |   1 +
 Help/module/XCTestUtilities.rst                    |   1 +
 Help/prop_tgt/XCTEST.rst                           |  10 +
 Modules/Platform/Darwin.cmake                      |   5 +
 Modules/XCTestUtilities.cmake                      | 120 ++++
 Source/cmGlobalXCodeGenerator.cxx                  |  12 +-
 Source/cmOSXBundleGenerator.cxx                    |   3 +-
 Source/cmTarget.cxx                                |  16 +-
 Source/cmTarget.h                                  |   3 +
 Tests/XCTest/CMakeLists.txt                        |  63 ++
 Tests/XCTest/CocoaExample/AppDelegate.h            |   7 +
 Tests/XCTest/CocoaExample/AppDelegate.m            |  18 +
 Tests/XCTest/CocoaExample/Info.plist               |  30 +
 Tests/XCTest/CocoaExample/MainMenu.xib             | 680 +++++++++++++++++++++
 Tests/XCTest/CocoaExample/main.m                   |   5 +
 Tests/XCTest/CocoaExampleTests/CocoaExampleTests.m |  13 +
 Tests/XCTest/FrameworkExample/FrameworkExample.c   |   6 +
 Tests/XCTest/FrameworkExample/FrameworkExample.h   |   1 +
 Tests/XCTest/FrameworkExample/Info.plist           |  28 +
 .../FrameworkExampleTests/FrameworkExampleTests.m  |  16 +
 Tests/XCTest/FrameworkExampleTests/Info.plist      |  24 +
 Tests/XcodePlatformFrameworks/CMakeLists.txt       |  38 ++
 23 files changed, 1097 insertions(+), 4 deletions(-)
 create mode 100644 Help/module/XCTestUtilities.rst
 create mode 100644 Help/prop_tgt/XCTEST.rst
 create mode 100644 Modules/XCTestUtilities.cmake
 create mode 100644 Tests/XCTest/CMakeLists.txt
 create mode 100644 Tests/XCTest/CocoaExample/AppDelegate.h
 create mode 100644 Tests/XCTest/CocoaExample/AppDelegate.m
 create mode 100644 Tests/XCTest/CocoaExample/Info.plist
 create mode 100644 Tests/XCTest/CocoaExample/MainMenu.xib
 create mode 100644 Tests/XCTest/CocoaExample/main.m
 create mode 100644 Tests/XCTest/CocoaExampleTests/CocoaExampleTests.m
 create mode 100644 Tests/XCTest/FrameworkExample/FrameworkExample.c
 create mode 100644 Tests/XCTest/FrameworkExample/FrameworkExample.h
 create mode 100644 Tests/XCTest/FrameworkExample/Info.plist
 create mode 100644 Tests/XCTest/FrameworkExampleTests/FrameworkExampleTests.m
 create mode 100644 Tests/XCTest/FrameworkExampleTests/Info.plist
 create mode 100644 Tests/XcodePlatformFrameworks/CMakeLists.txt

-- 
2.3.0



More information about the cmake-developers mailing list