mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-09 09:47:42 +00:00
Updates from dtk-template
This commit is contained in:
13
configure.py
13
configure.py
@@ -343,6 +343,12 @@ Equivalent = (
|
||||
config.non_matching
|
||||
) # Object should be linked when configured with --non-matching
|
||||
|
||||
|
||||
# Object is only matching for specific versions
|
||||
def MatchingFor(*versions):
|
||||
return config.version in versions
|
||||
|
||||
|
||||
config.warn_missing_config = True
|
||||
config.warn_missing_source = False
|
||||
config.libs = [
|
||||
@@ -1358,6 +1364,13 @@ config.libs = [
|
||||
),
|
||||
]
|
||||
|
||||
# Disable missing return type warnings for incomplete objects
|
||||
for lib in config.libs:
|
||||
for obj in lib["objects"]:
|
||||
if not obj.completed:
|
||||
obj.options["extra_clang_flags"].append("-Wno-return-type")
|
||||
|
||||
|
||||
# Optional extra categories for progress tracking
|
||||
config.progress_categories = [
|
||||
ProgressCategory("game", "Game"),
|
||||
|
||||
Reference in New Issue
Block a user