CMakeLists.txt 534 Bytes
Newer Older
1

2 3
add_subdirectory(FactControls)

4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
set(EXTRA_SRC)
if(BUILD_TESTING)
	list(APPEND EXTRA_SRC
		FactSystemTestBase.cc
		FactSystemTestGeneric.cc
		FactSystemTestPX4.cc
		ParameterManagerTest.cc
	)
endif()

add_library(FactSystem
	Fact.cc
	FactGroup.cc
	FactMetaData.cc
	FactSystem.cc
	FactValueSliderListModel.cc
	ParameterManager.cc
	SettingsFact.cc
22

23 24 25 26
	${EXTRA_SRC}
)

target_link_libraries(FactSystem
27
	PRIVATE
28
		qgc
29
		FactControls
30 31 32
)

target_include_directories(FactSystem
33
	INTERFACE
34
		${CMAKE_CURRENT_SOURCE_DIR}
35
	PUBLIC
36 37
		FactControls
)