we will use meson as the build system for this project. Added a rough outline of this which builds source, libraries, and links them to tests (along with the google test library for testing). meson will be setup and compiled with ./mk.
9 lines
139 B
Bash
Executable File
9 lines
139 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# if build directory is present, remove it
|
|
if [ -d "build" ]; then
|
|
rm -rf build
|
|
fi
|
|
|
|
meson setup build
|
|
meson compile -C build |