Commit Graph

15 Commits (db93fbb5f71c58fea55361f44ecff21e1d9271ab)

Author SHA1 Message Date
Joshua Cooper 43fae056d0 CMake: fix CMAKE_BUILD_TYPE and BITS check
(cherry picked from commit 165ad14b0f)
2022-07-18 14:00:28 +02:00
Rémi Verschelde bf0d95369d CMake: Don't use `-fPIC` on Windows (#732)
(cherry picked from commits 3c73d1a7a2
and 9b4519280a)
2022-07-18 13:00:17 +02:00
Rémi Verschelde 3e1f8f3d89
Merge pull request #667 from theomonnom/patch-1 2022-07-18 11:49:14 +02:00
Ivorius 09249530bd
In CMakeLists, use the new FindPython3 instead of FindPython 2021-12-29 15:04:57 +01:00
Théo Monnom c1f632a146
Generate bin files in the current CMake source dir
Use CMAKE_CURRENT_SOURCE_DIR to generate the binary in the current CMake directory instead of building it at the top level of the source tree
2021-12-05 17:49:50 +01:00
Hristo Stamenov c629200b93
Update `string(TOLOWER ...)` to take string versions of CMake variables (#561)
On some generators (MSVC) there is the issue that this line produces cause by the variable being expanded and not being surrounded by quotes.
2021-05-20 14:47:20 +02:00
Matteo De Carlo 0c8dd096c4 Fix cmake source file generation 2021-03-03 19:40:54 +01:00
oleg 52f786b923
Search correct python interpeter in case missing default "python" 2021-03-01 15:46:11 +03:00
George Marques aa2792528e
Merge pull request #456 from API-Beast/master
Fix compiling using CMake and GCC
2021-03-01 09:37:54 -03:00
Rémi Verschelde b36df8f86c Rename godot_headers to godot-headers to match upstream rename
Also updated the URLs which were still pointing to the old GitHub org.
2021-02-26 10:07:38 +01:00
Manuel Riecke 2989a385d7 GENERATE_TEMPLATE_GET_NODE option for CMake 2020-09-20 12:18:42 +02:00
Manuel Riecke 73f1f90bf7 Fix godot-cpp not compiling because of -Wlong-long 2020-09-19 13:42:00 +02:00
Manuel Riecke 2007e6f81e Fix CMake failing to generate the bindings.
A new parameter was added to the binding_generator python file,
but the CMake file was not adjusted.
2020-09-19 13:42:00 +02:00
Philip Whitfield 51233fa1a9 Update CMakeLists.txt
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)
```
2019-04-12 23:29:56 +10:00
Acclution 7a22fd0a78 Updated cmake to the new nativescript 1.1 2018-12-02 22:14:26 +01:00