1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-11-29 01:33:46 +00:00
dindexer/tools/cmake_default

16 lines
597 B
Text
Raw Permalink Normal View History

#!/usr/bin/env bash
#see: http://stackoverflow.com/questions/59895/can-a-bash-script-tell-which-directory-it-is-stored-in
script_path="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
exec "$script_path/export_compile_commands" \
-DBUILD_TESTING=ON \
-DPBL_WITH_TESTS=OFF \
-DDINDEXER_WITH_BUILD_DATE=ON \
-DDINDEXER_WITH_NICE_MEDIA_TYPES=OFF \
-DDINDEXER_NATIVE_RELEASE=ON \
-DDINDEXER_CXX11_ABI=OFF \
-DDINDEXER_DB_OWNER_NAME=dindexer-user \
-DDINDEXER_ENABLED_BACKENDS=redis,postgresql \
-DDINDEXER_CONFIG_FILE=$(realpath --no-symlinks --canonicalize-missing $PWD/..)/dindexer.yml