diff options
author | Andreia Gaita <shana@spoiledcat.net> | 2024-09-13 21:38:26 +0200 |
---|---|---|
committer | Andreia Gaita <shana@spoiledcat.net> | 2024-11-21 11:11:35 +0100 |
commit | 84db024f6f68e44bff84a04fa737aefad31dd81a (patch) | |
tree | c25594bcc8c85dc4ca16358ac96f597ce615f39d /modules | |
parent | 49023c0f7dee952e4e8fab59950eac724bc916a5 (diff) | |
download | redot-engine-84db024f6f68e44bff84a04fa737aefad31dd81a.tar.gz |
Use scons to calculate all the sources needed for vsproj generation.
Scons knows every file - sources, headers, etc - that the binary depends on,
and trying to figure that out manually is just too prone to error.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/SCsub | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/SCsub b/modules/SCsub index fea2f2eeb8..09944241ea 100644 --- a/modules/SCsub +++ b/modules/SCsub @@ -63,7 +63,6 @@ register_module_types = env.CommandNoCache( ) -vs_sources = [] test_headers = [] # libmodule_<name>.a for each active module. for name, path in env.module_list.items(): @@ -75,8 +74,6 @@ for name, path in env.module_list.items(): lib = env_modules.add_library("module_%s" % name, env.modules_sources) env.Prepend(LIBS=[lib]) - if env["vsproj"]: - vs_sources += env.modules_sources if env["tests"]: # Lookup potential headers in `tests` subfolder. @@ -104,5 +101,3 @@ env.modules_sources = [] env_modules.add_source_files(env.modules_sources, register_module_types) lib = env_modules.add_library("modules", env.modules_sources) env.Prepend(LIBS=[lib]) -if env["vsproj"]: - env.modules_sources += vs_sources |