mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 11:37:00 -07:00
-Added CI yaml file for workflows -Added `doctest` as dependency -Added test target executable to CMakeLists.txt -Renamed `bin` scripts to remove `gdpm*` prefix -Updated `SQLite 3` dependency in CMakeLists.txt -Implement basic unit testing in `tests/basic.cpp` -Fixed issue with handling `fmt` strings
16 lines
No EOL
369 B
Bash
Executable file
16 lines
No EOL
369 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Run this script at project root
|
|
#meson configure build
|
|
#CXX=clang++ meson compile -C build -j$(proc)
|
|
|
|
|
|
|
|
# CMake/ninja build system
|
|
mkdir -p build
|
|
cmake -B build -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -G Ninja
|
|
ninja -C build
|
|
|
|
# Create symlinks to executables in build folder if necessary
|
|
ln -s ../build/gdpm bin/gdpm
|
|
ln -s ../build/gdpm-tests bin/gdpm-tests |