Hi all,

Using the Xcode project generator, there didn't seem to be a way to specify a 
project-level organization name, so I added the ability to do just that by 
setting CMAKE_XCODE_ORGANIZATIONNAME.

For example, if CMAKE_XCODE_ORGANIZATIONNAME is set to "My Company, Inc.," when 
you create new files within Xcode, you'll now end up with a header comment 
similar to the following:

> //                                                                            
>                                                                               
>                         
> //  Foo.cpp
> //  some-project
> //
> //  Created by Joe Schmoe on 8/25/15.
> //  Copyright (c) 2015 My Company, Inc. All rights reserved.
> //

Without CMAKE_XCODE_ORGANIZATIONNAME set (and without this patch), header 
comments look like this:

> //                                                                            
>                                                                               
>                         
> //  Foo.cpp
> //  some-project
> //
> //  Created by Joe Schmoe on 8/25/15.
> //
> //


I tried to adhere to the surrounding coding style and whatnot. Let me know if 
anything needs massaging.

Cheers,
Cody

Attachment: 0001-Add-support-for-Xcode-ORGANIZATIONNAME-project-setti.patch
Description: Binary data

-- 

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