Skip to content

Commit 674fbeb

Browse files
committed
Refactor SCons build into more modular scripts
Rework the SCons build system into a modular toolset Simplify SConstruct to delegate options/generation to a new build/scripts.py Correct error module imports of parent build modules: This was caused by importing build modules inside the tools directory Add build_dir script import for internal VariantDir separation Add gen_dir script import for delegating generated files (for Author, License, and Git builders) Add AddLibraryIncludes method for simplified include configuration and exposure Add AddLibrarySources method for simplified source configuration Add BuildBaseLibrary method for specifying static library file name and target install location Add BuildHeadlessProgram method for specifying headless program construction Add BuildUnitTest method for specifying unit test program construction Add BuildDependencyLibrary method for specifying dependency library construction Change command strings to be less verbose by default with build/no_verbose.py Add color utilities in build/color.py Extract string utilities to build/string.py Change GlobRecursive functions to use cwd over specifying directory in pattern Change GetGitInfo to method Add name_prefix attribute getter inside GetGitInfo method Move functionality of build/common_compiler_flags to tools/scripts_flags.py Update platform tools to use tools/script_flags.py Remove obsolete platform tools Add .gitignore entries for scons artifacts Improve cache progress reporting Add GCC/Clang PCH support via GCH/GCHSH builders Remove custom MSVC build/pch.py Add SCons configuration through project tools directory Add platform override support via the project tools directory Update ruff check to Python 3.10
1 parent 9f8318f commit 674fbeb

21 files changed

Lines changed: 1371 additions & 728 deletions

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,6 @@ cython_debug/
163163

164164
# When configure fails, SCons outputs these
165165
config.log
166-
.sconf_temp
166+
.sconsign*.dblite
167+
.scons_env.json
168+
.scons_node_count

0 commit comments

Comments
 (0)