Skip to content
Permalink
Browse files

[NOBIN] Added a build script

  • Loading branch information
hasherezade committed Dec 27, 2018
1 parent 47b84b3 commit 394b17dcf202cb50670fa5c54c7ee7fbe60e7d5b
Showing with 34 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +32 −0 build.sh
@@ -0,0 +1,2 @@
build/

@@ -0,0 +1,32 @@
echo "Trying to build IAT_patcher..."

#QT check
QT_VER=`qmake -v`
QTV="version"
if echo "$QT_VER" | grep -q "$QTV"; then
echo "[+] Qt found!"
else
echo "[-] Qt NOT found!"
echo "Install qt-sdk (Qt5) first"
exit -1
fi

CMAKE_VER=`cmake --version`
CMAKEV="cmake version"
if echo "$CMAKE_VER" | grep -q "$CMAKEV"; then
echo "[+] CMake found!"
else
echo "[-] CMake NOT found!"
echo "Install cmake first"
exit -1
fi
echo $CMAKE_VER
mkdir build
echo "[+] build directory created"
cd build
cmake -G "Unix Makefiles" ../
make
cp patcher/IAT_Patcher ./
pwd
cd ..

0 comments on commit 394b17d

Please sign in to comment.
You can’t perform that action at this time.