1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-07-03 14:14:11 +00:00

Show state of WITH_NICE_MEDIA_TYPES in dindexer -b

This commit is contained in:
King_DuckZ 2016-04-27 01:20:12 +02:00
parent 72ce72273d
commit 804a02c63b
2 changed files with 11 additions and 0 deletions

View file

@ -18,6 +18,8 @@
#ifndef id48D6E1D45238460F99C2BCBFDE920791 #ifndef id48D6E1D45238460F99C2BCBFDE920791
#define id48D6E1D45238460F99C2BCBFDE920791 #define id48D6E1D45238460F99C2BCBFDE920791
#include "dindexer-common/cmake_on_off.h"
#define PROGRAM_NAME "@bare_name@" #define PROGRAM_NAME "@bare_name@"
#define VERSION_MAJOR @PROJECT_VERSION_MAJOR@ #define VERSION_MAJOR @PROJECT_VERSION_MAJOR@
#define VERSION_MINOR @PROJECT_VERSION_MINOR@ #define VERSION_MINOR @PROJECT_VERSION_MINOR@
@ -45,4 +47,8 @@
#define CMAKE_C_COMPILER_ID "@CMAKE_C_COMPILER_ID@" #define CMAKE_C_COMPILER_ID "@CMAKE_C_COMPILER_ID@"
#define CMAKE_VERSION "@CMAKE_VERSION@" #define CMAKE_VERSION "@CMAKE_VERSION@"
#if CMAKE_@DINDEXER_WITH_NICE_MEDIA_TYPES@
# define WITH_NICE_MEDIA_TYPES
#endif
#endif #endif

View file

@ -46,6 +46,11 @@ void print_builtin_feats() {
#if defined(DINDEXER_BUILD_DATE) #if defined(DINDEXER_BUILD_DATE)
printf("BUILD_DATE = %s\n", DINDEXER_BUILD_DATE); printf("BUILD_DATE = %s\n", DINDEXER_BUILD_DATE);
#endif #endif
#if defined(WITH_NICE_MEDIA_TYPES)
printf("WITH_NICE_MEDIA_TYPES = yes\n");
#else
printf("WITH_NICE_MEDIA_TYPES = no\n");
#endif
} }
void print_version() { void print_version() {