[cmake-developers] [CMake 0015288]: Add XCTest support to Xcode generator

Gregor Jasny gjasny at googlemail.com
Mon Dec 8 07:58:34 EST 2014


Hello,

what do you think would be the best way to add an XCTest bundle? So far
one has to write the following which is error prone:

add_library(CocoaExampleTest MODULE ...)

set_target_properties(CocoaExampleTest PROPERTIES
  BUNDLE_EXTENSION xctest
  BUNDLE TRUE
  XCTEST TRUE
  TEST_HOST CocoaExample
)

Thanks,
Gregor


More information about the cmake-developers mailing list