Added option to CMakeLists.txt to enable PA debug output
This commit is contained in:
parent
3438e46e74
commit
3d13eb88be
1 changed files with 5 additions and 0 deletions
|
|
@ -20,6 +20,11 @@ SET(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/bin/Win32)
|
|||
ENDIF(PA_CONFIG_LIB_OUTPUT_PATH)
|
||||
ENDIF(CMAKE_CL_64)
|
||||
|
||||
OPTION(PA_ENABLE_DEBUG_OUTPUT "Enable debug output for Portaudio" OFF)
|
||||
IF(PA_ENABLE_DEBUG_OUTPUT)
|
||||
ADD_DEFINITIONS(-DPA_ENABLE_DEBUG_OUTPUT)
|
||||
ENDIF(PA_ENABLE_DEBUG_OUTPUT)
|
||||
|
||||
IF(WIN32 AND MSVC)
|
||||
OPTION(PA_DLL_LINK_WITH_STATIC_RUNTIME "Link with static runtime libraries (minimizes runtime dependencies)" ON)
|
||||
IF(PA_DLL_LINK_WITH_STATIC_RUNTIME)
|
||||
|
|
|
|||
Loading…
Reference in a new issue