2020-12-09 14:11:22 +01:00
|
|
|
|
|
|
|
set(MODULE fluidsynth)
|
|
|
|
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/fluidsynth.cmake)
|
|
|
|
|
|
|
|
set(MODULE_SRC
|
|
|
|
${FLUIDSYNTH_SRC}
|
|
|
|
)
|
|
|
|
|
|
|
|
set (MODULE_INCLUDE
|
|
|
|
${FLUIDSYNTH_INC}
|
|
|
|
${SNDFILE_INCDIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
set (MODULE_DEF
|
|
|
|
${FLUIDSYNTH_DEF}
|
|
|
|
)
|
|
|
|
|
|
|
|
set(MODULE_LINK
|
|
|
|
${SNDFILE_LIB}
|
|
|
|
)
|
|
|
|
|
2020-12-11 22:31:16 +01:00
|
|
|
set(MODULE_USE_PCH_NONE ON)
|
2020-12-09 14:11:22 +01:00
|
|
|
include(${PROJECT_SOURCE_DIR}/build/module.cmake)
|
|
|
|
|
2020-12-10 08:03:52 +01:00
|
|
|
#target_no_warning(${MODULE} -Wunused-const-variable=0)
|
2020-12-09 14:11:22 +01:00
|
|
|
target_no_warning(${MODULE} -Wno-unused-parameter)
|
|
|
|
target_no_warning(${MODULE} -Wno-unused-variable)
|
|
|
|
target_no_warning(${MODULE} -Wno-type-limits)
|
|
|
|
target_no_warning(${MODULE} -Wno-unknown-pragmas)
|
|
|
|
target_no_warning(${MODULE} -Wno-conversion)
|
|
|
|
target_no_warning(${MODULE} -Wno-uninitialized)
|
|
|
|
target_no_warning(${MODULE} -WMSVC-no-translation-unit-is-empty)
|
|
|
|
target_no_warning(${MODULE} -WMSVC-no-nonstandard-extension-used)
|
|
|
|
target_no_warning(${MODULE} -WMSVC-no-assignment-within-conditional-expression)
|
|
|
|
target_no_warning(${MODULE} -WMSVC-no-hides-previous)
|
|
|
|
target_no_warning(${MODULE} -WMSVC-no-undefined-assuming-extern)
|
|
|
|
target_no_warning(${MODULE} -WMSVC-named-type-definition-in-parentheses)
|