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:
parent
04f0c2d9ee
commit
c82b13871f
@ -18,6 +18,7 @@ list( APPEND INCLUDES
|
||||
|
||||
list( APPEND DEFINES
|
||||
PRIVATE
|
||||
wxDEBUG_LEVEL=0
|
||||
$<$<PLATFORM_ID:Windows>:__WIN32__>
|
||||
)
|
||||
|
||||
|
@ -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} )
|
||||
|
||||
|
@ -22,6 +22,7 @@ list( APPEND INCLUDES
|
||||
list( APPEND DEFINES
|
||||
PRIVATE
|
||||
BUILDING_SCRIPT_PIPE
|
||||
wxDEBUG_LEVEL=0
|
||||
)
|
||||
|
||||
list( APPEND LIBRARIES
|
||||
|
Loading…
x
Reference in New Issue
Block a user