view OrthancStone/UnitTestsSources/UnitTestsSources.cmake @ 1880:93c3f9234286

simplifying TestStructureSet.cpp
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Jan 2022 09:47:36 +0100
parents a2955abe4c2e
children a05529952510
line wrap: on
line source

# Stone of Orthanc
# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
# Department, University Hospital of Liege, Belgium
# Copyright (C) 2017-2022 Osimis S.A., Belgium
# Copyright (C) 2021-2022 Sebastien Jodogne, ICTEAM UCLouvain, Belgium
#
# This program 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.
#
# This program 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
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program. If not, see
# <http://www.gnu.org/licenses/>.


set(UNIT_TESTS_SOURCES
  ${CMAKE_CURRENT_LIST_DIR}/ComputationalGeometryTests.cpp
  ${CMAKE_CURRENT_LIST_DIR}/DicomTests.cpp
  ${CMAKE_CURRENT_LIST_DIR}/GenericToolboxTests.cpp
  ${CMAKE_CURRENT_LIST_DIR}/GeometryToolboxTests.cpp
  ${CMAKE_CURRENT_LIST_DIR}/ImageToolboxTests.cpp
  ${CMAKE_CURRENT_LIST_DIR}/PixelTestPatternsTests.cpp
  ${CMAKE_CURRENT_LIST_DIR}/SortedFramesTests.cpp
  ${CMAKE_CURRENT_LIST_DIR}/TestMessageBroker.cpp
  ${CMAKE_CURRENT_LIST_DIR}/TestStrategy.cpp
  ${CMAKE_CURRENT_LIST_DIR}/TestStructureSet.cpp
  ${CMAKE_CURRENT_LIST_DIR}/UnitTestsMain.cpp
  ${CMAKE_CURRENT_LIST_DIR}/VolumeRenderingTests.cpp
  )

EmbedResources(
  RT_STRUCT_00 ${CMAKE_CURRENT_LIST_DIR}/TestStructureSet.json
  )

add_definitions(
  -DBGO_ENABLE_DICOMSTRUCTURESETLOADER2=1
  )