automate building on 64-bit linux

This commit is contained in:
CharlesThobe 2021-12-14 14:21:07 +02:00
parent 08144ab3cf
commit 64ebd0339f
1684 changed files with 24 additions and 72 deletions

24
build.sh Executable file
View File

@ -0,0 +1,24 @@
#!/bin/bash
shopt -s extglob
cd "$(dirname "$0")"
mkdir build
cd build
cp -R ../3rdparty/ .
mkdir -p src/tools
cp ../src/chdman.cpp src/tools/.
cp -R -t src/ ../src/!("chdman.cpp"|"version.cpp")
mkdir -p build/generated
cp ../src/version.cpp build/generated/.
mkdir -p build/1/2/3/4
cp -t build/1/2/3/4 ../make_files/*.make
cp -t build/1/2/3/4 ../make_files/3rdparty/*.make
cd build/1/2/3/4
for mkfile in !("chdman.make"); do make -f "$mkfile" -j$(nproc) config=release64; done
make -f "chdman.make" -j$(nproc) config=release64

Some files were not shown because too many files have changed in this diff Show More