[cmake-developers] [PATCH] Generator expressions for XCODE_ATTRIBUTE

Gregor Jasny gjasny at googlemail.com
Wed Jan 28 14:14:08 EST 2015


Hello,

I'm still working on xctest support and decided that most logic should
be implemented as a function or macro outside of the C++ code base.

However to achive this I must be able to set the following property
on the xctest bundle:

XCODE_ATTRIBUTE_TEST_HOST "$<TARGET_FILE:CocoaExample>"

Would you consider applying the attached patch? If yes I will add the
necesary documentation.

How would you test that feature? Just grepping in the generated pbxproj?

Thanks,
Gregor

Gregor Jasny (1):
  Add support for Generator Expressions within XCODE_ATTRIBUTE target
    properties

 Source/cmGlobalXCodeGenerator.cxx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
1.9.3 (Apple Git-50)



More information about the cmake-developers mailing list