Modified build config and process

multi_plaform
anulax1225 ago%!(EXTRA string=1 year)
parent 75ecb8e33c
commit e26abf37ce
  1. 8
      bakanet/premake5.lua
  2. 9
      build

@ -28,8 +28,8 @@ project "bakanet"
files files
{ {
"%{prj.location}/src/plaform/windows/**.h", "%{prj.location}/src/platform/windows/**.h",
"%{prj.location}/src/plaform/windows/**.cpp", "%{prj.location}/src/platform/windows/**.cpp",
} }
links links
@ -45,6 +45,6 @@ project "bakanet"
files files
{ {
"%{prj.location}/src/plaform/linux/**.h", "%{prj.location}/src/platform/linux/**.h",
"%{prj.location}/src/plaform/linux/**.cpp", "%{prj.location}/src/platform/linux/**.cpp",
} }

@ -1,3 +1,12 @@
handle_error() {
echo "An error occurred on line $1"
rm -rf bin bin-int
exit 1
}
trap 'handle_error $LINENO' ERR
clear clear
premake5 gmake2 premake5 gmake2
make make

Loading…
Cancel
Save