File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ SET(CMAKE_POSITION_INDEPENDENT_CODE ON)
88
99option (BUILD_SHARED_LIBS "Build shared library" ON )
1010
11- add_definitions (-DIAMF_RIMARY_PROFILE =001 )
11+ add_definitions (-DIAMF_PRIMARY_PROFILE =001 )
1212add_definitions (-DIAMF_ADDITIONAL_PROFILE=001 )
1313
1414set (CODEC_LIB_DIR "${PROJECT_SOURCE_DIR} /dep_codecs/lib" )
@@ -26,6 +26,13 @@ option(CODEC_CAP "Codec capability check" ON)
2626option (MULTICHANNEL_BINAURALIZER "Enable multichannel binaural rendering" OFF )
2727option (HOA_BINAURALIZER "Enable HOA binaural rendering" OFF )
2828
29+ if (CMAKE_BUILD_TYPE )
30+ string (TOLOWER ${CMAKE_BUILD_TYPE} BUILD_TYPE )
31+ if ("${BUILD_TYPE} " STREQUAL "debug" )
32+ add_definitions (-DIA_DBG )
33+ message (STATUS "Debug mode." )
34+ endif ()
35+ endif ()
2936
3037if (MULTICHANNEL_BINAURALIZER)
3138 message (STATUS "Enable multichannel binaural rendering" )
You can’t perform that action at this time.
0 commit comments