From 62663f00aebe7a8fd85f3f7f8e412555a52f2876 Mon Sep 17 00:00:00 2001 From: Alee Date: Mon, 28 Jan 2019 16:56:02 -0500 Subject: renamed bat to cmd --- build.cmd | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 build.cmd (limited to 'build.cmd') diff --git a/build.cmd b/build.cmd new file mode 100644 index 0000000..5595995 --- /dev/null +++ b/build.cmd @@ -0,0 +1,25 @@ +@echo off +title Building C++ Program +echo Building Program... +echo Shell: CMD +:findmingw +set mingwPath=0 +if exist "C:\MinGW" ( + set "mingwPath=C:\MinGW" +) +if "%mingwPath%"=="0" ( + title Building C++ Program - Failed + echo MinGW could not be found. Please make sure that MinGW is installed. + pause>nul + exit +) +if exist out ( +echo Skipping making the "out" folder... +) else ( +mkdir out +echo Created the "out" folder.. +) +g++ --version +g++ -g main.cpp -o out/game.exe +echo Building Complete! +pause>nul \ No newline at end of file -- cgit v1.2.3