aboutsummaryrefslogtreecommitdiff
path: root/build.cmd
diff options
context:
space:
mode:
authorAlee <Alee14498@gmail.com>2019-01-28 16:56:02 -0500
committerAlee <Alee14498@gmail.com>2019-01-28 16:56:02 -0500
commit62663f00aebe7a8fd85f3f7f8e412555a52f2876 (patch)
treef839aeb26eaaf7914defd6143cc228b0d4a86424 /build.cmd
parenta63c17bd09ed3b677a06d0aed7a933dea46c51d8 (diff)
downloadProject-Xeon-62663f00aebe7a8fd85f3f7f8e412555a52f2876.tar.gz
Project-Xeon-62663f00aebe7a8fd85f3f7f8e412555a52f2876.tar.bz2
Project-Xeon-62663f00aebe7a8fd85f3f7f8e412555a52f2876.zip
renamed bat to cmd
Diffstat (limited to 'build.cmd')
-rw-r--r--build.cmd25
1 files changed, 25 insertions, 0 deletions
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