mirror of https://gitlab.com/basile.b/dexed.git
fix #32, bat files not anymore accepted as pre & post build process
This commit is contained in:
parent
9b74529023
commit
423e1fbc3d
|
@ -1,4 +1,4 @@
|
||||||
object _1: TCEProject
|
object _1: TCENativeProject
|
||||||
OptionsCollection = <
|
OptionsCollection = <
|
||||||
item
|
item
|
||||||
name = 'default'
|
name = 'default'
|
||||||
|
@ -11,7 +11,6 @@ object _1: TCEProject
|
||||||
)
|
)
|
||||||
debugingOptions.debugLevel = 2
|
debugingOptions.debugLevel = 2
|
||||||
messagesOptions.additionalWarnings = True
|
messagesOptions.additionalWarnings = True
|
||||||
outputOptions.noBoundsCheck = False
|
|
||||||
outputOptions.boundsCheck = onAlways
|
outputOptions.boundsCheck = onAlways
|
||||||
outputOptions.unittest = True
|
outputOptions.unittest = True
|
||||||
outputOptions.versionIdentifiers.Strings = (
|
outputOptions.versionIdentifiers.Strings = (
|
||||||
|
@ -19,13 +18,11 @@ object _1: TCEProject
|
||||||
)
|
)
|
||||||
pathsOptions.outputFilename = '..\output\main.exe'
|
pathsOptions.outputFilename = '..\output\main.exe'
|
||||||
preBuildProcess.executable = 'C:\Dev\pasproj\Coedit\lazproj\test\coeditproj\pre.bat'
|
preBuildProcess.executable = 'C:\Dev\pasproj\Coedit\lazproj\test\coeditproj\pre.bat'
|
||||||
|
preBuildProcess.workingDirectory = '<CPP>'
|
||||||
preBuildProcess.options = [poWaitOnExit]
|
preBuildProcess.options = [poWaitOnExit]
|
||||||
preBuildProcess.showWindow = swoNone
|
|
||||||
postBuildProcess.executable = 'C:\Dev\pasproj\Coedit\lazproj\test\coeditproj\post.bat'
|
postBuildProcess.executable = 'C:\Dev\pasproj\Coedit\lazproj\test\coeditproj\post.bat'
|
||||||
|
postBuildProcess.workingDirectory = '<CPP>'
|
||||||
postBuildProcess.options = [poWaitOnExit]
|
postBuildProcess.options = [poWaitOnExit]
|
||||||
postBuildProcess.showWindow = swoNone
|
|
||||||
runOptions.options = []
|
|
||||||
runOptions.showWindow = swoNone
|
|
||||||
end
|
end
|
||||||
item
|
item
|
||||||
name = 'alternative'
|
name = 'alternative'
|
||||||
|
@ -35,7 +32,6 @@ object _1: TCEProject
|
||||||
debugingOptions.debugLevel = 3
|
debugingOptions.debugLevel = 3
|
||||||
messagesOptions.additionalWarnings = True
|
messagesOptions.additionalWarnings = True
|
||||||
outputOptions.inlining = True
|
outputOptions.inlining = True
|
||||||
outputOptions.noBoundsCheck = True
|
|
||||||
outputOptions.boundsCheck = onAlways
|
outputOptions.boundsCheck = onAlways
|
||||||
outputOptions.optimizations = True
|
outputOptions.optimizations = True
|
||||||
outputOptions.unittest = True
|
outputOptions.unittest = True
|
||||||
|
@ -43,12 +39,6 @@ object _1: TCEProject
|
||||||
'revision_2'
|
'revision_2'
|
||||||
)
|
)
|
||||||
pathsOptions.outputFilename = '..\output\main.exe'
|
pathsOptions.outputFilename = '..\output\main.exe'
|
||||||
preBuildProcess.options = []
|
|
||||||
preBuildProcess.showWindow = swoNone
|
|
||||||
postBuildProcess.options = []
|
|
||||||
postBuildProcess.showWindow = swoNone
|
|
||||||
runOptions.options = []
|
|
||||||
runOptions.showWindow = swoNone
|
|
||||||
end>
|
end>
|
||||||
Sources.Strings = (
|
Sources.Strings = (
|
||||||
'..\src\main.d'
|
'..\src\main.d'
|
||||||
|
|
|
@ -746,7 +746,7 @@ var
|
||||||
env: string;
|
env: string;
|
||||||
begin
|
begin
|
||||||
ext := extractFileExt(anExeName);
|
ext := extractFileExt(anExeName);
|
||||||
if ext <> exeExt then
|
if ext = '' then
|
||||||
anExeName += exeExt;
|
anExeName += exeExt;
|
||||||
if FileExists(anExeName) then
|
if FileExists(anExeName) then
|
||||||
exit(anExeName)
|
exit(anExeName)
|
||||||
|
|
Loading…
Reference in New Issue