mirror of
https://github.com/godotengine/godot-docs-l10n.git
synced 2025-12-31 09:49:22 +03:00
153 lines
6.4 KiB
Plaintext
153 lines
6.4 KiB
Plaintext
# SOME DESCRIPTIVE TITLE.
|
|
# Copyright (C) 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0)
|
|
# This file is distributed under the same license as the Godot Engine package.
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
#
|
|
#, fuzzy
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: Godot Engine latest\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:4
|
|
msgid "Xcode"
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:6
|
|
msgid "`Xcode <https://developer.apple.com/xcode>`_ is a free macOS-only IDE. You can download it from the Mac App Store."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:10
|
|
msgid "Importing the project"
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:12
|
|
msgid "From Xcode's main screen create a new project using the **Other > External Build System** template."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:18
|
|
msgid "Now choose a name for your project and set the path to scons executable in build tool (to find the path you can type ``where scons`` in a terminal)."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:24
|
|
msgid "Open the main target from the **Targets** section and select the **Info** tab."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:30
|
|
msgid "Fill out the form with the following settings:"
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:33
|
|
msgid "Arguments"
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:33
|
|
msgid "See :ref:`doc_introduction_to_the_buildsystem` for a full list of arguments."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:35
|
|
msgid "Directory"
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:35
|
|
msgid "A full path to the Godot root folder"
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:38
|
|
msgid "Add a Command Line Tool target which will be used for indexing the project by choosing **File > New > Target...**."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:45
|
|
msgid "Select **macOS > Application > Command Line Tool**."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:51
|
|
msgid "Name it something so you know not to compile with this target (e.g. ``GodotXcodeIndex``)."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:53
|
|
msgid "For this target open the **Build Settings** tab and look for **Header Search Paths**."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:54
|
|
msgid "Set **Header Search Paths** to the absolute path to the Godot root folder. You need to include subdirectories as well. To achieve that, add two two asterisks (``**``) to the end of the path, e.g. ``/Users/me/repos/godot-source/**``."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:58
|
|
msgid "Add the Godot source to the project by dragging and dropping it into the project file browser."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:59
|
|
msgid "Select **Create groups** for the **Added folders** option and check *only* your command line indexing target in the **Add to targets** section."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:66
|
|
msgid "Xcode will now index the files. This may take a few minutes."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:67
|
|
msgid "Once Xcode is done indexing, you should have jump-to-definition, autocompletion, and full syntax highlighting."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:71
|
|
msgid "Debugging the project"
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:73
|
|
msgid "To enable debugging support you need to edit the external build target's build and run schemes."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:75
|
|
msgid "Open the scheme editor of the external build target."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:76
|
|
msgid "Locate the **Build > Post Actions** section."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:77
|
|
msgid "Add a new script run action"
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:78
|
|
msgid "Under **Provide build settings from** select your project. This allows to reference the project directory within the script."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:80
|
|
msgid "Create a script that will give the binary a name that Xcode can recognize, e.g.:"
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:90
|
|
msgid "Build the external build target."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:92
|
|
msgid "Open the scheme editor again and select **Run**."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:98
|
|
msgid "Set the **Executable** to the file you linked in your post-build action script."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:99
|
|
msgid "Check **Debug executable**."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:100
|
|
msgid "You can add two arguments on the **Arguments** tab: the ``-e`` flag opens the editor instead of the Project Manager, and the ``--path`` argument tells the executable to open the specified project (must be provided as an *absolute* path to the project root, not the ``project.godot`` file)."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:105
|
|
msgid "To check that everything is working, put a breakpoint in ``platform/macos/godot_main_macos.mm`` and run the project."
|
|
msgstr ""
|
|
|
|
#: ../../docs/engine_details/development/configuring_an_ide/xcode.rst:108
|
|
msgid "If you run into any issues, ask for help in one of `Godot's community channels <https://godotengine.org/community>`__."
|
|
msgstr ""
|