Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CAMP
campvis-public
Commits
ce377bcc
Commit
ce377bcc
authored
Jul 29, 2016
by
Jakob Weiss
Browse files
cmake draft for a perftest module
parent
079e0bb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/perftest/perftest.cmake
0 → 100644
View file @
ce377bcc
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment