Commit 640e6fa
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.101 parent 9f8318f commit 640e6fa
22 files changed
Lines changed: 1388 additions & 773 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
0 commit comments