osvr_setup_lib_vars(Kalman) set(API "${HEADER_LOCATION}/AbsoluteOrientationMeasurement.h" "${HEADER_LOCATION}/AbsolutePositionMeasurement.h" "${HEADER_LOCATION}/AngularVelocityMeasurement.h" "${HEADER_LOCATION}/AugmentedProcessModel.h" "${HEADER_LOCATION}/AugmentedState.h" "${HEADER_LOCATION}/ConstantProcess.h" "${HEADER_LOCATION}/ExternalQuaternion.h" "${HEADER_LOCATION}/FlexibleKalmanBase.h" "${HEADER_LOCATION}/FlexibleKalmanCorrect.h" "${HEADER_LOCATION}/FlexibleKalmanFilter.h" "${HEADER_LOCATION}/MatrixExponentialMap.h" "${HEADER_LOCATION}/OrientationConstantVelocity.h" "${HEADER_LOCATION}/OrientationState.h" "${HEADER_LOCATION}/PoseConstantVelocity.h" "${HEADER_LOCATION}/PoseDampedConstantVelocity.h" "${HEADER_LOCATION}/PoseSeparatelyDampedConstantVelocity.h" "${HEADER_LOCATION}/PoseStateExponentialMap.h" "${HEADER_LOCATION}/PoseState.h" "${HEADER_LOCATION}/PureVectorState.h") ### # Add the dummy target to make the headers show up in IDEs add_custom_target(${LIBNAME_FULL}_Headers SOURCES ${API}) set_target_properties(${LIBNAME_FULL}_Headers PROPERTIES FOLDER "${LIB_FOLDER}") ### # Add the interface target to actually use the files. add_library(${LIBNAME_FULL} INTERFACE) target_include_directories(${LIBNAME_FULL} INTERFACE $ $) #target_link_libraries(${LIBNAME_FULL} # INTERFACE # $) ### # Install things properly. install(TARGETS ${LIBNAME_FULL} EXPORT osvrTargets INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) install(FILES ${API} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/osvr/${LIBNAME} COMPONENT Devel)