# nvst_minimal.cmake -- # # Copyright (c) 2014-2016 LIG/IIHM, University of Grenoble Alpes # # See the file "gil_LicenseTerms.txt" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # # Created on Oct. 21th, 2016 (FB) Std_Header() # Execute only once if(NOT NVST_MINIMAL_ONCE) set(NVST_MINIMAL_ONCE 1) Indent_Include("${CUR_DIR}/../cmake_defs/platform_defs.cmake") Indent_Include("${CUR_DIR}/../cmake_defs/pwimp_paths.cmake") Define_Project_If_Needed("postwimp") set(NVST_MINIMAL_TARGET_NAME "nvidia_stereo") set(TARGET_NAME ${NVST_MINIMAL_TARGET_NAME}) include_directories ("${PWIMP_ROOT}/examples/osg_minimal") add_executable(${TARGET_NAME} "${PWIMP_ROOT}/examples/nvst_minimal/nvst_minimal.cpp" "${PWIMP_ROOT}/examples/osg_minimal/osg_scene.cpp") Indent_Include("${CUR_DIR}/../cmake_defs/pwimp_use_gilpw.cmake") Indent_Include("${CUR_DIR}/../cmake_defs/pwimp_use_osg.cmake") endif(NOT NVST_MINIMAL_ONCE)