#------------------------------------------------------------------- # 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. #------------------------------------------------------------------- ############################################################ # CmakeList file for Tobii plugin ############################################################ PROJECT(TOBII) # define header and source files for the library set (TOBII_HEADER_FILES include/sTobii.h ) if (Scol_STATIC) set (TOBII_HEADER_FILES ${TOBII_HEADER_FILES} include/loadScolTobii.h) endif() set (TOBII_SOURCE_FILES src/sTobii.cpp src/scolplugin.cpp ) scol_include_plugin("TOBII" "${PROJECT_SOURCE_DIR}/include" "loadScolTobii.h") # Add directories includes include_directories(include ${TOBII_INCLUDE_DIRS}) # Add definition for P4 optimizations, warnings removal. add_definitions(-DOPTI_P4 -D_CRT_SECURE_NO_WARNINGS -DUSE_SSLEAY -DUSE_OPENSSL -DCURL_STATICLIB) set(LIBRARIES ${TOBII_LIBRARIES} ) # setup Scol plugin target add_library(tobii ${Scol_LIB_TYPE} ${TOBII_HEADER_FILES} ${TOBII_SOURCE_FILES} ) add_dependencies(tobii kernel) # set the dll version. #set_target_properties(tobii PROPERTIES VERSION ${Scol_VERSION} SOVERSION ${Scol_VERSION_MAJOR}) target_link_libraries(tobii ${LIBRARIES}) # install Scol scol_config_plugin(tobii) #install(FILES ${TOBII_HEADER_FILES} DESTINATION include/SCOL/plugins/tobii)