File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,24 +77,9 @@ line with `cmake --build . --config Release`.
7777Building the program using Xcode on Mac OS X
7878---------------------------------------------
7979
80- You can of course just open the Xcode project and build uncrustify using the
81- default 'Debug' configuration but if you want to install it the 'Install'
82- configuration will not work from within Xcode.
83-
84- For that you will have to use the Xcode command line tool 'xcodebuild'.
85-
86- To do that, cd into the uncrustify project folder where uncrustify.xcodeproj
87- resides and enter the following command:
88-
89- ```
90- $ sudo xcodebuild -configuration 'Install'
91- ```
92-
93- You will be prompted for the root level password. By doing this you will install
94- uncrustify into /usr/local/bin. The install location can be changed by editing
95- the Build Settings for the uncrustify target. The setting you need to change is
96- called, surprisingly enough, 'Installation Directory'.
80+ Use cmake with ` Xcode ` generator to generate Xcode project.
9781
82+ ` cmake -G Xcode .. `
9883
9984Configuring the program
10085-----------------------
You can’t perform that action at this time.
0 commit comments