Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [MSVC] Force UTF-8 encoding. | bruvzg | 2023-07-11 | 1 | -1/+1 |
| | |||||
* | Update CMakeLists.txt | Alex | 2023-05-06 | 1 | -1/+1 |
| | |||||
* | {cmake} Use STATIC and POSITION_INDEPENDENT_CODE | Andy Maloney | 2023-02-07 | 1 | -11/+17 |
| | | | | Instead of specifying flags manually, use CMake. | ||||
* | Merge pull request #1008 from asmaloney/cmake-compiler-warnings | Rémi Verschelde | 2023-02-07 | 1 | -33/+28 |
|\ | | | | | | | {cmake} Use the same compiler warnings as godot | ||||
| * | {cmake} Use the same compiler warnings as godot | Andy Maloney | 2023-02-04 | 1 | -35/+28 |
| | | |||||
* | | {cmake} Combine target_include_directories | Andy Maloney | 2023-02-02 | 1 | -8/+1 |
|/ | | | | | | Makes all include directories consistent. Turns GODOT_CPP_SYSTEM_HEADERS ON by default since that's what was already being done for ${GODOT_GDEXTENSION_DIR}. | ||||
* | {cmake} Add GODOT_CPP_SYSTEM_HEADERS option to mark includes as SYSTEM | Andy Maloney | 2023-01-18 | 1 | -1/+11 |
| | | | | | | | | From the cmake docs: "This may have effects such as suppressing warnings or skipping the contained headers in dependency calculations (see compiler documentation). Additionally, system include directories are searched after normal include directories regardless of the order specified." Addresses part of #999 | ||||
* | Rename float=64 build option to precision=double | Ricardo Buring | 2023-01-09 | 1 | -7/+6 |
| | | | | | This makes the build system consistent with Godot again. Also fix CMake build to define REAL_T_IS_DOUBLE when precision=double. | ||||
* | Rename godot-headers to gdextension, move header to top folder | Rémi Verschelde | 2022-12-14 | 1 | -9/+14 |
| | | | | | | | | Changes the `<godot/gdextension_interface.h>` include to simply `<gdextension_interface.h>`. Refactor and better document the SCons and CMake logic around setting the paths to the header and API JSON file. | ||||
* | Rename GDNative to GDExtension | Gilles Roudière | 2022-12-12 | 1 | -2/+2 |
| | | | | | | | | | | | | | Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension -> Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION -> EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface | ||||
* | {cmake} Updates for target-based approach | Andy Maloney | 2022-12-04 | 1 | -23/+21 |
| | | | | | | - instead of setting globals which can effect other projects including this as a subdirectory, set them on the target if possible - add "CONFIGURE_DEPENDS" to GLOBs to check for changes - update required CMake version to 3.12 (still ancient - 2018) to support these | ||||
* | [MSVC] Add NOMINMAX flag to scons and cmake. | Fabio Alessandrelli | 2022-09-12 | 1 | -2/+1 |
| | | | | | Ensures user inclusion of windows.h do not define "min" and "max" macros. | ||||
* | CMake: fix CMAKE_BUILD_TYPE and BITS check | Joshua Cooper | 2022-07-18 | 1 | -5/+7 |
| | |||||
* | CMake: Fixup build after #732 | Rémi Verschelde | 2022-07-18 | 1 | -10/+3 |
| | |||||
* | CMake: Don't use `-fPIC` on Windows (#732) | Rémi Verschelde | 2022-07-18 | 1 | -1/+4 |
|\ | |||||
| * | Update CMakeLists.txt | Pxl | 2022-03-26 | 1 | -1/+4 |
| | | | | | | fix compile fail when windows with llvm+ninja | ||||
* | | Add double precision build support. | bruvzg | 2022-05-04 | 1 | -6/+12 |
|/ | |||||
* | Sync `misc/` scripts and hooks with upstream Godot | Rémi Verschelde | 2022-03-15 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of https://github.com/godotengine/godot-cpp into ↵ | Nicolás Carrasco | 2022-02-20 | 1 | -3/+3 |
|\ | | | | | | | test_cmake_windows | ||||
| * | In CMakeLists, use the new FindPython3 instead of FindPython | Ivorius | 2021-12-29 | 1 | -3/+3 |
| | | |||||
* | | Fix Test CMake project for Windows and parametrize paths | Nicolás Carrasco | 2022-01-26 | 1 | -3/+13 |
|/ | |||||
* | Test CMake project with CI (#518) | O01eg | 2021-12-24 | 1 | -2/+4 |
| | |||||
* | Require at least python 3 | Bradley Clemetson | 2021-12-11 | 1 | -1/+1 |
| | |||||
* | synced windows compile definitions with scons configuration | Nickolai Korshunov | 2021-11-11 | 1 | -0/+5 |
| | | | | df9164b9bd7b4505a9918212e39451b75a38a7d7 | ||||
* | Rework debug flags for CMake | Hennadii Chernyshchyk | 2021-10-03 | 1 | -10/+5 |
| | | | | | | | | | * Attach debug flags to the target and mark as `PUBLIC`. This will allow all projects that use bindings not to add the same defines manually. * Use generator-expressions to support multiconfig generators (such as MSVC). * Remove excplitic `NDEBUG` and `_DEBUG` flags, CMake handles it automatically. | ||||
* | Changed over to proper godot-headers | Bastiaan Olij | 2021-09-27 | 1 | -2/+2 |
| | |||||
* | Add alias | Hennadii Chernyshchyk | 2021-09-27 | 1 | -0/+1 |
| | |||||
* | Specify project languages | Hennadii Chernyshchyk | 2021-09-27 | 1 | -1/+1 |
| | |||||
* | Remove Generating Bindings message | Hennadii Chernyshchyk | 2021-09-27 | 1 | -2/+1 |
| | | | | Bindings are generated using `generate_bindings` and the command contains the `COMMENT` parameter, which will display a message about the generation. | ||||
* | Do not override build path | Hennadii Chernyshchyk | 2021-09-27 | 1 | -12/+0 |
| | |||||
* | Fix OUTPUT for add_custom_command | Hennadii Chernyshchyk | 2021-09-27 | 1 | -14/+4 |
| | |||||
* | Fix issues with method calls | George Marques | 2021-09-27 | 1 | -0/+2 |
| | |||||
* | Replace bindgins to work with extensions | George Marques | 2021-09-27 | 1 | -14/+13 |
| | |||||
* | Update `string(TOLOWER ...)` to take string versions of CMake variables (#561) | Hristo Stamenov | 2021-05-20 | 1 | -2/+2 |
| | | | On some generators (MSVC) there is the issue that this line produces cause by the variable being expanded and not being surrounded by quotes. | ||||
* | Fix cmake source file generation | Matteo De Carlo | 2021-03-03 | 1 | -6/+28 |
| | |||||
* | Search correct python interpeter in case missing default "python" | oleg | 2021-03-01 | 1 | -1/+2 |
| | |||||
* | Merge pull request #456 from API-Beast/master | George Marques | 2021-03-01 | 1 | -2/+10 |
|\ | | | | | Fix compiling using CMake and GCC | ||||
| * | GENERATE_TEMPLATE_GET_NODE option for CMake | Manuel Riecke | 2020-09-20 | 1 | -1/+9 |
| | | |||||
| * | Fix godot-cpp not compiling because of -Wlong-long | Manuel Riecke | 2020-09-19 | 1 | -1/+1 |
| | | |||||
| * | Fix CMake failing to generate the bindings. | Manuel Riecke | 2020-09-19 | 1 | -1/+1 |
| | | | | | | | | | | A new parameter was added to the binding_generator python file, but the CMake file was not adjusted. | ||||
* | | Rename godot_headers to godot-headers to match upstream rename | Rémi Verschelde | 2021-02-26 | 1 | -2/+2 |
|/ | | | | Also updated the URLs which were still pointing to the old GitHub org. | ||||
* | Update CMakeLists.txt | Philip Whitfield | 2019-04-12 | 1 | -2/+2 |
| | | | | | | | | | | changes so this cmake file can be used as a subdirectory ``` add_subdirectory(godot-cpp) project(project-name) add_library(project-name SHARED src/init.cpp) target_link_libraries(project-name godot-cpp) ``` | ||||
* | Updated cmake to the new nativescript 1.1 | Acclution | 2018-12-02 | 1 | -0/+181 |