stereo.cmake 1.22 KB
Newer Older
Jakob Weiss's avatar
Jakob Weiss committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# modules/oct/oct.cmake
# CMake file for the oct 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)
	# Source files:
	FILE(GLOB ThisModSources RELATIVE ${ModulesDir}
		modules/stereo/pipelines/*.cpp
		modules/stereo/processors/*.cpp
		modules/stereo/datastructures/*.cpp
		modules/stereo/properties/*.cpp
		modules/stereo/*.cpp
	)

	# Header files (including GLSL files so that they'll appear in VS projects)
	FILE(GLOB ThisModHeaders RELATIVE ${ModulesDir}
		modules/stereo/glsl/*.frag
		modules/stereo/glsl/*.geom
		modules/stereo/glsl/*.vert
		modules/stereo/pipelines/*.h
		modules/stereo/processors/*.h
		modules/stereo/datastructures/*.h
		modules/stereo/properties/*.h
	)

	# Define the GLSL shader path, so that all needed shaders will be deployed to target directory
	SET(ThisModShaderDirectories "modules/stereo/glsl")

	# Define dependency modules (the pipelines in the vis modules use processors from io)
	#SET(ThisModDependencies io)
	
ENDIF(ModuleEnabled)