From 501a2cfcbbb1d9a37fa2d778d17b15b206eac759 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Tue, 28 Dec 2021 13:11:37 -0600 Subject: [PATCH] Add simple build bash scripts --- .gitignore | 1 + build-linux.sh | 2 ++ build-win.sh | 3 +++ 3 files changed, 6 insertions(+) create mode 100644 .gitignore create mode 100755 build-linux.sh create mode 100755 build-win.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b883f1f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.exe diff --git a/build-linux.sh b/build-linux.sh new file mode 100755 index 0000000..047ed3d --- /dev/null +++ b/build-linux.sh @@ -0,0 +1,2 @@ +#!/bin/bash +g++ main.cpp -o modlimitfix --std=c++17 diff --git a/build-win.sh b/build-win.sh new file mode 100755 index 0000000..b65af07 --- /dev/null +++ b/build-win.sh @@ -0,0 +1,3 @@ +#!/bin/bash +# Use MINGW for cross-compilation +x86_64-w64-mingw32-g++-win32 main.cpp modlimitfix.res -std=c++17