Commit 6f31bd01 authored by John van Groningen's avatar John van Groningen
Browse files

run .exe instead of .bat for dynamically linked projects

parent 4bfb28c6
......@@ -743,12 +743,8 @@ pm_run ps
# (execpath,ps) = getFromProject PR_GetExecPath ps
# execpath = fulPath app_path prj_path` execpath
# (lo,ps) = getFromProject PR_GetLinkOptions ps
| lo.method == LM_Dynamic
# execpath = (RemoveSuffix` execpath) +++. ".bat"
= RunProgram execpath ps
= RunProgram execpath ps
bring_project_upto_date :: !Bool CleanupCont !*(PSt *General) -> *PSt *General
bring_project_upto_date force continuation ps
# ps = ew_safe_close ps // close error window
......
......@@ -919,7 +919,8 @@ step intr (DLink ds=:{ok, newpaths, fileinfo, libsinfo, modpaths, abccache, proj
# (ood,ps) = CheckObjsOutOfDate genabc execpath ofiles` ps
| ood -> (ood,ps)
-> CheckExecOutOfDate genabc execpath fileinfo project ps
LM_Dynamic -> CheckExecOutOfDate genabc ((RemoveSuffix` execpath) +++. ".bat") fileinfo project ps
LM_Dynamic
-> CheckExecOutOfDate genabc execpath fileinfo project ps
| not ood
= continue True False False fileinfo libsinfo modpaths project intr (abccache, ps)
//*/
......@@ -1142,7 +1143,6 @@ where
lo = PR_GetLinkOptions project
eod = case lo.method of
LM_Static -> False
// LM_Eager -> True
LM_Dynamic -> True
verbose = prefs.be_verbose
defaultCO = prefs.compopts
......@@ -1294,7 +1294,6 @@ where
lo = PR_GetLinkOptions project
eod = case lo.method of
LM_Static -> False
// LM_Eager -> True
LM_Dynamic -> True
ProcessCompilerMsg :: !*(Maybe *CompilingInfo) !CompileOrCheckSyntax !CompilerOptions !Pathname !Pathname !CompilerMsg !FileInfoCache !*DirCache !ABCCache !Project !*GeneralSt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment