1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-08-19 15:39:46 +00:00

Detect compiler to use.

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.
This commit is contained in:
King_DuckZ 2016-08-02 02:11:05 +02:00
parent a10982533e
commit 08a6c0d73d
2 changed files with 20 additions and 4 deletions

View file

@ -10,4 +10,6 @@ exec "$script_path/export_compile_commands" \
-DDINDEXER_WITH_NICE_MEDIA_TYPES=OFF \
-DDINDEXER_NATIVE_RELEASE=ON \
-DDINDEXER_CXX11_ABI=OFF \
-DDINDEXER_DB_OWNER_NAME=dindexer-user
-DDINDEXER_DB_OWNER_NAME=dindexer-user \
-DDINDEXER_ENABLED_BACKENDS=redis,postgresql \
-DDINDEXER_CONFIG_FILE=$(realpath --no-symlinks --canonicalize-missing $PWD/..)/dindexer.yml