mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 17:09:26 +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
|
list( APPEND DEFINES
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
wxDEBUG_LEVEL=0
|
||||||
$<$<PLATFORM_ID:Windows>:__WIN32__>
|
$<$<PLATFORM_ID:Windows>:__WIN32__>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -19,6 +19,11 @@ list( APPEND INCLUDES
|
|||||||
${TARGET_ROOT}
|
${TARGET_ROOT}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
list( APPEND DEFINES
|
||||||
|
PRIVATE
|
||||||
|
wxDEBUG_LEVEL=0
|
||||||
|
)
|
||||||
|
|
||||||
list( APPEND LIBRARIES
|
list( APPEND LIBRARIES
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Audacity
|
Audacity
|
||||||
@ -36,6 +41,7 @@ set_target_properties( ${TARGET}
|
|||||||
|
|
||||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||||
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
||||||
|
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
|
||||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||||
target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} )
|
target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} )
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@ list( APPEND INCLUDES
|
|||||||
list( APPEND DEFINES
|
list( APPEND DEFINES
|
||||||
PRIVATE
|
PRIVATE
|
||||||
BUILDING_SCRIPT_PIPE
|
BUILDING_SCRIPT_PIPE
|
||||||
|
wxDEBUG_LEVEL=0
|
||||||
)
|
)
|
||||||
|
|
||||||
list( APPEND LIBRARIES
|
list( APPEND LIBRARIES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user