Skip to content

Commit 4cf2511

Browse files
added tags and updated doc
1 parent 532a216 commit 4cf2511

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

tutorials/export/feature_tags.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ Here is a list of most feature tags in Godot. Keep in mind they are **case-sensi
108108
+--------------------+----------------------------------------------------------+
109109
| **web** | Host OS is a Web browser |
110110
+--------------------+----------------------------------------------------------+
111+
| **nothreads** | Running without threads support |
112+
+--------------------+----------------------------------------------------------+
113+
| **threads** | Running with threads support |
114+
+--------------------+----------------------------------------------------------+
111115
| **web_android** | Host OS is a Web browser running on Android |
112116
+--------------------+----------------------------------------------------------+
113117
| **web_ios** | Host OS is a Web browser running on iOS |

tutorials/scripting/gdextension/gdextension_file.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,18 @@ Here is an example of what that can look like:
6868
6969
Here are lists of some of the available built-in options (for more look at the :ref:`feature tags <doc_feature_tags>`):
7070

71+
To use a build that is not compatible with a tag and doesn't have a `no`
72+
counterpart (like `nothreads` and `threads`), they should be placed after the
73+
build that is compatible with said feature, for example, if you wish to use a
74+
build without `editor` support, you may do like so:
75+
76+
.. code-block:: none
77+
78+
[libraries]
79+
80+
linux.release.editor.x86_64 = "res://bin/libgdexample.linux.template_release.x86_64.so"
81+
linux.release.x86_64 = "res://bin/libgdexample.linux.noeditor.template_release.x86_64.so"
82+
7183
Running system
7284
~~~~~~~~~~~~~~
7385

0 commit comments

Comments
 (0)