# Copyright (C) 2012-2014 CEA/DEN, EDF R&D # # This library 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 2.1 of the License, or (at your option) any later version. # # This library 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 library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # # Qt5 FIND_PACKAGE(SalomeQt5 REQUIRED COMPONENTS QtCore QtGui) IF(SALOME_BUILD_DOC) # FIND_PACKAGE(SalomeDoxygen) # FIND_PACKAGE(SalomeSphinx) # SALOME_LOG_OPTIONAL_PACKAGE(Doxygen SALOME_BUILD_DOC) # SALOME_LOG_OPTIONAL_PACKAGE(Sphinx SALOME_BUILD_DOC) # ADD_DEFINITIONS(-DDOXYGEN_IS_OK) ENDIF() IF(SALOME_BUILD_TESTS) ENABLE_TESTING() ENDIF() # Detection summary: SALOME_PACKAGE_REPORT_AND_CHECK() # Directories # =========== SET(SALOME_INSTALL_LIBS "${SALOME_INSTALL_LIBS}" CACHE PATH "Install path: SALOME libs") SET(SALOME_INSTALL_PYTHON "${SALOME_INSTALL_PYTHON}" CACHE PATH "Install path: SALOME Python scripts") SET(SALOME_INSTALL_SCRIPT_PYTHON "${SALOME_INSTALL_SCRIPT_PYTHON}" CACHE PATH "Install path: SALOME Python scripts") SET(SALOME_INSTALL_CMAKE_LOCAL ${SALOME_INSTALL_CMAKE_LOCAL} CACHE PATH "Install path: local SALOME CMake files") SET(SALOME_INSTALL_RES "${SALOME_INSTALL_RES}" CACHE PATH "Install path: SALOME resources") SET(SALOME_INSTALL_DOC "${SALOME_INSTALL_DOC}" CACHE PATH "Install path: SALOME documentation") SET(SALOME_INSTALL_HEADERS ${SALOME_INSTALL_HEADERS} CACHE PATH "Install path: SALOME headers") # Specific to CoreFlows: SET(SALOME_CoreFlows_INSTALL_RES_DATA ${SALOME_INSTALL_RES}/solverlab CACHE PATH "Install path: SALOME SOLVERLAB specific resources") # Sources # ======== ADD_SUBDIRECTORY(src) ADD_SUBDIRECTORY(resources) IF(SALOME_BUILD_DOC) # ADD_SUBDIRECTORY(doc) ENDIF()