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
|
## Copyright 2009 Intel Corporation
## SPDX-License-Identifier: Apache-2.0
# Define an option to enable/disable this module.
#
# Though not actually required we guard each module 'moduleName' with
# a OSPRAY_MODULE_MODULENAME flag that enables/disables its building.
#
cmake_dependent_option(
OSPRAY_MODULE_BILINEAR_PATCH
"Build pluggable geometry example module (a Bilinear Patch)"
OFF
OSPRAY_MODULE_CPU
OFF
)
if (NOT OSPRAY_MODULE_BILINEAR_PATCH)
return()
endif()
# build the actual new ospray geometry type. since this plug in
# directly into the ospray core, we'll put it into a
# '<module>/ospray' subdirectory.
#
# This subdirectory will eventually build the
# libospray_module_<moduleName>.so library that defiens the actual
# core geometry type.
#
add_subdirectory(ospray)
|