[Scummvm-git-logs] scummvm master -> 5216d4c3997aca15aebd2378fc10bf4942e1dcf6

SupSuper noreply at scummvm.org
Sat Apr 27 11:15:32 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5216d4c399 CREATE_PROJECT: Add option to disable static detection


Commit: 5216d4c3997aca15aebd2378fc10bf4942e1dcf6
    https://github.com/scummvm/scummvm/commit/5216d4c3997aca15aebd2378fc10bf4942e1dcf6
Author: SupSuper (supsuper at gmail.com)
Date: 2024-04-27T12:13:00+01:00

Commit Message:
CREATE_PROJECT: Add option to disable static detection

Changed paths:
    devtools/create_project/create_project.cpp


diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp
index 0836aaba13c..80681ffd268 100644
--- a/devtools/create_project/create_project.cpp
+++ b/devtools/create_project/create_project.cpp
@@ -335,6 +335,10 @@ int main(int argc, char *argv[]) {
 		setup.useStaticDetection = false;
 	}
 
+	if (!getFeatureBuildState("detection-static", setup.features)) {
+		setup.useStaticDetection = false;
+	}
+
 	// HACK: Vorbis and Tremor can not be enabled simultaneously
 	if (getFeatureBuildState("tremor", setup.features)) {
 		setFeatureBuildState("vorbis", setup.features, false);




More information about the Scummvm-git-logs mailing list