#------------------------------------------------------------------- # 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. #------------------------------------------------------------------- ############################################################ # Vuzix plugin CMakeList ############################################################ PROJECT(vuzix) # define source files for the library set (VUZIX_SOURCE_FILES src/vuzixPlugin.cpp src/IWRFilterTracking.cpp ) set (VUZIX_HEADER_FILES) if (Scol_STATIC) set (VUZIX_HEADER_FILES ${VUZIX_HEADER_FILES} include/loadScolVuzix.h) endif() scol_include_plugin("VUZIX" "${PROJECT_SOURCE_DIR}/include" "loadScolVuzix.h") # Add directories includes include_directories(${Vuzix_INCLUDE_DIRS}) # Add definition for P4 optimizations, warnings removal. add_definitions(-DOPTI_P4 -D_CRT_SECURE_NO_WARNINGS) set(LIBRARIES ${Vuzix_LIBRARIES}) # setup Scol vuzix plugin target add_library(vuzix ${Scol_LIB_TYPE} ${VUZIX_SOURCE_FILES} ${VUZIX_HEADER_FILES} ) add_dependencies(vuzix kernel) # set the dll version. #set_target_properties(vuzix PROPERTIES VERSION ${Scol_VERSION} SOVERSION ${Scol_VERSION_MAJOR}) target_link_libraries(vuzix ${LIBRARIES}) # install Scol vuzix (no headers to install for this plugin) scol_config_plugin(vuzix)