File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 1
- # Configuration for building godot-cpp only
2
- # See `tests/CMakeLists.txt` for example configuration
1
+ ########## Configuration for building godot-cpp only ##########
2
+ ########## See `tests/CMakeLists.txt` for example configuration ##########
3
3
#
4
4
# Main cmake arguments
5
5
#
28
28
# cmake . -Bbuild
29
29
# cmake --build build
30
30
#
31
+ #
31
32
# Builds template_release version
32
33
#
33
34
# cmake -DTARGET=TEMPLATE_RELEASE -Bbuild
34
35
# cmake --build build
35
36
#
37
+ #
36
38
# Creates multi-config setup and builds Release version
37
39
#
38
40
# cmake -G "Ninja Multi-Config" -Bbuild # For Linux/non-MSVC
39
41
# OR
40
42
# cmake -G "Visual Studio 16 2019" -A x64 -Bbuild # For Windows/MSVC
41
43
# cmake --build build --config Release
42
44
#
45
+ #
43
46
# Builds web version, using Emscripten toolchain
44
47
#
45
48
# cmake --toolchain /usr/lib/emscripten/cmake/Modules/Platform/Emscripten.cmake -Bbuild
52
55
# cmake --build build
53
56
#
54
57
#
55
- # TODO:
56
- # Test builds for MacOS/IOS
58
+ # Builds MacOS version via Xcode
59
+ # cmake -G Xcode -Bbuild
60
+ # cmake --build build
57
61
58
62
cmake_minimum_required (VERSION 3.13 )
59
63
project (godot-cpp LANGUAGES CXX )
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ list(APPEND GODOT_C_FLAGS
25
25
>
26
26
27
27
$< $< NOT:$< STREQUAL:${MACOS_DEPLOYMENT_TARGET} ,DEFAULT> > :
28
- -mmacosx-version-min=${MACOS_DEPLOYMENT_TARGET}
28
+ -mmacosx-version-min=${MACOS_DEPLOYMENT_TARGET}
29
29
>
30
30
)
31
31
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ add_subdirectory(
11
11
)
12
12
13
13
# Get Sources
14
- file (GLOB_RECURSE SOURCES src/*.c** )
15
- file (GLOB_RECURSE HEADERS src/*.h** )
14
+ file (GLOB_RECURSE SOURCES CONFIGURE_DEPENDS src/*.c** )
15
+ file (GLOB_RECURSE HEADERS CONFIGURE_DEPENDS src/*.h** )
16
16
17
17
get_target_property (LIBRARY_SUFFIX godot-cpp LIBRARY_SUFFIX )
18
18
You can’t perform that action at this time.
0 commit comments