On 12/9/2014 6:02 AM, Gregor Jasny wrote:
> See: 
> https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/testing_with_xcode/

Thanks.

> On non-Apple platforms and Xcode < 5.0 those XCTest bundles are pretty
> useless.

What should CMake do on those platforms?  The fact that an add_library
call has occurred means it needs to do something with the target.
Should it be an error to ensure that the project adds such targets
only conditionally?

> Note: It is currently not possible to run the tests without opening Xcode
> once to (auto) generate the Schema files. Otherwise calling
> "xcodebuild test -scheme CocoaExample" will not recognise the scheme. 

Does this mean we can't automatically setup testing?

>  Tests/CocoaExample/CMakeLists.txt                  |  25 +

We'll need a way for this to actually run as part of nightly testing.
If manual interaction is needed then we could have an option that
the user could set to activate this on automated builds after taking
care of the manual step on the local machine.

Thanks,
-Brad
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to