mirror of https://gitlab.com/basile.b/dexed.git
setup program - zip are launched as pre-build process
This commit is contained in:
parent
555c790e1e
commit
2332d354db
|
@ -16,7 +16,6 @@
|
|||
*.res
|
||||
*.png
|
||||
*.ico
|
||||
*.txt
|
||||
*.zip
|
||||
Thumbs.db
|
||||
backup
|
||||
|
|
|
@ -7,10 +7,16 @@ object CurrentProject: TCENativeProject
|
|||
outputOptions.boundsCheck = offAlways
|
||||
outputOptions.optimizations = True
|
||||
outputOptions.release = True
|
||||
pathsOptions.outputFilename = 'output/coedit.1update2.win32.setup.exe'
|
||||
pathsOptions.outputFilename = 'output\coedit.1update2.win32.setup.exe'
|
||||
pathsOptions.importStringPaths.Strings = (
|
||||
'win32\'
|
||||
)
|
||||
preBuildProcess.executable = 'cmd'
|
||||
preBuildProcess.workingDirectory = '<CPP>'
|
||||
preBuildProcess.parameters.Strings = (
|
||||
'/c'
|
||||
' zip-win32.bat'
|
||||
)
|
||||
end
|
||||
item
|
||||
name = 'nux32'
|
||||
|
@ -18,10 +24,15 @@ object CurrentProject: TCENativeProject
|
|||
outputOptions.boundsCheck = offAlways
|
||||
outputOptions.optimizations = True
|
||||
outputOptions.release = True
|
||||
pathsOptions.outputFilename = 'output/coedit.1update2.linux32.setup'
|
||||
pathsOptions.outputFilename = 'output\coedit.1update2.linux32.setup'
|
||||
pathsOptions.importStringPaths.Strings = (
|
||||
'nux32\'
|
||||
)
|
||||
preBuildProcess.executable = 'sh'
|
||||
preBuildProcess.workingDirectory = '<CPP>'
|
||||
preBuildProcess.parameters.Strings = (
|
||||
'zip-nux32.sh'
|
||||
)
|
||||
end
|
||||
item
|
||||
name = 'nux64'
|
||||
|
@ -29,13 +40,18 @@ object CurrentProject: TCENativeProject
|
|||
outputOptions.boundsCheck = offAlways
|
||||
outputOptions.optimizations = True
|
||||
outputOptions.release = True
|
||||
pathsOptions.outputFilename = 'output/coedit.1update2.linux64.setup'
|
||||
pathsOptions.outputFilename = 'output\coedit.1update2.linux64.setup'
|
||||
pathsOptions.importStringPaths.Strings = (
|
||||
'nux64\'
|
||||
)
|
||||
preBuildProcess.executable = 'sh'
|
||||
preBuildProcess.workingDirectory = '<CPP>'
|
||||
preBuildProcess.parameters.Strings = (
|
||||
'zip-nux64.sh'
|
||||
)
|
||||
end>
|
||||
Sources.Strings = (
|
||||
'cesetup.d'
|
||||
)
|
||||
ConfigurationIndex = 0
|
||||
ConfigurationIndex = 2
|
||||
end
|
||||
|
|
|
@ -1,6 +1,22 @@
|
|||
Coedit setup
|
||||
Coedit setup program
|
||||
===
|
||||
|
||||
This coedit project creates the coedit setup program.
|
||||
The project contains 3 configurations.
|
||||
Each configuration builds the extractor for a particular platform.
|
||||
The project contains 3 configurations. Each one takes the content of one of the nux32/nux64/win32 folders
|
||||
and put it in the output program at compile time (eg .data section).
|
||||
|
||||
Raw Zip
|
||||
===
|
||||
|
||||
The shell scripts take the content of the nux32/nux64/win32 folders to make some simple zip files.
|
||||
They are proposed alternatively to the setup program. The scripts are launched automatically when
|
||||
the setup program is about to be compiled (as pre-build process).
|
||||
|
||||
Todo by hand for each release
|
||||
===
|
||||
|
||||
- change the setup program _outputFilename_ for each configuration as well as the text printed to the console, according to the new version.
|
||||
- change the text in the _version.txt_ file.
|
||||
- put the content (programs, icon, license, etc.) in each of nux32/nux64/win32 folders.
|
||||
- compile on each platform with the right project configuration.
|
||||
- zip the setup programs. (in the future: as a post-build process ?).
|
||||
|
|
Loading…
Reference in New Issue