mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2024-12-03 02:15:41 +00:00
King_DuckZ
08a6c0d73d
For example if you run the script from dindexer/clang_debug you will tell cmake to make a debug build using clang. You can also use gcc_debug but there is no way to specify a particular version.
15 lines
597 B
Bash
Executable file
15 lines
597 B
Bash
Executable file
#!/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
|