#------------------------------------------------------------------- # 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 curl plugin ############################################################ PROJECT(LEAPMOTION) # define header and source files for the library set (LEAPMOTION_HEADER_FILES include/sLeapMotion.h ) if (Scol_STATIC) set (LEAPMOTION_HEADER_FILES ${LEAPMOTION_HEADER_FILES} include/loadScolLeapMotion.h) endif() set (LEAPMOTION_SOURCE_FILES src/sLeapMotion.cpp src/scolplugin.cpp ) scol_include_plugin("LEAPMOTION" "${PROJECT_SOURCE_DIR}/include" "loadScolLeapMotion.h") # Add directories includes include_directories(include ${LEAPMOTION_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 ${LEAPMOTION_LIBRARIES} ) # setup Scol plugin target add_library(LeapMotion ${Scol_LIB_TYPE} ${LEAPMOTION_HEADER_FILES} ${LEAPMOTION_SOURCE_FILES} ) add_dependencies(LeapMotion kernel) # set the dll version. #set_target_properties(LeapMotion PROPERTIES VERSION ${Scol_VERSION} SOVERSION ${Scol_VERSION_MAJOR}) target_link_libraries(LeapMotion ${LIBRARIES}) # install Scol scol_config_plugin(LeapMotion) #install(FILES ${LEAPMOTION_HEADER_FILES} DESTINATION include/SCOL/plugins/leapmotion)