Scripts/build-release.sh

50 lines
783 B
Bash
Raw Permalink Normal View History

2020-01-09 11:29:48 +01:00
#!/usr/bin/env bash
echo 'building all components'
cd ..
#building library first
2020-01-13 14:40:23 +01:00
mkdir library/build
2020-01-09 11:29:48 +01:00
cd library/build
2020-01-09 12:08:20 +01:00
cmake .. -DCMAKE_BUILD_TYPE=Release
2020-01-09 11:29:48 +01:00
make library
cd ../..
2020-01-13 14:40:23 +01:00
mkdir demo/build
2020-01-09 11:29:48 +01:00
cd demo/build
2020-01-09 12:08:20 +01:00
cmake .. -DCMAKE_BUILD_TYPE=Release
2020-01-09 11:29:48 +01:00
make Demo
cd ../..
2020-01-13 14:40:23 +01:00
mkdir gui/build
2020-01-09 11:29:48 +01:00
cd gui/build
2020-01-09 12:08:20 +01:00
cmake .. -DCMAKE_BUILD_TYPE=Release
2020-01-09 11:29:48 +01:00
make GUI
cd ../..
2020-01-13 14:40:23 +01:00
mkdir shared-memory/build
2020-01-09 11:29:48 +01:00
cd shared-memory/build
2020-01-09 12:08:20 +01:00
cmake .. -DCMAKE_BUILD_TYPE=Release
2020-01-09 11:29:48 +01:00
make SharedMemory
cd ../..
2020-01-13 14:40:23 +01:00
mkdir simple-draw/build
2020-01-09 11:29:48 +01:00
cd simple-draw/build
2020-01-09 12:08:20 +01:00
cmake .. -DCMAKE_BUILD_TYPE=Release
2020-01-09 11:29:48 +01:00
make SimpleDraw
cd ../..
2020-01-13 14:40:23 +01:00
mkdir terminal/build
2020-01-09 11:29:48 +01:00
cd terminal/build
2020-01-09 12:08:20 +01:00
cmake .. -DCMAKE_BUILD_TYPE=Release
2020-01-09 11:29:48 +01:00
make Terminal
cd ../..
2020-01-13 14:40:23 +01:00
mkdir text-renderer/build
2020-01-09 11:29:48 +01:00
cd text-renderer/build
2020-01-09 12:08:20 +01:00
cmake .. -DCMAKE_BUILD_TYPE=Release
2020-01-09 11:29:48 +01:00
make TextRenderer
cd ../..