# grabber_osg.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 GRABBER_OSG_ONCE) set(GRABBER_OSG_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(GRABBER_OSG_TARGET_NAME "grabber_osg") set(TARGET_NAME ${GRABBER_OSG_TARGET_NAME}) include_directories ("${PWIMP_ROOT}/examples/osg_minimal") add_executable(${TARGET_NAME} "${PWIMP_ROOT}/examples/grabber_osg/grabber_osg.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 GRABBER_OSG_ONCE)