CMakeLists.txt 381 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14

set(EXTRA_SRC)
if(BUILD_TESTING)
	list(APPEND EXTRA_SRC
		AudioOutputTest.cc
	)
endif()

add_library(Audio
	AudioOutput.cc
	${EXTRA_SRC}
)

target_link_libraries(Audio
15
16
	PRIVATE
		qgc
17
	PUBLIC
18
19
20
21
		Qt5::Core
		Qt5::Qml
		Qt5::TextToSpeech
		Qt5::Widgets
22
23
24
25
)

target_include_directories(Audio PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

Daniel Agar's avatar
Daniel Agar committed
26
27
28
29
if(BUILD_TESTING)
	add_qgc_test(AudioOutputTest)
endif()