#------------------------------------------------------------------- # 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 3dRudder plugin ############################################################ PROJECT(RUDDER3D) # define header and source files for the library set (RUDDER3D_HEADER_FILES include/s3dRudder.h ) if (Scol_STATIC) set (RUDDER3D_HEADER_FILES ${SRUDDER_HEADER_FILES} include/loadScol3dRudder.h) endif() set (RUDDER3D_SOURCE_FILES src/s3dRudder.cpp src/scolplugin.cpp ) scol_include_plugin("RUDDER3D" "${PROJECT_SOURCE_DIR}/include" "loadScol3dRudder.h") # Add directories includes include_directories(include ${RUDDER3D_INCLUDE_DIRS}) add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_3DRUDDER_SDK_STATIC) set(LIBRARIES ${RUDDER3D_LIBRARIES}) # setup Scol plugin target add_library(s3drudder ${Scol_LIB_TYPE} ${RUDDER3D_HEADER_FILES} ${RUDDER3D_SOURCE_FILES} ) add_dependencies(s3drudder kernel) # set the dll version. #set_target_properties(srudder PROPERTIES VERSION ${Scol_VERSION} SOVERSION ${Scol_VERSION_MAJOR}) target_link_libraries(s3drudder ${LIBRARIES}) # install Scol scol_config_plugin(s3drudder) #install(FILES ${RUDDER3D_HEADER_FILES} DESTINATION include/SCOL/plugins/s3drudder)