1 # Copyright (C) 2021 CEA/DEN, EDF R&D
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License, or (at your option) any later version.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
22 SET(CONFIGURATION_ROOT_DIR $ENV{CONFIGURATION_ROOT_DIR} CACHE PATH "Path to the Salome CMake files")
23 SET(PARAVISADDONS_COMMON_INSTALL_TESTS tests CACHE PATH "Install path: PARAVISADDONS_COMMON tests")
24 IF(EXISTS ${CONFIGURATION_ROOT_DIR})
25 LIST(APPEND CMAKE_MODULE_PATH "${CONFIGURATION_ROOT_DIR}/cmake")
28 MESSAGE(FATAL_ERROR "We absolutely need the Salome CMake configuration files, please define CONFIGURATION_ROOT_DIR !")
31 INCLUDE(SalomeSetupPlatform)
33 FOREACH(_Qt5_COMPONENT_ ${Qt5_FIND_COMPONENTS} ${Qt5_OPTIONAL_COMPONENTS})
34 SET(_Qt5_COMPONENT Qt5${_Qt5_COMPONENT_})
35 LIST(FIND Qt5_OPTIONAL_COMPONENTS ${_Qt5_COMPONENT_} idx)
37 SET(Salome${_Qt5_COMPONENT}_FIND_QUIETLY TRUE)
39 FIND_PACKAGE(${_Qt5_COMPONENT})
40 LIST(APPEND QT_INCLUDES ${${_Qt5_COMPONENT}_INCLUDE_DIRS})
41 LIST(APPEND QT_DEFINITIONS ${${_Qt5_COMPONENT}_DEFINITIONS})
42 LIST(APPEND QT_LIBRARIES ${${_Qt5_COMPONENT}_LIBRARIES})
47 ADD_SUBDIRECTORY(MoveZCote)
48 ADD_SUBDIRECTORY(ComplexMode)
49 ADD_SUBDIRECTORY(QuadraticToLinear)
50 ADD_SUBDIRECTORY(ExtractComponentsPlugin)
51 ADD_SUBDIRECTORY(ZJFilter)
52 ADD_SUBDIRECTORY(SerafinReader)
53 ADD_SUBDIRECTORY(SpatialPfl)
54 ADD_SUBDIRECTORY(SinusXReader)
55 ADD_SUBDIRECTORY(TemporalOnPoint)
56 ADD_SUBDIRECTORY(DepthVsTime)
57 ADD_SUBDIRECTORY(SphereAlongLines)
58 ADD_SUBDIRECTORY(RateOfFlowThroughSection)
59 ADD_SUBDIRECTORY(ProbePointOverTime)
60 ADD_SUBDIRECTORY(CustomFilters)
61 ADD_SUBDIRECTORY(CellDataContour)
62 ADD_SUBDIRECTORY(AutoConvertPropertiesPlugin)
63 ADD_SUBDIRECTORY(AppendAttributesOverTime)
64 ADD_SUBDIRECTORY(ExtractThreeD)
65 ADD_SUBDIRECTORY(ContactReader)
66 ADD_SUBDIRECTORY(TorseurCIH)
67 ADD_SUBDIRECTORY(RosetteCIH)
68 ADD_SUBDIRECTORY(XYChartRepresentationColumns)
69 ADD_SUBDIRECTORY(GlyphCIH) # EDF15785
70 ADD_SUBDIRECTORY(ElectromagnetismVecteur)
71 ADD_SUBDIRECTORY(ElectromagnetismStreamTraceur)
72 ADD_SUBDIRECTORY(ElectromagnetismFluxDisc)
73 ADD_SUBDIRECTORY(ElectromagnetismRotation)
77 configure_file(CTestTestfileInstall.cmake.in "CTestTestfileST.cmake" @ONLY)
78 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/CTestTestfileST.cmake DESTINATION ${PARAVISADDONS_COMMON_INSTALL_TESTS} RENAME CTestTestfile.cmake)