From d0e2ee071eab58967820a9e98270dea11b276ffd Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 29 Apr 2013 16:16:36 +0200 Subject: rename to opentrack --- CMakeLists.txt | 486 +++++++++++++-------------- facetracknoir/facetracknoir.cpp | 3 +- ftnoir_protocol_sc/ftnoir_protocol_sc.cpp | 2 +- ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp | 2 +- 4 files changed, 246 insertions(+), 247 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 65f0adf0..0eecdafe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ IF(WIN32) SET(SDK_RIFT "" CACHE PATH "libOVR path") ENDIF() -file(GLOB ftnoir-faceapi-wrapper-c "faceapi/*.cpp") +file(GLOB opentrack-faceapi-wrapper-c "faceapi/*.cpp") include_directories(${CMAKE_SOURCE_DIR}) if(NOT SDK_FACEAPI_ONLY) @@ -116,168 +116,168 @@ endif() if(NOT SDK_FACEAPI_ONLY) # main app - file(GLOB ftnoir-bin-c "facetracknoir/*.cpp" "facetracknoir/*.rc") - file(GLOB ftnoir-bin-h "facetracknoir/*.h") - QT4_WRAP_CPP(ftnoir-bin-moc ${ftnoir-bin-h}) - file(GLOB ftnoir-bin-ui "facetracknoir/*.ui") - file(GLOB ftnoir-bin-rc "facetracknoir/*.qrc") - QT4_WRAP_UI(ftnoir-bin-uih ${ftnoir-bin-ui}) - QT4_ADD_RESOURCES(ftnoir-bin-rcc ${ftnoir-bin-rc}) + file(GLOB opentrack-bin-c "facetracknoir/*.cpp" "facetracknoir/*.rc") + file(GLOB opentrack-bin-h "facetracknoir/*.h") + QT4_WRAP_CPP(opentrack-bin-moc ${opentrack-bin-h}) + file(GLOB opentrack-bin-ui "facetracknoir/*.ui") + file(GLOB opentrack-bin-rc "facetracknoir/*.qrc") + QT4_WRAP_UI(opentrack-bin-uih ${opentrack-bin-ui}) + QT4_ADD_RESOURCES(opentrack-bin-rcc ${opentrack-bin-rc}) - file(GLOB ftnoir-pose-widget-c "ftnoir_posewidget/*.cpp") - file(GLOB ftnoir-pose-widget-h "ftnoir_posewidget/*.h") - QT4_WRAP_CPP(ftnoir-pose-widget-moc ${ftnoir-pose-widget-h}) - file(GLOB ftnoir-pose-widget-rc "ftnoir_posewidget/*.qrc") - QT4_ADD_RESOURCES(ftnoir-pose-widget-rcc ${ftnoir-pose-widget-rc}) + file(GLOB opentrack-pose-widget-c "ftnoir_posewidget/*.cpp") + file(GLOB opentrack-pose-widget-h "ftnoir_posewidget/*.h") + QT4_WRAP_CPP(opentrack-pose-widget-moc ${opentrack-pose-widget-h}) + file(GLOB opentrack-pose-widget-rc "ftnoir_posewidget/*.qrc") + QT4_ADD_RESOURCES(opentrack-pose-widget-rcc ${opentrack-pose-widget-rc}) - file(GLOB ftnoir-spline-widget-c "qfunctionconfigurator/*.cpp") - file(GLOB ftnoir-spline-widget-h "qfunctionconfigurator/*.h") - QT4_WRAP_CPP(ftnoir-spline-widget-moc ${ftnoir-spline-widget-h}) + file(GLOB opentrack-spline-widget-c "qfunctionconfigurator/*.cpp") + file(GLOB opentrack-spline-widget-h "qfunctionconfigurator/*.h") + QT4_WRAP_CPP(opentrack-spline-widget-moc ${opentrack-spline-widget-h}) # filters - file(GLOB ftnoir-filter-accela-c "ftnoir_filter_accela/*.cpp") - file(GLOB ftnoir-filter-accela-h "ftnoir_filter_accela/*.h") - QT4_WRAP_CPP(ftnoir-filter-accela-moc ${ftnoir-filter-accela-h}) - file(GLOB ftnoir-filter-accela-ui "ftnoir_filter_accela/*.ui") - file(GLOB ftnoir-filter-accela-rc "ftnoir_filter_accela/*.qrc") - QT4_WRAP_UI(ftnoir-filter-accela-uih ${ftnoir-filter-accela-ui}) - QT4_ADD_RESOURCES(ftnoir-filter-accela-rcc ${ftnoir-filter-accela-rc}) - - file(GLOB ftnoir-filter-ewma-c "ftnoir_filter_ewma2/*.cpp") - file(GLOB ftnoir-filter-ewma-h "ftnoir_filter_ewma2/*.h") - QT4_WRAP_CPP(ftnoir-filter-ewma-moc ${ftnoir-filter-ewma-h}) - file(GLOB ftnoir-filter-ewma-ui "ftnoir_filter_ewma2/*.ui") - file(GLOB ftnoir-filter-ewma-rc "ftnoir_filter_ewma2/*.qrc") - QT4_WRAP_UI(ftnoir-filter-ewma-uih ${ftnoir-filter-ewma-ui}) - QT4_ADD_RESOURCES(ftnoir-filter-ewma-rcc ${ftnoir-filter-ewma-rc}) + file(GLOB opentrack-filter-accela-c "ftnoir_filter_accela/*.cpp") + file(GLOB opentrack-filter-accela-h "ftnoir_filter_accela/*.h") + QT4_WRAP_CPP(opentrack-filter-accela-moc ${opentrack-filter-accela-h}) + file(GLOB opentrack-filter-accela-ui "ftnoir_filter_accela/*.ui") + file(GLOB opentrack-filter-accela-rc "ftnoir_filter_accela/*.qrc") + QT4_WRAP_UI(opentrack-filter-accela-uih ${opentrack-filter-accela-ui}) + QT4_ADD_RESOURCES(opentrack-filter-accela-rcc ${opentrack-filter-accela-rc}) + + file(GLOB opentrack-filter-ewma-c "ftnoir_filter_ewma2/*.cpp") + file(GLOB opentrack-filter-ewma-h "ftnoir_filter_ewma2/*.h") + QT4_WRAP_CPP(opentrack-filter-ewma-moc ${opentrack-filter-ewma-h}) + file(GLOB opentrack-filter-ewma-ui "ftnoir_filter_ewma2/*.ui") + file(GLOB opentrack-filter-ewma-rc "ftnoir_filter_ewma2/*.qrc") + QT4_WRAP_UI(opentrack-filter-ewma-uih ${opentrack-filter-ewma-ui}) + QT4_ADD_RESOURCES(opentrack-filter-ewma-rcc ${opentrack-filter-ewma-rc}) # protocols - file(GLOB ftnoir-proto-fgfs-c "ftnoir_protocol_fg/*.cpp") - file(GLOB ftnoir-proto-fgfs-h "ftnoir_protocol_fg/*.h") - QT4_WRAP_CPP(ftnoir-proto-fgfs-moc ${ftnoir-proto-fgfs-h}) - file(GLOB ftnoir-proto-fgfs-ui "ftnoir_protocol_fg/*.ui") - file(GLOB ftnoir-proto-fgfs-rc "ftnoir_protocol_fg/*.qrc") - QT4_WRAP_UI(ftnoir-proto-fgfs-uih ${ftnoir-proto-fgfs-ui}) - QT4_ADD_RESOURCES(ftnoir-proto-fgfs-rcc ${ftnoir-proto-fgfs-rc}) - - file(GLOB ftnoir-proto-fsuipc-c "ftnoir_protocol_fsuipc/*.cpp") - file(GLOB ftnoir-proto-fsuipc-h "ftnoir_protocol_fsuipc/*.h") - QT4_WRAP_CPP(ftnoir-proto-fsuipc-moc ${ftnoir-proto-fsuipc-h}) - file(GLOB ftnoir-proto-fsuipc-ui "ftnoir_protocol_fsuipc/*.ui") - file(GLOB ftnoir-proto-fsuipc-rc "ftnoir_protocol_fsuipc/*.qrc") - QT4_WRAP_UI(ftnoir-proto-fsuipc-uih ${ftnoir-proto-fsuipc-ui}) - QT4_ADD_RESOURCES(ftnoir-proto-fsuipc-rcc ${ftnoir-proto-fsuipc-rc}) - - file(GLOB ftnoir-proto-freetrack-c "ftnoir_protocol_ft/*.cpp") - file(GLOB ftnoir-proto-freetrack-h "ftnoir_protocol_ft/*.h") - QT4_WRAP_CPP(ftnoir-proto-freetrack-moc ${ftnoir-proto-freetrack-h}) - file(GLOB ftnoir-proto-freetrack-ui "ftnoir_protocol_ft/*.ui") - file(GLOB ftnoir-proto-freetrack-rc "ftnoir_protocol_ft/*.qrc") - QT4_WRAP_UI(ftnoir-proto-freetrack-uih ${ftnoir-proto-freetrack-ui}) - QT4_ADD_RESOURCES(ftnoir-proto-freetrack-rcc ${ftnoir-proto-freetrack-rc}) - - file(GLOB ftnoir-proto-udp-c "ftnoir_protocol_ftn/*.cpp") - file(GLOB ftnoir-proto-udp-h "ftnoir_protocol_ftn/*.h") - QT4_WRAP_CPP(ftnoir-proto-udp-moc ${ftnoir-proto-udp-h}) - file(GLOB ftnoir-proto-udp-ui "ftnoir_protocol_ftn/*.ui") - file(GLOB ftnoir-proto-udp-rc "ftnoir_protocol_ftn/*.qrc") - QT4_WRAP_UI(ftnoir-proto-udp-uih ${ftnoir-proto-udp-ui}) - QT4_ADD_RESOURCES(ftnoir-proto-udp-rcc ${ftnoir-proto-udp-rc}) - - file(GLOB ftnoir-proto-wine-c "ftnoir_protocol_wine/*.cpp") - file(GLOB ftnoir-proto-wine-h "ftnoir_protocol_wine/*.h") - QT4_WRAP_CPP(ftnoir-proto-wine-moc ${ftnoir-proto-wine-h}) - file(GLOB ftnoir-proto-wine-ui "ftnoir_protocol_wine/*.ui") - file(GLOB ftnoir-proto-wine-rc "ftnoir_protocol_wine/*.qrc") - QT4_WRAP_UI(ftnoir-proto-wine-uih ${ftnoir-proto-wine-ui}) - QT4_ADD_RESOURCES(ftnoir-proto-wine-rcc ${ftnoir-proto-wine-rc}) - - file(GLOB ftnoir-proto-win32-mouse-c "ftnoir_protocol_mouse/*.cpp") - file(GLOB ftnoir-proto-win32-mouse-h "ftnoir_protocol_mouse/*.h") - QT4_WRAP_CPP(ftnoir-proto-win32-mouse-moc ${ftnoir-proto-win32-mouse-h}) - file(GLOB ftnoir-proto-win32-mouse-ui "ftnoir_protocol_mouse/*.ui") - file(GLOB ftnoir-proto-win32-mouse-rc "ftnoir_protocol_mouse/*.qrc") - QT4_WRAP_UI(ftnoir-proto-win32-mouse-uih ${ftnoir-proto-win32-mouse-ui}) - QT4_ADD_RESOURCES(ftnoir-proto-win32-mouse-rcc ${ftnoir-proto-win32-mouse-rc}) - - file(GLOB ftnoir-proto-simconnect-c "ftnoir_protocol_sc/*.cpp") - file(GLOB ftnoir-proto-simconnect-h "ftnoir_protocol_sc/*.h") - QT4_WRAP_CPP(ftnoir-proto-simconnect-moc ${ftnoir-proto-simconnect-h}) - file(GLOB ftnoir-proto-simconnect-ui "ftnoir_protocol_sc/*.ui") - file(GLOB ftnoir-proto-simconnect-rc "ftnoir_protocol_sc/*.qrc") - QT4_WRAP_UI(ftnoir-proto-simconnect-uih ${ftnoir-proto-simconnect-ui}) - QT4_ADD_RESOURCES(ftnoir-proto-simconnect-rcc ${ftnoir-proto-simconnect-rc}) + file(GLOB opentrack-proto-fgfs-c "ftnoir_protocol_fg/*.cpp") + file(GLOB opentrack-proto-fgfs-h "ftnoir_protocol_fg/*.h") + QT4_WRAP_CPP(opentrack-proto-fgfs-moc ${opentrack-proto-fgfs-h}) + file(GLOB opentrack-proto-fgfs-ui "ftnoir_protocol_fg/*.ui") + file(GLOB opentrack-proto-fgfs-rc "ftnoir_protocol_fg/*.qrc") + QT4_WRAP_UI(opentrack-proto-fgfs-uih ${opentrack-proto-fgfs-ui}) + QT4_ADD_RESOURCES(opentrack-proto-fgfs-rcc ${opentrack-proto-fgfs-rc}) + + file(GLOB opentrack-proto-fsuipc-c "ftnoir_protocol_fsuipc/*.cpp") + file(GLOB opentrack-proto-fsuipc-h "ftnoir_protocol_fsuipc/*.h") + QT4_WRAP_CPP(opentrack-proto-fsuipc-moc ${opentrack-proto-fsuipc-h}) + file(GLOB opentrack-proto-fsuipc-ui "ftnoir_protocol_fsuipc/*.ui") + file(GLOB opentrack-proto-fsuipc-rc "ftnoir_protocol_fsuipc/*.qrc") + QT4_WRAP_UI(opentrack-proto-fsuipc-uih ${opentrack-proto-fsuipc-ui}) + QT4_ADD_RESOURCES(opentrack-proto-fsuipc-rcc ${opentrack-proto-fsuipc-rc}) + + file(GLOB opentrack-proto-freetrack-c "ftnoir_protocol_ft/*.cpp") + file(GLOB opentrack-proto-freetrack-h "ftnoir_protocol_ft/*.h") + QT4_WRAP_CPP(opentrack-proto-freetrack-moc ${opentrack-proto-freetrack-h}) + file(GLOB opentrack-proto-freetrack-ui "ftnoir_protocol_ft/*.ui") + file(GLOB opentrack-proto-freetrack-rc "ftnoir_protocol_ft/*.qrc") + QT4_WRAP_UI(opentrack-proto-freetrack-uih ${opentrack-proto-freetrack-ui}) + QT4_ADD_RESOURCES(opentrack-proto-freetrack-rcc ${opentrack-proto-freetrack-rc}) + + file(GLOB opentrack-proto-udp-c "ftnoir_protocol_ftn/*.cpp") + file(GLOB opentrack-proto-udp-h "ftnoir_protocol_ftn/*.h") + QT4_WRAP_CPP(opentrack-proto-udp-moc ${opentrack-proto-udp-h}) + file(GLOB opentrack-proto-udp-ui "ftnoir_protocol_ftn/*.ui") + file(GLOB opentrack-proto-udp-rc "ftnoir_protocol_ftn/*.qrc") + QT4_WRAP_UI(opentrack-proto-udp-uih ${opentrack-proto-udp-ui}) + QT4_ADD_RESOURCES(opentrack-proto-udp-rcc ${opentrack-proto-udp-rc}) + + file(GLOB opentrack-proto-wine-c "ftnoir_protocol_wine/*.cpp") + file(GLOB opentrack-proto-wine-h "ftnoir_protocol_wine/*.h") + QT4_WRAP_CPP(opentrack-proto-wine-moc ${opentrack-proto-wine-h}) + file(GLOB opentrack-proto-wine-ui "ftnoir_protocol_wine/*.ui") + file(GLOB opentrack-proto-wine-rc "ftnoir_protocol_wine/*.qrc") + QT4_WRAP_UI(opentrack-proto-wine-uih ${opentrack-proto-wine-ui}) + QT4_ADD_RESOURCES(opentrack-proto-wine-rcc ${opentrack-proto-wine-rc}) + + file(GLOB opentrack-proto-win32-mouse-c "ftnoir_protocol_mouse/*.cpp") + file(GLOB opentrack-proto-win32-mouse-h "ftnoir_protocol_mouse/*.h") + QT4_WRAP_CPP(opentrack-proto-win32-mouse-moc ${opentrack-proto-win32-mouse-h}) + file(GLOB opentrack-proto-win32-mouse-ui "ftnoir_protocol_mouse/*.ui") + file(GLOB opentrack-proto-win32-mouse-rc "ftnoir_protocol_mouse/*.qrc") + QT4_WRAP_UI(opentrack-proto-win32-mouse-uih ${opentrack-proto-win32-mouse-ui}) + QT4_ADD_RESOURCES(opentrack-proto-win32-mouse-rcc ${opentrack-proto-win32-mouse-rc}) + + file(GLOB opentrack-proto-simconnect-c "ftnoir_protocol_sc/*.cpp") + file(GLOB opentrack-proto-simconnect-h "ftnoir_protocol_sc/*.h") + QT4_WRAP_CPP(opentrack-proto-simconnect-moc ${opentrack-proto-simconnect-h}) + file(GLOB opentrack-proto-simconnect-ui "ftnoir_protocol_sc/*.ui") + file(GLOB opentrack-proto-simconnect-rc "ftnoir_protocol_sc/*.qrc") + QT4_WRAP_UI(opentrack-proto-simconnect-uih ${opentrack-proto-simconnect-ui}) + QT4_ADD_RESOURCES(opentrack-proto-simconnect-rcc ${opentrack-proto-simconnect-rc}) # trackers - file(GLOB ftnoir-tracker-ht-c "ftnoir_tracker_ht/*.cpp") - file(GLOB ftnoir-tracker-ht-h "ftnoir_tracker_ht/*.h") - QT4_WRAP_CPP(ftnoir-tracker-ht-moc ${ftnoir-tracker-ht-h}) - file(GLOB ftnoir-tracker-ht-ui "ftnoir_tracker_ht/*.ui") - file(GLOB ftnoir-tracker-ht-rc "ftnoir_tracker_ht/*.qrc") - QT4_WRAP_UI(ftnoir-tracker-ht-uih ${ftnoir-tracker-ht-ui}) - QT4_ADD_RESOURCES(ftnoir-tracker-ht-rcc ${ftnoir-tracker-ht-rc}) - - file(GLOB ftnoir-tracker-pt-c "ftnoir_tracker_pt/*.cpp") - file(GLOB ftnoir-tracker-pt-h "ftnoir_tracker_pt/*.h") - QT4_WRAP_CPP(ftnoir-tracker-pt-moc ${ftnoir-tracker-pt-h}) - file(GLOB ftnoir-tracker-pt-ui "ftnoir_tracker_pt/*.ui") - file(GLOB ftnoir-tracker-pt-rc "ftnoir_tracker_pt/*.qrc") - QT4_WRAP_UI(ftnoir-tracker-pt-uih ${ftnoir-tracker-pt-ui}) - QT4_ADD_RESOURCES(ftnoir-tracker-pt-rcc ${ftnoir-tracker-pt-rc}) - - file(GLOB ftnoir-tracker-udp-c "ftnoir_tracker_udp/*.cpp") - file(GLOB ftnoir-tracker-udp-h "ftnoir_tracker_udp/*.h") - QT4_WRAP_CPP(ftnoir-tracker-udp-moc ${ftnoir-tracker-udp-h}) - file(GLOB ftnoir-tracker-udp-ui "ftnoir_tracker_udp/*.ui") - file(GLOB ftnoir-tracker-udp-rc "ftnoir_tracker_udp/*.qrc") - QT4_WRAP_UI(ftnoir-tracker-udp-uih ${ftnoir-tracker-udp-ui}) - QT4_ADD_RESOURCES(ftnoir-tracker-udp-rcc ${ftnoir-tracker-udp-rc}) - - file(GLOB ftnoir-tracker-hillcrest-c "ftnoir_tracker_hillcrest/*.cpp") - file(GLOB ftnoir-tracker-hillcrest-h "ftnoir_tracker_hillcrest/*.h") - QT4_WRAP_CPP(ftnoir-tracker-hillcrest-moc ${ftnoir-tracker-hillcrest-h}) - file(GLOB ftnoir-tracker-hillcrest-ui "ftnoir_tracker_hillcrest/*.ui") - file(GLOB ftnoir-tracker-hillcrest-rc "ftnoir_tracker_hillcrest/*.qrc") - QT4_WRAP_UI(ftnoir-tracker-hillcrest-uih ${ftnoir-tracker-hillcrest-ui}) - QT4_ADD_RESOURCES(ftnoir-tracker-hillcrest-rcc ${ftnoir-tracker-hillcrest-rc}) + file(GLOB opentrack-tracker-ht-c "ftnoir_tracker_ht/*.cpp") + file(GLOB opentrack-tracker-ht-h "ftnoir_tracker_ht/*.h") + QT4_WRAP_CPP(opentrack-tracker-ht-moc ${opentrack-tracker-ht-h}) + file(GLOB opentrack-tracker-ht-ui "ftnoir_tracker_ht/*.ui") + file(GLOB opentrack-tracker-ht-rc "ftnoir_tracker_ht/*.qrc") + QT4_WRAP_UI(opentrack-tracker-ht-uih ${opentrack-tracker-ht-ui}) + QT4_ADD_RESOURCES(opentrack-tracker-ht-rcc ${opentrack-tracker-ht-rc}) + + file(GLOB opentrack-tracker-pt-c "ftnoir_tracker_pt/*.cpp") + file(GLOB opentrack-tracker-pt-h "ftnoir_tracker_pt/*.h") + QT4_WRAP_CPP(opentrack-tracker-pt-moc ${opentrack-tracker-pt-h}) + file(GLOB opentrack-tracker-pt-ui "ftnoir_tracker_pt/*.ui") + file(GLOB opentrack-tracker-pt-rc "ftnoir_tracker_pt/*.qrc") + QT4_WRAP_UI(opentrack-tracker-pt-uih ${opentrack-tracker-pt-ui}) + QT4_ADD_RESOURCES(opentrack-tracker-pt-rcc ${opentrack-tracker-pt-rc}) + + file(GLOB opentrack-tracker-udp-c "ftnoir_tracker_udp/*.cpp") + file(GLOB opentrack-tracker-udp-h "ftnoir_tracker_udp/*.h") + QT4_WRAP_CPP(opentrack-tracker-udp-moc ${opentrack-tracker-udp-h}) + file(GLOB opentrack-tracker-udp-ui "ftnoir_tracker_udp/*.ui") + file(GLOB opentrack-tracker-udp-rc "ftnoir_tracker_udp/*.qrc") + QT4_WRAP_UI(opentrack-tracker-udp-uih ${opentrack-tracker-udp-ui}) + QT4_ADD_RESOURCES(opentrack-tracker-udp-rcc ${opentrack-tracker-udp-rc}) + + file(GLOB opentrack-tracker-hillcrest-c "ftnoir_tracker_hillcrest/*.cpp") + file(GLOB opentrack-tracker-hillcrest-h "ftnoir_tracker_hillcrest/*.h") + QT4_WRAP_CPP(opentrack-tracker-hillcrest-moc ${opentrack-tracker-hillcrest-h}) + file(GLOB opentrack-tracker-hillcrest-ui "ftnoir_tracker_hillcrest/*.ui") + file(GLOB opentrack-tracker-hillcrest-rc "ftnoir_tracker_hillcrest/*.qrc") + QT4_WRAP_UI(opentrack-tracker-hillcrest-uih ${opentrack-tracker-hillcrest-ui}) + QT4_ADD_RESOURCES(opentrack-tracker-hillcrest-rcc ${opentrack-tracker-hillcrest-rc}) - file(GLOB ftnoir-tracker-rift-c "ftnoir_tracker_rift/*.cpp") - file(GLOB ftnoir-tracker-rift-h "ftnoir_tracker_rift/*.h") - QT4_WRAP_CPP(ftnoir-tracker-rift-moc ${ftnoir-tracker-rift-h}) - file(GLOB ftnoir-tracker-rift-ui "ftnoir_tracker_rift/*.ui") - file(GLOB ftnoir-tracker-rift-rc "ftnoir_tracker_rift/*.qrc") - QT4_WRAP_UI(ftnoir-tracker-rift-uih ${ftnoir-tracker-rift-ui}) - QT4_ADD_RESOURCES(ftnoir-tracker-rift-rcc ${ftnoir-tracker-rift-rc}) - - file(GLOB ftnoir-tracker-faceapi-c "ftnoir_tracker_sm/*.cpp") - file(GLOB ftnoir-tracker-faceapi-h "ftnoir_tracker_sm/*.h") - QT4_WRAP_CPP(ftnoir-tracker-faceapi-moc ${ftnoir-tracker-faceapi-h}) - file(GLOB ftnoir-tracker-faceapi-ui "ftnoir_tracker_sm/*.ui") - file(GLOB ftnoir-tracker-faceapi-rc "ftnoir_tracker_sm/*.qrc") - QT4_WRAP_UI(ftnoir-tracker-faceapi-uih ${ftnoir-tracker-faceapi-ui}) - QT4_ADD_RESOURCES(ftnoir-tracker-faceapi-rcc ${ftnoir-tracker-faceapi-rc}) - - file(GLOB ftnoir-csv-c "ftnoir_csv/*.cpp") + file(GLOB opentrack-tracker-rift-c "ftnoir_tracker_rift/*.cpp") + file(GLOB opentrack-tracker-rift-h "ftnoir_tracker_rift/*.h") + QT4_WRAP_CPP(opentrack-tracker-rift-moc ${opentrack-tracker-rift-h}) + file(GLOB opentrack-tracker-rift-ui "ftnoir_tracker_rift/*.ui") + file(GLOB opentrack-tracker-rift-rc "ftnoir_tracker_rift/*.qrc") + QT4_WRAP_UI(opentrack-tracker-rift-uih ${opentrack-tracker-rift-ui}) + QT4_ADD_RESOURCES(opentrack-tracker-rift-rcc ${opentrack-tracker-rift-rc}) + + file(GLOB opentrack-tracker-faceapi-c "ftnoir_tracker_sm/*.cpp") + file(GLOB opentrack-tracker-faceapi-h "ftnoir_tracker_sm/*.h") + QT4_WRAP_CPP(opentrack-tracker-faceapi-moc ${opentrack-tracker-faceapi-h}) + file(GLOB opentrack-tracker-faceapi-ui "ftnoir_tracker_sm/*.ui") + file(GLOB opentrack-tracker-faceapi-rc "ftnoir_tracker_sm/*.qrc") + QT4_WRAP_UI(opentrack-tracker-faceapi-uih ${opentrack-tracker-faceapi-ui}) + QT4_ADD_RESOURCES(opentrack-tracker-faceapi-rcc ${opentrack-tracker-faceapi-rc}) + + file(GLOB opentrack-csv-c "ftnoir_csv/*.cpp") # compat lib for POSIX/win32 - file(GLOB ftnoir-compat-c "compat/*.cpp") + file(GLOB opentrack-compat-c "compat/*.cpp") # x-plane plugin - file(GLOB ftnoir-xplane-plugin-c "x-plane-plugin/*.c") + file(GLOB opentrack-xplane-plugin-c "x-plane-plugin/*.c") # freetrack - file(GLOB ftnoir-freetrack-c "freetrackclient/*.cpp") + file(GLOB opentrack-freetrack-c "freetrackclient/*.cpp") if(SDK_XPLANE) # probably librt already included - add_library(ftnoir-xplane-plugin SHARED ${ftnoir-xplane-plugin-c}) + add_library(opentrack-xplane-plugin SHARED ${opentrack-xplane-plugin-c}) if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC) - SET_TARGET_PROPERTIES(ftnoir-xplane-plugin + SET_TARGET_PROPERTIES(opentrack-xplane-plugin PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/x-plane-plugin/version-script.txt -shared -rdynamic -nodefaultlibs -undefined_warning -fPIC" COMPILE_FLAGS "-Wall -O2 -pipe -fPIC -DLIN -DXPLM210" @@ -300,9 +300,9 @@ endif() endif() - add_library(ftnoir-compat SHARED ${ftnoir-compat-c}) + add_library(opentrack-compat SHARED ${opentrack-compat-c}) if(NOT WIN32) - target_link_libraries(ftnoir-compat rt) + target_link_libraries(opentrack-compat rt) endif() IF(CMAKE_BUILD_TYPE MATCHES DEBUG) @@ -311,102 +311,102 @@ endif() SET(MY_QT_LIBS ${QT_QTCORE_LIBRARY_RELEASE} ${QT_QTGUI_LIBRARY_RELEASE} ${QT_QTNETWORK_LIBRARY_RELEASE} ${QT_QTXML_LIBRARY_RELEASE}) ENDIF() - add_library(ftnoir-csv SHARED ${ftnoir-csv-c}) - target_link_libraries(ftnoir-csv ${MY_QT_LIBS}) + add_library(opentrack-csv SHARED ${opentrack-csv-c}) + target_link_libraries(opentrack-csv ${MY_QT_LIBS}) - add_library(ftnoir-pose-widget SHARED ${ftnoir-pose-widget-c} ${ftnoir-pose-widget-moc} ${ftnoir-pose-widget-rcc}) - target_link_libraries(ftnoir-pose-widget ${MY_QT_LIBS}) - add_library(ftnoir-spline-widget SHARED ${ftnoir-spline-widget-c} ${ftnoir-spline-widget-moc} ${MY_QT_LIBS} ${QT_QTDESIGNER_LIBRARY_RELEASE}) - target_link_libraries(ftnoir-spline-widget ${MY_QT_LIBS}) + add_library(opentrack-pose-widget SHARED ${opentrack-pose-widget-c} ${opentrack-pose-widget-moc} ${opentrack-pose-widget-rcc}) + target_link_libraries(opentrack-pose-widget ${MY_QT_LIBS}) + add_library(opentrack-spline-widget SHARED ${opentrack-spline-widget-c} ${opentrack-spline-widget-moc} ${MY_QT_LIBS} ${QT_QTDESIGNER_LIBRARY_RELEASE}) + target_link_libraries(opentrack-spline-widget ${MY_QT_LIBS}) - add_library(ftnoir-filter-accela SHARED ${ftnoir-filter-accela-c} ${ftnoir-filter-accela-moc} ${ftnoir-filter-accela-uih} ${ftnoir-filter-accela-rcc}) - target_link_libraries(ftnoir-filter-accela ${MY_QT_LIBS} ftnoir-spline-widget) + add_library(opentrack-filter-accela SHARED ${opentrack-filter-accela-c} ${opentrack-filter-accela-moc} ${opentrack-filter-accela-uih} ${opentrack-filter-accela-rcc}) + target_link_libraries(opentrack-filter-accela ${MY_QT_LIBS} opentrack-spline-widget) if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC) - SET_TARGET_PROPERTIES(ftnoir-filter-accela + SET_TARGET_PROPERTIES(opentrack-filter-accela PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/facetracknoir/posix-version-script.txt") endif() - add_library(ftnoir-filter-ewma SHARED ${ftnoir-filter-ewma-uih} ${ftnoir-filter-ewma-c} ${ftnoir-filter-ewma-moc} ${ftnoir-filter-ewma-rcc}) - target_link_libraries(ftnoir-filter-ewma ${MY_QT_LIBS}) + add_library(opentrack-filter-ewma SHARED ${opentrack-filter-ewma-uih} ${opentrack-filter-ewma-c} ${opentrack-filter-ewma-moc} ${opentrack-filter-ewma-rcc}) + target_link_libraries(opentrack-filter-ewma ${MY_QT_LIBS}) if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC) - SET_TARGET_PROPERTIES(ftnoir-filter-ewma + SET_TARGET_PROPERTIES(opentrack-filter-ewma PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/facetracknoir/posix-version-script.txt") endif() - add_library(ftnoir-proto-fgfs SHARED ${ftnoir-proto-fgfs-c} ${ftnoir-proto-fgfs-moc} ${ftnoir-proto-fgfs-uih} ${ftnoir-proto-fgfs-rcc}) - target_link_libraries(ftnoir-proto-fgfs ${MY_QT_LIBS}) + add_library(opentrack-proto-fgfs SHARED ${opentrack-proto-fgfs-c} ${opentrack-proto-fgfs-moc} ${opentrack-proto-fgfs-uih} ${opentrack-proto-fgfs-rcc}) + target_link_libraries(opentrack-proto-fgfs ${MY_QT_LIBS}) if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC) - SET_TARGET_PROPERTIES(ftnoir-proto-fgfs + SET_TARGET_PROPERTIES(opentrack-proto-fgfs PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/facetracknoir/posix-version-script.txt") endif() if(WIN32) if(SDK_FSUIPC) - add_library(ftnoir-proto-fsuipc SHARED ${ftnoir-proto-fsuipc-c} ${ftnoir-proto-fsuipc-moc} ${ftnoir-proto-fsuipc-uih} ${ftnoir-proto-fsuipc-rcc}) - target_link_libraries(ftnoir-proto-fsuipc ${MY_QT_LIBS} "${SDK_FSUIPC}/FSUIPC_User.lib") + add_library(opentrack-proto-fsuipc SHARED ${opentrack-proto-fsuipc-c} ${opentrack-proto-fsuipc-moc} ${opentrack-proto-fsuipc-uih} ${opentrack-proto-fsuipc-rcc}) + target_link_libraries(opentrack-proto-fsuipc ${MY_QT_LIBS} "${SDK_FSUIPC}/FSUIPC_User.lib") if(MSVC) - set_target_properties(ftnoir-proto-fsuipc PROPERTIES LINK_FLAGS "/NODEFAULTLIB:libc") + set_target_properties(opentrack-proto-fsuipc PROPERTIES LINK_FLAGS "/NODEFAULTLIB:libc") endif() endif() if(SDK_SIMCONNECT) - add_library(ftnoir-proto-simconnect SHARED ${ftnoir-proto-simconnect-c} ${ftnoir-proto-simconnect-moc} ${ftnoir-proto-simconnect-uih} ${ftnoir-proto-simconnect-rcc}) - target_link_libraries(ftnoir-proto-simconnect ${MY_QT_LIBS}) + add_library(opentrack-proto-simconnect SHARED ${opentrack-proto-simconnect-c} ${opentrack-proto-simconnect-moc} ${opentrack-proto-simconnect-uih} ${opentrack-proto-simconnect-rcc}) + target_link_libraries(opentrack-proto-simconnect ${MY_QT_LIBS}) include_directories("${SDK_SIMCONNECT}/inc") - target_link_libraries(ftnoir-proto-simconnect "${SDK_SIMCONNECT}/lib/simconnect.lib") + target_link_libraries(opentrack-proto-simconnect "${SDK_SIMCONNECT}/lib/simconnect.lib") endif() - add_library(ftnoir-proto-freetrack SHARED ${ftnoir-proto-freetrack-c} ${ftnoir-proto-freetrack-moc} ${ftnoir-proto-freetrack-uih} ${ftnoir-proto-freetrack-rcc}) - target_link_libraries(ftnoir-proto-freetrack ftnoir-csv ${MY_QT_LIBS}) + add_library(opentrack-proto-freetrack SHARED ${opentrack-proto-freetrack-c} ${opentrack-proto-freetrack-moc} ${opentrack-proto-freetrack-uih} ${opentrack-proto-freetrack-rcc}) + target_link_libraries(opentrack-proto-freetrack opentrack-csv ${MY_QT_LIBS}) - add_library(ftnoir-proto-win32-mouse SHARED ${ftnoir-proto-win32-mouse-c} ${ftnoir-proto-win32-mouse-moc} ${ftnoir-proto-win32-mouse-uih} ${ftnoir-proto-win32-mouse-rcc}) - target_link_libraries(ftnoir-proto-win32-mouse ${MY_QT_LIBS}) - add_library(freetrackclient SHARED ${ftnoir-freetrack-c}) + add_library(opentrack-proto-win32-mouse SHARED ${opentrack-proto-win32-mouse-c} ${opentrack-proto-win32-mouse-moc} ${opentrack-proto-win32-mouse-uih} ${opentrack-proto-win32-mouse-rcc}) + target_link_libraries(opentrack-proto-win32-mouse ${MY_QT_LIBS}) + add_library(freetrackclient SHARED ${opentrack-freetrack-c}) endif() - add_library(ftnoir-proto-udp SHARED ${ftnoir-proto-udp-c} ${ftnoir-proto-udp-moc} ${ftnoir-proto-udp-uih} ${ftnoir-proto-udp-rcc}) - target_link_libraries(ftnoir-proto-udp ${MY_QT_LIBS}) + add_library(opentrack-proto-udp SHARED ${opentrack-proto-udp-c} ${opentrack-proto-udp-moc} ${opentrack-proto-udp-uih} ${opentrack-proto-udp-rcc}) + target_link_libraries(opentrack-proto-udp ${MY_QT_LIBS}) if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC) - SET_TARGET_PROPERTIES(ftnoir-proto-udp + SET_TARGET_PROPERTIES(opentrack-proto-udp PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/facetracknoir/posix-version-script.txt") endif() if(NOT WIN32 AND SDK_WINE_PREFIX) - add_library(ftnoir-proto-wine SHARED ${ftnoir-proto-wine-c} ${ftnoir-proto-wine-moc} ${ftnoir-proto-wine-uih} ${ftnoir-proto-wine-rcc}) - target_link_libraries(ftnoir-proto-wine ${MY_QT_LIBS} ftnoir-compat ftnoir-csv) + add_library(opentrack-proto-wine SHARED ${opentrack-proto-wine-c} ${opentrack-proto-wine-moc} ${opentrack-proto-wine-uih} ${opentrack-proto-wine-rcc}) + target_link_libraries(opentrack-proto-wine ${MY_QT_LIBS} opentrack-compat opentrack-csv) if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC) - SET_TARGET_PROPERTIES(ftnoir-proto-wine + SET_TARGET_PROPERTIES(opentrack-proto-wine PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/facetracknoir/posix-version-script.txt") endif() if(NOT SDK_WINE_NO_WRAPPER) add_custom_command( - OUTPUT ftnoir-wrapper-wine.exe.so + OUTPUT opentrack-wrapper-wine.exe.so COMMAND "${SDK_WINE_PREFIX}/bin/wineg++" -g -O2 -m32 -o - ftnoir-wrapper-wine.exe -I "${CMAKE_SOURCE_DIR}" - "${CMAKE_SOURCE_DIR}/ftnoir_protocol_wine/ftnoir-wrapper-wine-main.cxx" - "${CMAKE_SOURCE_DIR}/ftnoir_protocol_wine/ftnoir-wrapper-wine-posix.cxx" - "${CMAKE_SOURCE_DIR}/ftnoir_protocol_wine/ftnoir-wrapper-wine-windows.cxx" + opentrack-wrapper-wine.exe -I "${CMAKE_SOURCE_DIR}" + "${CMAKE_SOURCE_DIR}/ftnoir_protocol_wine/opentrack-wrapper-wine-main.cxx" + "${CMAKE_SOURCE_DIR}/ftnoir_protocol_wine/opentrack-wrapper-wine-posix.cxx" + "${CMAKE_SOURCE_DIR}/ftnoir_protocol_wine/opentrack-wrapper-wine-windows.cxx" -lrt) - add_custom_target(wine-wrapper ALL DEPENDS ftnoir-wrapper-wine.exe.so) + add_custom_target(wine-wrapper ALL DEPENDS opentrack-wrapper-wine.exe.so) endif() endif() if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC) - SET_TARGET_PROPERTIES(ftnoir-proto-fgfs + SET_TARGET_PROPERTIES(opentrack-proto-fgfs PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/facetracknoir/posix-version-script.txt") endif() - add_library(ftnoir-tracker-ht SHARED ${ftnoir-tracker-ht-c} ${ftnoir-tracker-ht-moc} ${ftnoir-tracker-ht-uih} ${ftnoir-tracker-ht-rcc}) - target_link_libraries(ftnoir-tracker-ht ${MY_QT_LIBS} ftnoir-compat) + add_library(opentrack-tracker-ht SHARED ${opentrack-tracker-ht-c} ${opentrack-tracker-ht-moc} ${opentrack-tracker-ht-uih} ${opentrack-tracker-ht-rcc}) + target_link_libraries(opentrack-tracker-ht ${MY_QT_LIBS} opentrack-compat) if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC) - SET_TARGET_PROPERTIES(ftnoir-tracker-ht + SET_TARGET_PROPERTIES(opentrack-tracker-ht PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/facetracknoir/posix-version-script.txt") endif() if(WIN32 AND NOT CMAKE_COMPILER_IS_GNUCC) - target_link_libraries(ftnoir-tracker-ht + target_link_libraries(opentrack-tracker-ht "${CMAKE_SOURCE_DIR}/dinput/dinput8.lib" "${CMAKE_SOURCE_DIR}/dinput/dxguid.lib" "${CMAKE_SOURCE_DIR}/dinput/strmiids.lib") @@ -419,30 +419,30 @@ endif() endif() if(OpenCV_FOUND) - add_library(ftnoir-tracker-pt SHARED ${ftnoir-tracker-pt-c} ${ftnoir-tracker-pt-moc} ${ftnoir-tracker-pt-uih} ${ftnoir-tracker-pt-rcc}) - target_link_libraries(ftnoir-tracker-pt ${MY_QT_LIBS} ${OpenCV_LIBS}) + add_library(opentrack-tracker-pt SHARED ${opentrack-tracker-pt-c} ${opentrack-tracker-pt-moc} ${opentrack-tracker-pt-uih} ${opentrack-tracker-pt-rcc}) + target_link_libraries(opentrack-tracker-pt ${MY_QT_LIBS} ${OpenCV_LIBS}) if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC) - SET_TARGET_PROPERTIES(ftnoir-tracker-pt + SET_TARGET_PROPERTIES(opentrack-tracker-pt PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/facetracknoir/posix-version-script.txt") endif() endif() - add_library(ftnoir-tracker-udp SHARED ${ftnoir-tracker-udp-c} ${ftnoir-tracker-udp-moc} ${ftnoir-tracker-udp-uih} ${ftnoir-tracker-udp-rcc}) - target_link_libraries(ftnoir-tracker-udp ${MY_QT_LIBS}) + add_library(opentrack-tracker-udp SHARED ${opentrack-tracker-udp-c} ${opentrack-tracker-udp-moc} ${opentrack-tracker-udp-uih} ${opentrack-tracker-udp-rcc}) + target_link_libraries(opentrack-tracker-udp ${MY_QT_LIBS}) if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC) - SET_TARGET_PROPERTIES(ftnoir-tracker-udp + SET_TARGET_PROPERTIES(opentrack-tracker-udp PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/facetracknoir/posix-version-script.txt") endif() if(SDK_RIFT) include_directories("${SDK_RIFT}/include") - add_library(ftnoir-tracker-rift SHARED ${ftnoir-tracker-rift-c} ${ftnoir-tracker-rift-moc} ${ftnoir-tracker-rift-uih} ${ftnoir-tracker-rift-rcc}) - target_link_libraries(ftnoir-tracker-rift ${MY_QT_LIBS}) + add_library(opentrack-tracker-rift SHARED ${opentrack-tracker-rift-c} ${opentrack-tracker-rift-moc} ${opentrack-tracker-rift-uih} ${opentrack-tracker-rift-rcc}) + target_link_libraries(opentrack-tracker-rift ${MY_QT_LIBS}) if(WIN32) - target_link_libraries(ftnoir-tracker-rift "${SDK_RIFT}/lib/win32/libovr.lib" winmm.lib) + target_link_libraries(opentrack-tracker-rift "${SDK_RIFT}/lib/win32/libovr.lib" winmm.lib) endif() if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC) - SET_TARGET_PROPERTIES(ftnoir-tracker-rift + SET_TARGET_PROPERTIES(opentrack-tracker-rift PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/facetracknoir/posix-version-script.txt") endif() endif() @@ -459,34 +459,34 @@ endif() else() link_directories(${SDK_HILLCREST}/lib) endif() - add_library(ftnoir-tracker-hillcrest SHARED ${ftnoir-tracker-hillcrest-c} ${ftnoir-tracker-hillcrest-moc} ${ftnoir-tracker-hillcrest-uih} ${ftnoir-tracker-hillcrest-rcc}) + add_library(opentrack-tracker-hillcrest SHARED ${opentrack-tracker-hillcrest-c} ${opentrack-tracker-hillcrest-moc} ${opentrack-tracker-hillcrest-uih} ${opentrack-tracker-hillcrest-rcc}) if(WIN32) set(HILLCREST_LIB "${HILLCREST_LIBDIR}/${HILLCREST_LIBNAME}") else() set(HILLCREST_LIB freespace) endif() - target_link_libraries(ftnoir-tracker-hillcrest ${MY_QT_LIBS} ${HILLCREST_LIB}) + target_link_libraries(opentrack-tracker-hillcrest ${MY_QT_LIBS} ${HILLCREST_LIB}) if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC) - SET_TARGET_PROPERTIES(ftnoir-tracker-hillcrest + SET_TARGET_PROPERTIES(opentrack-tracker-hillcrest PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/facetracknoir/posix-version-script.txt") endif() endif() if(WIN32 AND NOT SDK_CONSOLE_DEBUG) - set(ftnoir-win32-executable WIN32) + set(opentrack-win32-executable WIN32) else() - set(ftnoir-win32-executable "") + set(opentrack-win32-executable "") endif() - add_executable(ftnoir ${ftnoir-win32-executable} ${ftnoir-bin-c} ${ftnoir-bin-moc} ${ftnoir-bin-uih} ${ftnoir-bin-rcc}) + add_executable(opentrack ${opentrack-win32-executable} ${opentrack-bin-c} ${opentrack-bin-moc} ${opentrack-bin-uih} ${opentrack-bin-rcc}) if(WIN32) - target_link_libraries(ftnoir ftnoir-pose-widget ftnoir-spline-widget ${MY_QT_LIBS} "${CMAKE_SOURCE_DIR}/dinput/dinput8.lib" "${CMAKE_SOURCE_DIR}/dinput/dxguid.lib" "${CMAKE_SOURCE_DIR}/dinput/strmiids.lib") + target_link_libraries(opentrack opentrack-pose-widget opentrack-spline-widget ${MY_QT_LIBS} "${CMAKE_SOURCE_DIR}/dinput/dinput8.lib" "${CMAKE_SOURCE_DIR}/dinput/dxguid.lib" "${CMAKE_SOURCE_DIR}/dinput/strmiids.lib") endif() if(MSVC) - SET_TARGET_PROPERTIES(ftnoir PROPERTIES LINK_FLAGS "/ENTRY:mainCRTStartup") + SET_TARGET_PROPERTIES(opentrack PROPERTIES LINK_FLAGS "/ENTRY:mainCRTStartup") endif() - target_link_libraries(ftnoir ftnoir-pose-widget ftnoir-spline-widget ${MY_QT_LIBS} ${QXT_QXTCORE_LIB_RELEASE} ${QXT_QXTGUI_LIB_RELEASE}) + target_link_libraries(opentrack opentrack-pose-widget opentrack-spline-widget ${MY_QT_LIBS} ${QXT_QXTCORE_LIB_RELEASE} ${QXT_QXTGUI_LIB_RELEASE}) if(NOT WIN32) - target_link_libraries(ftnoir dl) + target_link_libraries(opentrack dl) endif() endif() @@ -496,15 +496,15 @@ if(SDK_SM_FACEAPI_PATH) include_directories("${SDK_SM_FACEAPI_PATH}/include") endif() if(WIN32 AND NOT SDK_FACEAPI_ONLY) - add_library(ftnoir-tracker-faceapi SHARED ${ftnoir-tracker-faceapi-c} ${ftnoir-tracker-faceapi-moc} ${ftnoir-tracker-faceapi-uih} ${ftnoir-tracker-faceapi-rcc}) - target_link_libraries(ftnoir-tracker-faceapi ${MY_QT_LIBS} ftnoir-compat) + add_library(opentrack-tracker-faceapi SHARED ${opentrack-tracker-faceapi-c} ${opentrack-tracker-faceapi-moc} ${opentrack-tracker-faceapi-uih} ${opentrack-tracker-faceapi-rcc}) + target_link_libraries(opentrack-tracker-faceapi ${MY_QT_LIBS} opentrack-compat) endif() if(MSVC80 AND SDK_SM_FACEAPI_PATH) - add_executable(ftnoir-faceapi-wrapper ${ftnoir-faceapi-wrapper-c}) + add_executable(opentrack-faceapi-wrapper ${opentrack-faceapi-wrapper-c}) if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX) - target_link_libraries(ftnoir-faceapi-wrapper "${SDK_SM_FACEAPI_PATH}/bin/smft32.lib" "${SDK_MSVC80_PATH}/lib/msvcrt.lib") + target_link_libraries(opentrack-faceapi-wrapper "${SDK_SM_FACEAPI_PATH}/bin/smft32.lib" "${SDK_MSVC80_PATH}/lib/msvcrt.lib") else() - target_link_libraries(ftnoir-faceapi-wrapper "${SDK_SM_FACEAPI_PATH}/bin/smft32.lib") + target_link_libraries(opentrack-faceapi-wrapper "${SDK_SM_FACEAPI_PATH}/bin/smft32.lib") endif() else() MESSAGE(WARNING "Cannot build FaceAPI without MSVC 2005!") @@ -512,7 +512,7 @@ endif() if(NOT SDK_FACEAPI_ONLY) if(SDK_XPLANE) - install(TARGETS ftnoir-xplane-plugin LIBRARY DESTINATION . NAMELINK_SKIP) + install(TARGETS opentrack-xplane-plugin LIBRARY DESTINATION . NAMELINK_SKIP) endif() if(WIN32) install(DIRECTORY "${CMAKE_SOURCE_DIR}/bin/tracker-ht" DESTINATION .) @@ -523,27 +523,27 @@ if(NOT SDK_FACEAPI_ONLY) install(DIRECTORY "${CMAKE_SOURCE_DIR}/bin/settings" DESTINATION .) if(NOT WIN32 AND SDK_WINE_PREFIX) - install(FILES "${CMAKE_BINARY_DIR}/ftnoir-wrapper-wine.exe.so" + install(FILES "${CMAKE_BINARY_DIR}/opentrack-wrapper-wine.exe.so" DESTINATION .) - install(TARGETS ftnoir-proto-wine DESTINATION .) + install(TARGETS opentrack-proto-wine DESTINATION .) endif() if(OpenCV_FOUND) - install(TARGETS ftnoir-tracker-pt RUNTIME DESTINATION . LIBRARY DESTINATION .) + install(TARGETS opentrack-tracker-pt RUNTIME DESTINATION . LIBRARY DESTINATION .) endif() install(TARGETS - ftnoir-compat - ftnoir-csv - ftnoir-pose-widget - ftnoir-spline-widget - ftnoir-filter-accela - ftnoir-filter-ewma - ftnoir-proto-fgfs - ftnoir-proto-udp - ftnoir-tracker-ht - ftnoir-tracker-udp - ftnoir + opentrack-compat + opentrack-csv + opentrack-pose-widget + opentrack-spline-widget + opentrack-filter-accela + opentrack-filter-ewma + opentrack-proto-fgfs + opentrack-proto-udp + opentrack-tracker-ht + opentrack-tracker-udp + opentrack RUNTIME DESTINATION . LIBRARY DESTINATION . NAMELINK_SKIP @@ -551,7 +551,7 @@ if(NOT SDK_FACEAPI_ONLY) if(SDK_HILLCREST) install( - TARGETS ftnoir-tracker-hillcrest + TARGETS opentrack-tracker-hillcrest RUNTIME DESTINATION . LIBRARY DESTINATION . NAMELINK_SKIP @@ -560,7 +560,7 @@ if(NOT SDK_FACEAPI_ONLY) if(SDK_RIFT) install( - TARGETS ftnoir-tracker-rift + TARGETS opentrack-tracker-rift RUNTIME DESTINATION . LIBRARY DESTINATION . NAMELINK_SKIP @@ -578,29 +578,29 @@ if(NOT SDK_FACEAPI_ONLY) endif() install(FILES "${CMAKE_SOURCE_DIR}/bin/cleye.config" DESTINATION .) if(SDK_SIMCONNECT) - install(TARGETS ftnoir-proto-simconnect + install(TARGETS opentrack-proto-simconnect RUNTIME DESTINATION . LIBRARY DESTINATION . NAMELINK_SKIP) endif() if(OpenCV_FOUND AND NOT SDK_OPENCV_STATIC) - get_filename_component(ftnoir-opencv-dir "${OpenCV_LIB_DIR_OPT}" PATH) + get_filename_component(opentrack-opencv-dir "${OpenCV_LIB_DIR_OPT}" PATH) if(WIN32 AND NOT CMAKE_COMPILER_IS_GNUCC) set(LIB-PREFIX "../bin/Release/") else() set(LIB-PREFIX "lib") endif() - file(GLOB ftnoir-opencv-files - "${ftnoir-opencv-dir}/${LIB-PREFIX}opencv_calib3d*.dll" - "${ftnoir-opencv-dir}/${LIB-PREFIX}opencv_core*.dll" - "${ftnoir-opencv-dir}/${LIB-PREFIX}opencv_highgui*.dll" - "${ftnoir-opencv-dir}/${LIB-PREFIX}opencv_imgproc*.dll" - "${ftnoir-opencv-dir}/${LIB-PREFIX}opencv_flann*.dll" - "${ftnoir-opencv-dir}/${LIB-PREFIX}opencv_features2d*.dll" + file(GLOB opentrack-opencv-files + "${opentrack-opencv-dir}/${LIB-PREFIX}opencv_calib3d*.dll" + "${opentrack-opencv-dir}/${LIB-PREFIX}opencv_core*.dll" + "${opentrack-opencv-dir}/${LIB-PREFIX}opencv_highgui*.dll" + "${opentrack-opencv-dir}/${LIB-PREFIX}opencv_imgproc*.dll" + "${opentrack-opencv-dir}/${LIB-PREFIX}opencv_flann*.dll" + "${opentrack-opencv-dir}/${LIB-PREFIX}opencv_features2d*.dll" ) - install(FILES ${ftnoir-opencv-files} DESTINATION .) + install(FILES ${opentrack-opencv-files} DESTINATION .) endif() - get_filename_component(ftnoir-qt-bin "${QT_QMAKE_EXECUTABLE}" PATH) + get_filename_component(opentrack-qt-bin "${QT_QMAKE_EXECUTABLE}" PATH) if(WIN32 AND NOT CMAKE_COMPILER_IS_GNUCC) GET_FILENAME_COMPONENT(qt-dirname "${QT_QTCORE_LIBRARY_RELEASE}" PATH) SET(qt-dirname "${qt-dirname}/../bin/") @@ -618,15 +618,15 @@ if(NOT SDK_FACEAPI_ONLY) ) endif() install(TARGETS - ftnoir-proto-freetrack - ftnoir-proto-win32-mouse - #ftnoir-proto-simconnect + opentrack-proto-freetrack + opentrack-proto-win32-mouse + #opentrack-proto-simconnect RUNTIME DESTINATION . LIBRARY DESTINATION . NAMELINK_SKIP ) if(SDK_FSUIPC) - install(TARGETS ftnoir-proto-fsuipc + install(TARGETS opentrack-proto-fsuipc RUNTIME DESTINATION . LIBRARY DESTINATION . NAMELINK_SKIP) @@ -635,7 +635,7 @@ if(NOT SDK_FACEAPI_ONLY) endif() endif() if(WIN32 AND NOT SDK_FACEAPI_ONLY) - install(TARGETS ftnoir-tracker-faceapi + install(TARGETS opentrack-tracker-faceapi RUNTIME DESTINATION . LIBRARY DESTINATION . NAMELINK_SKIP @@ -650,7 +650,7 @@ endif() if(WIN32 AND SDK_SM_FACEAPI_PATH) if(MSVC80) - install(TARGETS ftnoir-faceapi-wrapper + install(TARGETS opentrack-faceapi-wrapper RUNTIME DESTINATION faceapi LIBRARY DESTINATION faceapi NAMELINK_SKIP diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp index 817dc80c..86a98ac9 100644 --- a/facetracknoir/facetracknoir.cpp +++ b/facetracknoir/facetracknoir.cpp @@ -539,7 +539,7 @@ void FaceTrackNoIR::loadSettings() { // Put the filename in the window-title. // QFileInfo pathInfo ( currentFile ); - setWindowTitle ( "FaceTrackNoIR (1.8 pre-alpha) - " + pathInfo.fileName() ); + setWindowTitle ( "opentrack (1.8 alpha) - " + pathInfo.fileName() ); // // Get a List of all the INI-files in the (currently active) Settings-folder. @@ -573,7 +573,6 @@ void FaceTrackNoIR::loadSettings() { ui.chkInvertZ->setChecked (iniFile.value ( "invertZ", 0 ).toBool()); iniFile.endGroup (); - // // Read the currently selected Protocol from the INI-file. // If the setting "DLL" isn't found (pre-1.7 version of INI), then the setting 'Selection' is evaluated. // diff --git a/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp b/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp index c6de92eb..a4648a74 100644 --- a/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp +++ b/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp @@ -169,7 +169,7 @@ bool FTNoIR_Protocol::checkServerInstallationOK() char full_path[2048]; QByteArray foo = QCoreApplication::applicationDirPath().toLatin1(); strcpy(full_path, foo.constData()); - strcat(full_path, "/ftnoir-proto-simconnect.dll"); + strcat(full_path, "/opentrack-proto-simconnect.dll"); act.lpSource = full_path; act.lpResourceName = MAKEINTRESOURCEA(101); diff --git a/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp b/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp index 3f4bebe8..c25086ff 100644 --- a/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp +++ b/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp @@ -65,7 +65,7 @@ void FTNoIR_Tracker::StartTracker(QFrame *videoframe ) // XXX TODO isolate it into separate directory faceAPI = new QProcess(); faceAPI->setWorkingDirectory(QCoreApplication::applicationDirPath() + "/faceapi"); - faceAPI->start("\"" + QCoreApplication::applicationDirPath() + "/faceapi/ftnoir-faceapi-wrapper" + "\""); + faceAPI->start("\"" + QCoreApplication::applicationDirPath() + "/faceapi/opentrack-faceapi-wrapper" + "\""); // Show the video widget qDebug() << "FTNoIR_Tracker::Initialize says: videoframe = " << videoframe; -- cgit v1.2.3