## =============================== ## == Some configurable options == ## =============================== SET(cpPlugins_CONFIG_NUMBER_OF_FILES "10" CACHE STRING "Number of compiled files.") SET(cpPlugins_CONFIG_BOOLEAN_TYPES "bool" CACHE STRING "Accepted boolean types.") SET(cpPlugins_CONFIG_INTEGER_TYPES "char;short;int;long" CACHE STRING "Accepted integer types.") SET(cpPlugins_CONFIG_REAL_TYPES "float;double" CACHE STRING "Accepted real types.") SET(cpPlugins_CONFIG_PROCESS_DIMENSIONS "1;2;3;4" CACHE STRING "Accepted processing dimensions.") SET(cpPlugins_CONFIG_VISUAL_DIMENSIONS "2;3" CACHE STRING "Accepted visual dimensions.") SET(cpPlugins_CONFIG_COLOR_PIXELS "RGBPixel;RGBAPixel" CACHE STRING "Accepted color pixels.") SET(cpPlugins_CONFIG_VECTORS "CovariantVector;Point;SymmetricSecondRankTensor;Vector" CACHE STRING "Accepted vectors.") SET(cpPlugins_CONFIG_DIFFUSIONTENSORS "DiffusionTensor3D" CACHE STRING "Accepted diffusion tensors.") SET(cpPlugins_CONFIG_MATRICES "Matrix" CACHE STRING "Accepted matrices.") SET( _all_configs cpPlugins_CONFIG_BOOLEAN_TYPES cpPlugins_CONFIG_INTEGER_TYPES cpPlugins_CONFIG_REAL_TYPES cpPlugins_CONFIG_PROCESS_DIMENSIONS cpPlugins_CONFIG_VISUAL_DIMENSIONS cpPlugins_CONFIG_COLOR_PIXELS cpPlugins_CONFIG_VECTORS cpPlugins_CONFIG_DIFFUSIONTENSORS cpPlugins_CONFIG_MATRICES ) SET(_real_configs) FOREACH(_cfg ${_all_configs}) FOREACH(_type ${${_cfg}}) LIST(APPEND _real_configs "${_cfg}_${_type}") ENDFOREACH(_type) ENDFOREACH(_cfg) SET(cpPlugins_ALL_CONFIGS "${_real_configs}" CACHE INTERNAL "All valid configurations." FORCE) ## eof - $RCSfile$