We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents db48298 + 6304b31 commit 5ca6aa4Copy full SHA for 5ca6aa4
1 file changed
src/commands/run/detail/ScriptProbe.cpp
@@ -556,6 +556,15 @@ namespace vix::commands::RunCommand::detail
556
out.features = detect_script_features(opt.cppFile);
557
out.usesVixRuntime = out.features.usesVix;
558
559
+ if (out.features.usesVix)
560
+ {
561
+ out.strategy = ScriptExecutionStrategy::CMakeFallback;
562
+ out.fallbackReason = ScriptFallbackReason::UsesVixRuntime;
563
+ out.canUseDirectCompile = false;
564
+ out.shouldUseCMakeFallback = true;
565
+ return out;
566
+ }
567
+
568
out.compileFlags = parse_compile_flags(opt.scriptFlags);
569
out.linkFlags = parse_link_flags(opt.scriptFlags);
570
0 commit comments