mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
TOOLS: Update create_project to optionally create an installer after a successful build
This commit is contained in:
@@ -245,6 +245,9 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
} else if (!std::strcmp(argv[i], "--build-events")) {
|
||||
setup.runBuildEvents = true;
|
||||
} else if (!std::strcmp(argv[i], "--installer")) {
|
||||
setup.runBuildEvents = true;
|
||||
setup.createInstaller = true;
|
||||
} else {
|
||||
std::cerr << "ERROR: Unknown parameter \"" << argv[i] << "\"\n";
|
||||
return -1;
|
||||
@@ -487,6 +490,8 @@ void displayHelp(const char *exe) {
|
||||
" The default is \"9\", thus \"Visual Studio 2008\"\n"
|
||||
" --build-events Run custom build events as part of the build\n"
|
||||
" (default: false)\n"
|
||||
" --installer Create NSIS installer after the build (implies --build-events)\n"
|
||||
" (default: false)\n"
|
||||
"\n"
|
||||
"Engines settings:\n"
|
||||
" --list-engines list all available engines and their default state\n"
|
||||
|
||||
Reference in New Issue
Block a user