From 464ce94d5e10d15e1e0a04fb962df796de9e92b4 Mon Sep 17 00:00:00 2001 From: vczh Date: Sat, 6 Jan 2024 01:09:10 -0800 Subject: [PATCH] BuildExecutables.sh --- Tools/.gitignore | 4 ++++ Tools/BuildExecutables.sh | 26 ++++++++++++++++++++++++++ Tools/README.md | 12 +++++++++++- 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 Tools/.gitignore create mode 100755 Tools/BuildExecutables.sh diff --git a/Tools/.gitignore b/Tools/.gitignore new file mode 100644 index 00000000..354c7694 --- /dev/null +++ b/Tools/.gitignore @@ -0,0 +1,4 @@ +CodePack +CppMerge +GacGen +GlrParserGen \ No newline at end of file diff --git a/Tools/BuildExecutables.sh b/Tools/BuildExecutables.sh new file mode 100755 index 00000000..2caed13f --- /dev/null +++ b/Tools/BuildExecutables.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +pushd ./Executables/CodePack +make VCPROOT="$(pwd)/.." clean +make VCPROOT="$(pwd)/.." +popd + +pushd ./Executables/CppMerge +make VCPROOT="$(pwd)/.." clean +make VCPROOT="$(pwd)/.." +popd + +pushd ./Executables/GlrParserGen +make VCPROOT="$(pwd)/.." clean +make VCPROOT="$(pwd)/.." +popd + +pushd ./Executables/GacGen +make VCPROOT="$(pwd)/.." clean +make VCPROOT="$(pwd)/.." +popd + +cp ./Executables/CodePack/Bin/CodePack . +cp ./Executables/CppMerge/Bin/CppMerge . +cp ./Executables/GlrParserGen/Bin/GlrParserGen . +cp ./Executables/GacGen/Bin/GacGen . \ No newline at end of file diff --git a/Tools/README.md b/Tools/README.md index 23c87154..3edbabee 100644 --- a/Tools/README.md +++ b/Tools/README.md @@ -4,10 +4,20 @@ - Open `Executables/Executables.sln` in Visual Studio and build `Release` with `x86`. - Run `CopyExecutables.ps1`. +- New files will be available in this folder: + - CodePack.exe + - CppMerge.exe + - GacGen.exe + - GlrParserGen.exe ## Linux -(editing...) +- Run `BuildExecutables.sh` +- New files will be available in this folder: + - CodePack + - CppMerge + - GacGen + - GlrParserGen ## macOS