1 #Begin MicronTracker Hardware
2 option(MITK_USE_MICRON_TRACKER
"Enable support for micron tracker hardware" OFF)
3 #Begin Optitrack Hardware
4 option(MITK_USE_OPTITRACK_TRACKER
"Enable support for Optitrack tracker hardware" OFF)
6 # only if MicronTracker is enabled
7 if(MITK_USE_MICRON_TRACKER)
8 find_library(MITK_MICRON_TRACKER_LIB
MTC DOC
"Path which contains the MT2 library.")
9 get_filename_component(MICRON_TRACKER_SDK_DIR ${MITK_MICRON_TRACKER_LIB} PATH)
10 find_path(MITK_MICRON_TRACKER_INCLUDE_DIR
MTC.h ${MICRON_TRACKER_SDK_DIR} DOC
"Include directory of the MT2.")
11 find_path(MITK_MICRON_TRACKER_TEMP_DIR . DOC
"Any temporary directory which can be used by the MicronTracker2.")
12 MITK_INSTALL(FILES ${MICRON_TRACKER_SDK_DIR}/
MTC.dll CONFIGURATIONS Release)
13 MITK_INSTALL(FILES ${MICRON_TRACKER_SDK_DIR}/MTInterfaceDotNet.dll CONFIGURATIONS Release)
14 MITK_INSTALL(FILES ${MICRON_TRACKER_SDK_DIR}/PGRFlyCapture.dll CONFIGURATIONS Release)
15 ENDIF(MITK_USE_MICRON_TRACKER)
16 #End MicronTracker Hardware
18 #only if Optitrack is enabled
19 if(MITK_USE_OPTITRACK_TRACKER)
20 find_library(MITK_OPTITRACK_TRACKER_LIB NPTrackingTools DOC
"Path which contains the Optitrack library. Please choose 32/64 bit version depending on your build.")
21 find_path(MITK_OPTITRACK_TRACKER_INCLUDE_DIR NPTrackinTools.h DOC
"Include directory of the Optitrack library.")
22 find_path(MITK_OPTITRACK_TRACKER_LIB_DIR NPTrackingTools.dll)
23 MITK_INSTALL(FILES ${MITK_OPTITRACK_TRACKER_LIB_DIR}/NPTrackingTools.dll CONFIGURATIONS Release)
24 MITK_INSTALL(FILES ${MITK_OPTITRACK_TRACKER_LIB_DIR}/NPTrackingToolsx64.dll CONFIGURATIONS Release)
25 ENDIF(MITK_USE_OPTITRACK_TRACKER)
26 #End Optitrack Hardware
32 #Begin Ascension MicroBird Hardware
33 option(MITK_USE_MICROBIRD_TRACKER
"Enable support for Ascension MicroBird tracker hardware" OFF)
34 if(MITK_USE_MICROBIRD_TRACKER)
35 add_definitions(-DMITK_USE_MICROBIRD_TRACKER)
36 find_library(MITK_USE_MICROBIRD_TRACKER_LIB PCIBird3)
37 get_filename_component(MICROBIRD_TRACKER_API_DIR ${MITK_USE_MICROBIRD_TRACKER_LIB} PATH)
38 find_path(MITK_USE_MICROBIRD_TRACKER_INCLUDE_DIR PCIBird3.h ${MICROBIRD_TRACKER_API_DIR})
39 endif(MITK_USE_MICROBIRD_TRACKER)
40 #End MicroBird Hardware