summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-12-01 12:17:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-12-01 12:17:16 +0100
commitee363beaf5a51b21c952cba14d818018b3855f18 (patch)
tree165016dcdd508e00c14ef601a80a966ebb4e4c5a /CMakeLists.txt
parentd7e7760a822e62d3f03f51c7b853ad27a998346b (diff)
Revert "Remove Kalman filter again, unsuitable for nonlinear systems"
This reverts commit d20c56f439c05528967b2bc408a6594a5605675e. With best regards to dbaarda :-) Conflicts: CMakeLists.txt Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 420114bb..e0b0f017 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -196,6 +196,13 @@ file(GLOB opentrack-filter-accela-rc "ftnoir_filter_accela/*.qrc")
QT5_WRAP_UI(opentrack-filter-accela-uih ${opentrack-filter-accela-ui})
QT5_ADD_RESOURCES(opentrack-filter-accela-rcc ${opentrack-filter-accela-rc})
+file(GLOB opentrack-filter-kalman-c "ftnoir_filter_kalman/*.cpp")
+file(GLOB opentrack-filter-kalman-h "ftnoir_filter_kalman/*.h")
+file(GLOB opentrack-filter-kalman-ui "ftnoir_filter_kalman/*.ui")
+file(GLOB opentrack-filter-kalman-rc "ftnoir_filter_kalman/*.qrc")
+QT5_WRAP_UI(opentrack-filter-kalman-uih ${opentrack-filter-kalman-ui})
+QT5_ADD_RESOURCES(opentrack-filter-kalman-rcc ${opentrack-filter-kalman-rc})
+
file(GLOB opentrack-filter-ewma-c "ftnoir_filter_ewma2/*.cpp")
file(GLOB opentrack-filter-ewma-h "ftnoir_filter_ewma2/*.h")
file(GLOB opentrack-filter-ewma-ui "ftnoir_filter_ewma2/*.ui")
@@ -402,6 +409,14 @@ target_link_libraries(opentrack-spline-widget ${MY_QT_LIBS})
add_library(opentrack-filter-accela SHARED ${opentrack-filter-accela-c} ${opentrack-filter-accela-h} ${opentrack-filter-accela-moc} ${opentrack-filter-accela-uih} ${opentrack-filter-accela-rcc})
target_link_libraries(opentrack-filter-accela ${MY_QT_LIBS})
+add_library(opentrack-filter-kalman SHARED ${opentrack-filter-kalman-c} ${opentrack-filter-kalman-h} ${opentrack-filter-kalman-moc} ${opentrack-filter-kalman-uih} ${opentrack-filter-kalman-rcc})
+target_link_libraries(opentrack-filter-kalman ${MY_QT_LIBS} ${OpenCV_LIBS})
+
+if(CMAKE_COMPILER_IS_GNUCXX)
+ SET_TARGET_PROPERTIES(opentrack-filter-kalman
+ PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/facetracknoir/${version-script}-version-script.txt")
+endif()
+
if(CMAKE_COMPILER_IS_GNUCXX)
SET_TARGET_PROPERTIES(opentrack-filter-accela
PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/facetracknoir/${version-script}-version-script.txt")
@@ -766,6 +781,7 @@ install(TARGETS
opentrack-pose-widget
opentrack-spline-widget
opentrack-filter-accela
+ opentrack-filter-kalman
opentrack-filter-ewma
opentrack-tracker-ht
opentrack-tracker-udp