geode/flash.toml
HJfod 05c88ea606
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
update flash.toml on main too
2024-09-09 01:03:27 +03:00

60 lines
1.4 KiB
TOML

# Configuration file for the Flash C++ documentation generator.
# https://github.com/geode-sdk/flash
[project]
name = "Geode"
version = "v3.0.0"
repository = "https://github.com/geode-sdk/geode"
tree = "https://github.com/geode-sdk/geode/tree/main"
icon = "loader/resources/logos/geode-circle.png"
[tutorials]
dir = "docs"
assets = [
"docs/assets/*.png",
"docs/assets/settings/*.png",
"docs/assets/handbook/vol1/*.png",
"docs/assets/handbook/vol2/*.png",
]
[[sources]]
name = "Geode"
dir = "loader/include"
include = [
"Geode/**/*.hpp",
"Geode/**/*.h",
]
exclude = [
"Geode/modify/Comparer.hpp",
"Geode/platform/*.hpp",
"Geode/c++stl/*.hpp",
# All of the relevant cocos headers are included through Geode headers
"Geode/cocos/**/*.h"
]
[[sources]]
name = "Bindings"
dir = "build-docs/bindings/bindings"
include = [
"Geode/binding/*.hpp"
]
# Bindings are generated at compile time
exists-online = false
# CMake options
[cmake]
config-args = [
"-G", "Ninja",
"-DCMAKE_CXX_COMPILER=Clang",
"-DCMAKE_C_COMPILER=Clang",
"-DGEODE_BUILDING_DOCS=On",
"-DGEODE_PLATFORM_NAME=Win64",
"-DGEODE_CODEGEN_CMAKE_ARGS=-DCMAKE_CXX_COMPILER=Clang;-DCMAKE_C_COMPILER=Clang",
"-DWIN32=On"
]
build-dir = "build-docs"
# The file we use to get all the include paths and such
infer-args-from = "loader/src/load.cpp"