CMakeLists.txt 524 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

set(EXTRA_SRC)
if(BUILD_TESTING)
	list(APPEND EXTRA_SRC
		FactSystemTestBase.cc
		FactSystemTestGeneric.cc
		FactSystemTestPX4.cc
		ParameterManagerTest.cc
	)
endif()

add_library(FactSystem
	Fact.cc
	FactControls/FactPanelController.cc
	FactGroup.cc
	FactMetaData.cc
	FactSystem.cc
	FactValueSliderListModel.cc
	ParameterManager.cc
	SettingsFact.cc
21

22 23 24 25
	${EXTRA_SRC}
)

target_link_libraries(FactSystem
26
	PRIVATE
27 28 29 30
		qgc
)

target_include_directories(FactSystem
31
	INTERFACE
32
		${CMAKE_CURRENT_SOURCE_DIR}
33
	PUBLIC
34 35
		FactControls
)