summaryrefslogtreecommitdiff
path: root/ZAPD/Main.cpp
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2021-10-01 22:19:47 -0300
committerGitHub <noreply@github.com>2021-10-01 21:19:47 -0400
commit6b06266eb8d35a7865aa1f942ecbe393e7cde740 (patch)
tree6b23ec1617f1ae76f49079ccc9c93c7f4d06eff3 /ZAPD/Main.cpp
parent26b00a2431a70ff190a2b22ee1faf77afa75a034 (diff)
Add `--static` flag (#193)
* remove static from every extracted asset * fix makefile * Move a bunch of code to Declaration * make static enablalble * fix texture static * clean up * minor fixes * Format * add small docs * fix * add table * add note in the readme * typo * maybe_unused * Add warning to ZSymbol * format * fix
Diffstat (limited to 'ZAPD/Main.cpp')
-rw-r--r--ZAPD/Main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ZAPD/Main.cpp b/ZAPD/Main.cpp
index e7fc6fc..643f39d 100644
--- a/ZAPD/Main.cpp
+++ b/ZAPD/Main.cpp
@@ -218,6 +218,10 @@ int main(int argc, char* argv[])
{
Globals::Instance->gccCompat = true;
}
+ else if (arg == "-s" || arg == "--static")
+ {
+ Globals::Instance->forceStatic = true;
+ }
}
// Parse File Mode