diff --git a/README.md b/README.md index 95b7c16efb87c174378871bbf7b9f6129659fd31..308541f8e5f6342ccd9f5c3ce06f138149d924d5 100644 --- a/README.md +++ b/README.md @@ -66,9 +66,9 @@ contains the sources of the library git submodule init && git submodule update cd godot-cpp/ git submodule init && git submodule update - scons platform=linux headers_dir=godot_headers generate_bindings=yes + scons platform=linux headers_dir=godot_headers generate_bindings=yes target=release cd ../ - scons platform=linux + scons platform=linux target=release ``` #### osx @@ -78,9 +78,9 @@ contains the sources of the library git submodule init && git submodule update cd godot-cpp/ git submodule init && git submodule update - scons platform=osx headers_dir=godot_headers generate_bindings=yes + scons platform=osx headers_dir=godot_headers generate_bindings=yes target=release cd ../ - scons platform=osx + scons platform=osx target=release ``` #### windows 10 64bits + vs 2017 @@ -90,11 +90,20 @@ contains the sources of the library git submodule init && git submodule update cd godot-cpp/ git submodule init && git submodule update - scons platform=windows headers_dir=godot_headers generate_bindings=yes + scons platform=windows headers_dir=godot_headers generate_bindings=yes target=release cd ../ - scons platform=windows + scons platform=windows target=release ``` +If you omit `target=release` it defaults to a Debug build. + +> Note: On Windows (at least), it is important to distribute **Release** builds +> of `libgdosc.dll` (built using `target=release`). If not, then Godot-exported +> projects that rely on `gdosc` will not run on Windows machines without the +> Debug MSVC runtime libraries installed (i.e. non-developer machines that +> don't have `vcruntime140d.dll` and similar debug versions of the VC runtime +> libraries and distributables whose names end in 'd'). + for other windows / visual studio version, refer to [gdnative_template](https://gitlab.com/frankiezafe/gdnative_template/blob/master/README.md) ## contributors