I have been successful at setting Xcode properties on specific targets
with CMake via:
set_property (TARGET ${TARGET} PROPERTY
XCODE_ATTRIBUTE_${XCODE_PROPERTY} ${XCODE_VALUE})
But I have been unable to set properties on the global/root project.
Is there a way to do this?
Much of the time, I want to set a property on all my targets. I can
manually set each target, but visually inspecting the Xcode project is
more confusing this way because you have to understand how overrides
work. It's nice to just look at the root. (And I haven't figured out
how to set the built-in aggregate targets.)
But more annoyingly, sometimes I'm in places in the build system where
it is too early for a target or I don't have easy access to the target
name. It would be much easier to just set the global project and not
worry about needing a target to pass.
Thanks,
Eric
--
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