1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 08:09:32 +02:00

Make sure debug level is properly set

Otherwise, a mix of Debug and Release builds can occur.
This commit is contained in:
Leland Lucius 2020-02-18 20:17:36 -06:00
parent 04f0c2d9ee
commit c82b13871f
3 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,7 @@ list( APPEND INCLUDES
list( APPEND DEFINES
PRIVATE
wxDEBUG_LEVEL=0
$<$<PLATFORM_ID:Windows>:__WIN32__>
)

View File

@ -19,6 +19,11 @@ list( APPEND INCLUDES
${TARGET_ROOT}
)
list( APPEND DEFINES
PRIVATE
wxDEBUG_LEVEL=0
)
list( APPEND LIBRARIES
PRIVATE
Audacity
@ -36,6 +41,7 @@ set_target_properties( ${TARGET}
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
target_sources( ${TARGET} PRIVATE ${SOURCES} )
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} )

View File

@ -22,6 +22,7 @@ list( APPEND INCLUDES
list( APPEND DEFINES
PRIVATE
BUILDING_SCRIPT_PIPE
wxDEBUG_LEVEL=0
)
list( APPEND LIBRARIES