mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 03:27:02 -07:00
17 lines
No EOL
396 B
Bash
Executable file
17 lines
No EOL
396 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
|
|
rm bin/gdpm bin/gdpm-tests
|
|
ln -s ../build/gdpm bin/gdpm
|
|
ln -s ../build/gdpm-tests bin/gdpm-tests |