Loading modules/perftest/perftest.cmake 0 → 100644 +48 −0 Original line number Diff line number Diff line # modules/perftest/perftest.cmake # CMake file for the perftest module # Set module status (valid values are STABLE, TESTING and EXPERIMENTAL) SET(ThisModStatus TESTING) # Set whether this module has external dependencies that are not shipped with CAMPVis. SET(ThisModExternalDependencies TRUE) # The files and assignments need only to be parsed if the module is enabled IF(ModuleEnabled) FIND_PACKAGE(OpenCV REQUIRED) IF(OpenCV_FOUND) # Source files: FILE(GLOB ThisModSources RELATIVE ${ModulesDir} modules/perftest/pipelines/*.cpp modules/perftest/processors/*.cpp modules/perftest/datastructures/*.cpp modules/perftest/*.cpp ) # Header files (including GLSL files so that they'll appear in VS projects) FILE(GLOB ThisModHeaders RELATIVE ${ModulesDir} modules/perftest/glsl/*.frag modules/perftest/glsl/*.geom modules/perftest/glsl/*.vert modules/perftest/pipelines/*.h modules/perftest/processors/*.h modules/perftest/datastructures/*.h ) # Define the GLSL shader path, so that all needed shaders will be deployed to target directory #SET(ThisModShaderDirectories "modules/perftest/glsl") # Define dependency modules (the pipelines in the vis modules use processors from io) #SET(ThisModDependencies io) LIST(APPEND ThisModIncludeDirs ${OpenCV_INCLUDE_DIRS}) LIST(APPEND ThisModExternalLibs ${OpenCV_LIBS}) LIST(APPEND ThisModLinkDirectories ${OpenCV_LIB_DIR}) LIST(APPEND ThisModExternalDllsDebug "${OpenCV_LIB_DIR}/../bin/opencv_world310d.dll") LIST(APPEND ThisModExternalDllsRelease "${OpenCV_LIB_DIR}/../bin/opencv_world310.dll") ELSE() MESSAGE(FATAL_ERROR "Could not find OpenIGTLink. Please specify OpenIGTLink_DIR.") ENDIF() ENDIF(ModuleEnabled) No newline at end of file Loading
modules/perftest/perftest.cmake 0 → 100644 +48 −0 Original line number Diff line number Diff line # modules/perftest/perftest.cmake # CMake file for the perftest module # Set module status (valid values are STABLE, TESTING and EXPERIMENTAL) SET(ThisModStatus TESTING) # Set whether this module has external dependencies that are not shipped with CAMPVis. SET(ThisModExternalDependencies TRUE) # The files and assignments need only to be parsed if the module is enabled IF(ModuleEnabled) FIND_PACKAGE(OpenCV REQUIRED) IF(OpenCV_FOUND) # Source files: FILE(GLOB ThisModSources RELATIVE ${ModulesDir} modules/perftest/pipelines/*.cpp modules/perftest/processors/*.cpp modules/perftest/datastructures/*.cpp modules/perftest/*.cpp ) # Header files (including GLSL files so that they'll appear in VS projects) FILE(GLOB ThisModHeaders RELATIVE ${ModulesDir} modules/perftest/glsl/*.frag modules/perftest/glsl/*.geom modules/perftest/glsl/*.vert modules/perftest/pipelines/*.h modules/perftest/processors/*.h modules/perftest/datastructures/*.h ) # Define the GLSL shader path, so that all needed shaders will be deployed to target directory #SET(ThisModShaderDirectories "modules/perftest/glsl") # Define dependency modules (the pipelines in the vis modules use processors from io) #SET(ThisModDependencies io) LIST(APPEND ThisModIncludeDirs ${OpenCV_INCLUDE_DIRS}) LIST(APPEND ThisModExternalLibs ${OpenCV_LIBS}) LIST(APPEND ThisModLinkDirectories ${OpenCV_LIB_DIR}) LIST(APPEND ThisModExternalDllsDebug "${OpenCV_LIB_DIR}/../bin/opencv_world310d.dll") LIST(APPEND ThisModExternalDllsRelease "${OpenCV_LIB_DIR}/../bin/opencv_world310.dll") ELSE() MESSAGE(FATAL_ERROR "Could not find OpenIGTLink. Please specify OpenIGTLink_DIR.") ENDIF() ENDIF(ModuleEnabled) No newline at end of file