Hi Eric,

On 14/06/15 14:38, Eric Wing wrote:
> 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?

The excellent CMake documentation has the answer. The XCODE_ATTRIBUTE
help page here:
http://www.cmake.org/cmake/help/v3.2/prop_tgt/XCODE_ATTRIBUTE_an-attribute.html

Would have pointed you to CMAKE_XCODE_ATTRIBUTE
> http://www.cmake.org/cmake/help/v3.2/variable/CMAKE_XCODE_ATTRIBUTE_an-attribute.html

Hope that helps,
Gregor
-- 

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

Reply via email to