#------------------------------------------------------------------- # This file is part of the CMake build system for Scol # # The contents of this file are placed in the public domain. Feel # free to make use of it in any way you like. #------------------------------------------------------------------- ############################################################ # include/Scol core library ############################################################ PROJECT(glove) # define header and source files for the library set (GLOVE_5DT_HEADER_FILES include/ou_thread.h include/GloveCalibration.h include/GloveObject.h include/GlovePlugin.h include/GlovePrerequistes.h include/dTimer.h ) set (GLOVE_5DT_SOURCE_FILES src/ou_thread.cpp src/GloveCalibration.cpp src/GloveObject.cpp src/GlovePlugin.cpp src/dTimer.cpp ) # Add directories includes include_directories(include ${Glove5DT_INCLUDE_DIRS}) # Add definition for P4 optimizations, warnings removal. add_definitions(-DOPTI_P4 -D_CRT_SECURE_NO_WARNINGS) set(LIBRARIES ${Glove5DT_LIBRARIES} ) # setup Scol glove plugin target add_library(glove ${Scol_LIB_TYPE} ${GLOVE_5DT_HEADER_FILES} ${GLOVE_5DT_SOURCE_FILES} ) add_dependencies(glove kernel) # set the dll version. #set_target_properties(glove PROPERTIES VERSION ${Scol_VERSION} SOVERSION ${Scol_VERSION_MAJOR}) target_link_libraries(glove ${LIBRARIES}) # install Scol glove scol_config_plugin(glove) #install(FILES ${GLOVE_5DT_HEADER_FILES} DESTINATION include/SCOL/plugins/glove5DT)