#   Copyright 2004-2019 CEA LIST
#
#   This file is part of LIMA.
#
#   LIMA is free software: you can redistribute it and/or modify
#   it under the terms of the GNU Affero General Public License as published by
#   the Free Software Foundation, either version 3 of the License, or
#   (at your option) any later version.
#
#   LIMA 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 Affero General Public License for more details.
#
#   You should have received a copy of the GNU Affero General Public License
#   along with LIMA.  If not, see <http://www.gnu.org/licenses/>

########### next target ###############

SET(easyprocessor_SRCS
  easyprocessor.cpp
  EasySourceHandler.cpp
)

add_executable(easyprocessor ${easyprocessor_SRCS})

target_link_libraries(easyprocessor
  lima-common-xmlconfigurationfiles
  lima-common-mediaticdata
  lima-lp-analysishandlers
  lima-lp-client
  ${optionalLibs}
  Qt5::Xml
)

install(TARGETS easyprocessor DESTINATION bin)

install(FILES
    easyprocessor.conf.xml
  DESTINATION share/config/lima)

install(FILES
    easy.dtd
    passage.dtd
  DESTINATION share/apps/pelf/resources)
