You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
368 B
29 lines
368 B
|
|
set(EXTRA_SRC) |
|
if(BUILD_TESTING) |
|
list(APPEND EXTRA_SRC |
|
AudioOutputTest.cc |
|
) |
|
endif() |
|
|
|
add_library(Audio |
|
AudioOutput.cc |
|
${EXTRA_SRC} |
|
) |
|
|
|
target_link_libraries(Audio |
|
PUBLIC |
|
Qt5::Core |
|
Qt5::Qml |
|
Qt5::TextToSpeech |
|
Qt5::Widgets |
|
|
|
qgc |
|
) |
|
|
|
target_include_directories(Audio PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) |
|
|
|
if(BUILD_TESTING) |
|
add_qgc_test(AudioOutputTest) |
|
endif() |
|
|
|
|