Change headers flag to headers_dir

This commit is contained in:
siamak-s
2018-09-22 12:54:49 +03:30
committed by GitHub
parent 56e40f6d23
commit 7aeff20215
@@ -64,7 +64,7 @@ Now to generate and compile our bindings we do (do chose either Windows, Linux o
.. code-block:: none
cd godot-cpp
scons platform=windows/linux/osx headers=../godot_headers generate_bindings=yes
scons platform=windows/linux/osx headers_dir=../godot_headers generate_bindings=yes
cd ..
This step will take a while but at the end of it, you should have static libraries you can compile into your project stored in godot-cpp/bin.
@@ -277,4 +277,4 @@ Next steps
----------
Obviously the above is a very basic example just to get you setup but we hope it shows the basics. You can build upon this example to create full fledged scripts to control the nodes in Godot but using C++ as the language.
You should be able to edit and recompile your plugin while the Godot editor remains open and just rerun the project.
You should be able to edit and recompile your plugin while the Godot editor remains open and just rerun the project.