Add ODIN_BUILD_MODE

This commit is contained in:
gingerBill
2021-11-04 12:49:39 +00:00
parent 1ec2f8d537
commit b2a2aa15c2
4 changed files with 40 additions and 18 deletions
+1 -1
View File
@@ -1185,7 +1185,7 @@ bool parse_build_flags(Array<String> args) {
break;
}
if (str == "dll" || str == "shared") {
if (str == "dll" || str == "shared" || str == "dynamic") {
build_context.build_mode = BuildMode_DynamicLibrary;
} else if (str == "obj" || str == "object") {
build_context.build_mode = BuildMode_Object;