# Copyright (c) 2018 CNRS Authors: Joseph Mirabel
#
# This file is part of gepetto-viewer-corba gepetto-viewer-corba is free
# software: you can redistribute it and/or modify it under the terms of the GNU
# Lesser General Public License as published by the Free Software Foundation,
# either version 3 of the License, or (at your option) any later version.
#
# gepetto-viewer-corba is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Lesser Public License
# for more details.  You should have received a copy of the GNU Lesser General
# Public License along with gepetto-viewer-corba  If not, see
# <http://www.gnu.org/licenses/>.

if(PROJECT_USE_QT4)
  set(QT4 "QT4")
else()
  set(QT4 "")
endif()

gepetto_gui_plugin(
  omniorbserver
  INSIDE_GEPETTO_VIEWER_CORBA
  ${QT4}
  # List of headers that need not to be moced.
  HEADERS_NO_MOC
  # List of headers to be moced
  HEADERS
  plugin.hh
  omniorbthread.hh
  # List of source files
  SOURCES
  plugin.cc
  omniorbthread.cc
  # List of dependencies to be given to TARGET_LINK_LIBRARIES
  LINK_DEPENDENCIES
  "gepetto-viewer-corba"
  # List of dependencies to be given to PKG_CONFIG_USE_DEPENDENCY
  PKG_CONFIG_DEPENDENCIES
  "omniORB4")
