Added bigmeta to cmakelist and ifdef flag to config.cpp
This commit is contained in:
parent
2c44be003c
commit
3ab582d60b
2 changed files with 6 additions and 1 deletions
|
@ -68,7 +68,9 @@ endif()
|
||||||
if (NOT DEFINED NOSHM )
|
if (NOT DEFINED NOSHM )
|
||||||
add_definitions(-DSHM_ENABLED=1)
|
add_definitions(-DSHM_ENABLED=1)
|
||||||
endif()
|
endif()
|
||||||
|
if (DEFINED BIGMETA )
|
||||||
|
add_definitions(-DBIGMETA=1)
|
||||||
|
endif()
|
||||||
########################################
|
########################################
|
||||||
# Build Variables - Thread Names #
|
# Build Variables - Thread Names #
|
||||||
########################################
|
########################################
|
||||||
|
|
|
@ -206,6 +206,9 @@ bool Util::Config::parseArgs(int & argc, char ** & argv) {
|
||||||
#ifdef WITH_THREADNAMES
|
#ifdef WITH_THREADNAMES
|
||||||
std::cout << "- Flag: With threadnames. Debuggers will show sensible human-readable thread names." << std::endl;
|
std::cout << "- Flag: With threadnames. Debuggers will show sensible human-readable thread names." << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef BIGMETA
|
||||||
|
std::cout << "- Flag: Big metadata. Enabled longer live stream durations. Breaks compatibility with DTSH files generated by versions without this flag." << std::endl;
|
||||||
|
#endif
|
||||||
std::cout << "Built on " __DATE__ ", " __TIME__ << std::endl;
|
std::cout << "Built on " __DATE__ ", " __TIME__ << std::endl;
|
||||||
exit(1);
|
exit(1);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue