On 01/28/2015 02:14 PM, Gregor Jasny wrote: > XCODE_ATTRIBUTE_TEST_HOST "$<TARGET_FILE:CocoaExample>" > > Would you consider applying the attached patch?
It looks okay to me. > How would you test that feature? Just grepping in the generated pbxproj? Add a case to the Tests/RunCMake/XcodeProject/RunCMakeTest.cmake file: run_cmake(XcodeAttributeGenex) and add the associated test code next to it in XcodeAttributeGenex.cmake: enable_language(C) ... set_property(TARGET ...) Then create a XcodeAttributeGenex-check.cmake script to read the project file. See the existing XcodeFileType case for an example. 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
