2022-12-30 17:50:12 -05:00
|
|
|
|
|
|
|
# Configuration file for the Flash C++ documentation generator.
|
2024-07-20 15:27:24 -04:00
|
|
|
# https://github.com/geode-sdk/flash
|
2022-12-30 17:50:12 -05:00
|
|
|
|
|
|
|
[project]
|
|
|
|
name = "Geode"
|
2024-07-20 15:27:24 -04:00
|
|
|
version = "v3.0.0"
|
2022-12-30 17:50:12 -05:00
|
|
|
repository = "https://github.com/geode-sdk/geode"
|
2022-12-31 11:00:20 -05:00
|
|
|
tree = "https://github.com/geode-sdk/geode/tree/main"
|
2023-01-24 14:50:40 -05:00
|
|
|
icon = "loader/resources/logos/geode-circle.png"
|
2022-12-30 17:50:12 -05:00
|
|
|
|
2023-01-27 06:42:04 -05:00
|
|
|
[tutorials]
|
|
|
|
dir = "docs"
|
2024-01-07 17:04:06 -05:00
|
|
|
assets = [
|
|
|
|
"docs/assets/*.png",
|
2024-09-08 18:03:27 -04:00
|
|
|
"docs/assets/settings/*.png",
|
2024-01-07 17:04:06 -05:00
|
|
|
"docs/assets/handbook/vol1/*.png",
|
|
|
|
"docs/assets/handbook/vol2/*.png",
|
|
|
|
]
|
2023-01-27 06:42:04 -05:00
|
|
|
|
2022-12-31 11:00:20 -05:00
|
|
|
[[sources]]
|
|
|
|
name = "Geode"
|
2023-01-21 07:17:33 -05:00
|
|
|
dir = "loader/include"
|
2022-12-30 17:50:12 -05:00
|
|
|
include = [
|
2023-01-21 07:17:33 -05:00
|
|
|
"Geode/**/*.hpp",
|
|
|
|
"Geode/**/*.h",
|
2022-12-30 17:50:12 -05:00
|
|
|
]
|
|
|
|
exclude = [
|
2023-01-21 07:17:33 -05:00
|
|
|
"Geode/modify/Comparer.hpp",
|
|
|
|
"Geode/platform/*.hpp",
|
|
|
|
"Geode/c++stl/*.hpp",
|
2022-12-30 17:50:12 -05:00
|
|
|
# All of the relevant cocos headers are included through Geode headers
|
2023-01-21 07:17:33 -05:00
|
|
|
"Geode/cocos/**/*.h"
|
2022-12-30 17:50:12 -05:00
|
|
|
]
|
|
|
|
|
2022-12-31 11:00:20 -05:00
|
|
|
[[sources]]
|
2022-12-30 17:50:12 -05:00
|
|
|
name = "Bindings"
|
2024-02-04 14:45:52 -05:00
|
|
|
dir = "build-docs/bindings/bindings"
|
2022-12-31 11:00:20 -05:00
|
|
|
include = [
|
2023-01-21 07:17:33 -05:00
|
|
|
"Geode/binding/*.hpp"
|
2022-12-31 11:00:20 -05:00
|
|
|
]
|
2023-01-02 11:35:12 -05:00
|
|
|
# Bindings are generated at compile time
|
|
|
|
exists-online = false
|
2022-12-31 11:00:20 -05:00
|
|
|
|
|
|
|
# CMake options
|
2022-12-30 17:50:12 -05:00
|
|
|
|
|
|
|
[cmake]
|
|
|
|
config-args = [
|
|
|
|
"-G", "Ninja",
|
|
|
|
"-DCMAKE_CXX_COMPILER=Clang",
|
|
|
|
"-DCMAKE_C_COMPILER=Clang",
|
2023-01-24 11:37:59 -05:00
|
|
|
"-DGEODE_BUILDING_DOCS=On",
|
2024-06-10 13:18:17 -04:00
|
|
|
"-DGEODE_PLATFORM_NAME=Win64",
|
2022-12-30 17:50:12 -05:00
|
|
|
"-DGEODE_CODEGEN_CMAKE_ARGS=-DCMAKE_CXX_COMPILER=Clang;-DCMAKE_C_COMPILER=Clang",
|
|
|
|
"-DWIN32=On"
|
|
|
|
]
|
2022-12-31 11:00:20 -05:00
|
|
|
build-dir = "build-docs"
|
|
|
|
|
|
|
|
# The file we use to get all the include paths and such
|
2023-06-15 03:35:37 -04:00
|
|
|
infer-args-from = "loader/src/load.cpp"
|