Skip to content
Snippets Groups Projects
Commit 10c3a0ba authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

unify build folders

parent 57bcc77d
No related branches found
No related tags found
No related merge requests found
......@@ -2,11 +2,11 @@
CACHE=/tmp/fggl/
LOG=$CACHE/demo.log
EXE="../build/demo/FgglDemo"
EXE="../builds/cli/demo/FgglDemo"
if [[ ! -d "build/" ]]
if [[ ! -d "builds/cli/" ]]
then
mkdir build
mkdir -p builds/cli
fi
if [ ! -x "$(command -v cmake)" ]; then
......@@ -21,8 +21,8 @@ rm -rf $CACHE
#
# build step
#
pushd build
cmake ..
pushd builds/cli
cmake ../..
make
popd
......@@ -41,5 +41,5 @@ if [ -x "$(command -v mangohud)" ]; then
fi
pushd demo
$EXE ../build/demo/FgglDemo
$EXE
popd
......@@ -2,7 +2,7 @@ configure_file(FgglConfig.h.in FgglConfig.h)
find_program(CLANG_TIDY_FOUND clang-tidy)
if ( CLANG_TIDY_FOUND )
set(CMAKE_CXX_CLANG_TIDY clang-tidy -checks=*,-llvmlibc-*,-fuchsia-*,-cppcoreguidelines-*,-llvm-*)
set(CMAKE_CXX_CLANG_TIDY clang-tidy -checks=*,-llvmlibc-*,-fuchsia-*,-cppcoreguidelines-*,-android-*,-llvm-*,-altera-*)
endif()
add_library(fggl fggl.cpp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment