diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5a9faa9 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +all: + ./Unix-BuildDebug.sh +clean: + ./Unix-Clean.sh diff --git a/Unix-BuildDebug.sh b/Unix-BuildDebug.sh new file mode 100755 index 0000000..f8e8cda --- /dev/null +++ b/Unix-BuildDebug.sh @@ -0,0 +1,20 @@ +# Copyright (C) 2014 Benny Bobaganoosh +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +#This version of the build script is hardcoded to the debug version so +#it can be used by the Makefile +cd build +cmake -DCMAKE_BUILD_TYPE="Debug" ../ +make -j 4 +mv ../res/ ./ diff --git a/run b/run new file mode 100755 index 0000000..ae32c79 --- /dev/null +++ b/run @@ -0,0 +1,3 @@ +cd ./build +./3DEngineCpp +cd ../