Difference between revisions of "Compiling ScummVM/macOS"

Jump to navigation Jump to search
→‎Creating an Xcode project: Simplify instructions
(→‎Compiling ScummVM: clarified -j)
(→‎Creating an Xcode project: Simplify instructions)
Line 202: Line 202:


=== Creating an Xcode project ===
=== Creating an Xcode project ===
* Compile '''create_project''', it will be inside devtools/create_project. The make command has to be executed from the ScummVM sources root
* Compile '''create_project''':
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
make devtools/create_project
cd devtools/create_project/xcode
xcodebuild
</syntaxhighlight>
</syntaxhighlight>
Or alternatively you can use the Xcode project in devtools/create_project/xcode. Open it in Xcode or run the following command:
<syntaxhighlight lang="bash">
cd devtools/create_project/xcode; xcodebuild
</syntaxhighlight>
There is a known issue when building on macOS 10.14 (Mojave) or above resulting in a blurry display on retina screen. If you are using Xcode 11 or above you can enable a workaround by defining MACOSX_NO_SDKVERSION at the top of the ''devtools/create_project/xcode.cpp'' file (it is commented out by default) before compiling create_project.
* Run create_project '''from the root ScummVM directory''':
* Run create_project '''from the root ScummVM directory''':
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
./devtools/create_project/create_project . --xcode
cd ../../..
./devtools/create_project/xcode/build/Release/create_project . --xcode
</syntaxhighlight>
</syntaxhighlight>


TrustedUser
2,147

edits

Navigation menu