Skip to content

Commit c1b2eb0

Browse files
Ivorforcedsnopek
authored andcommitted
Migrate cmake docs to the godot docs.
(cherry picked from commit c7873e1)
1 parent 8ef809b commit c1b2eb0

File tree

5 files changed

+10
-359
lines changed

5 files changed

+10
-359
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ compromises need to be made to resolve those differences.
2121
As we are attempting to maintain feature parity, and ease of maintenance, these
2222
CMake scripts are built to resemble the SCons build system wherever possible.
2323
Where they are not, we will attempt to document common difference in
24-
doc/cmake.rst and platform specific differences in their respective
24+
the docs (https://docs.godotengine.org/en/latest/tutorials/scripting/cpp/build_system/cmake.html)
25+
and platform specific differences in their respective
2526
cmake/<platform>.cmake file.
2627
2728
The file structure and file content are made to match, if not in content then

cmake/android.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ Android platforms.
2222
2323
.. _built-in support:https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling-for-android
2424
25-
There is further information and examples in the doc/cmake.rst file.
25+
There is further information and examples in the docs: https://docs.godotengine.org/en/latest/tutorials/scripting/cpp/build_system/cmake.html
2626
2727
]=======================================================================]
2828

2929
#[============================[ Android Options ]============================]
3030
function(android_options)
3131
#[[ Options from SCons
3232
33-
The options below are managed by CMake toolchain files, doc.cmake.rst has
34-
more information
33+
The options below are managed by CMake toolchain files, the docs have more information:
34+
https://docs.godotengine.org/en/latest/tutorials/scripting/cpp/build_system/cmake.html
3535
3636
android_api_level : Target Android API level.
3737
Default = 21

cmake/linux.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ function(linux_options)
1212
#[[ Options from SCons
1313
use_llvm : Use the LLVM compiler
1414
Not implemented as compiler selection is managed by CMake. Look to
15-
doc/cmake.rst for examples.
15+
the docs (https://docs.godotengine.org/en/latest/tutorials/scripting/cpp/build_system/cmake.html)
16+
for examples.
1617
]]
1718
option(GODOTCPP_USE_STATIC_CPP "Link libgcc and libstdc++ statically for better portability" ON)
1819
endfunction()

cmake/windows.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ function(windows_options)
6262
Default: True
6363
6464
These three options will not implemented as compiler selection is managed
65-
by CMake toolchain files. Look to doc/cmake.rst for examples.
65+
by CMake toolchain files. Look to the docs
66+
(https://docs.godotengine.org/en/latest/tutorials/scripting/cpp/build_system/cmake.html)
67+
for examples.
6668
use_mingw: Use the MinGW compiler instead of MSVC - only effective on Windows
6769
use_llvm: Use the LLVM compiler (MVSC or MinGW depending on the use_mingw flag
6870
mingw_prefix: MinGW prefix

0 commit comments

Comments
 (0)