1 # Copyright (C) 2012-2020 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
25 # additional include directories
28 ${OpenCASCADE_INCLUDE_DIR}
29 ${PYTHON_INCLUDE_DIRS}
30 ${MEDFILE_INCLUDE_DIRS}
32 ${OMNIORB_INCLUDE_DIR}
33 ${KERNEL_INCLUDE_DIRS}
35 ${CMAKE_CURRENT_SOURCE_DIR}
36 ${CMAKE_CURRENT_BINARY_DIR}
38 ${PROJECT_BINARY_DIR}/idl
39 ${PROJECT_BINARY_DIR}/adm_local/unix
40 ${PROJECT_SOURCE_DIR}/src/ADAPT
41 ${PROJECT_SOURCE_DIR}/src/ADAPT_I
44 # additional preprocessor / compiler flags
46 ${OMNIORB_DEFINITIONS}
47 ${OpenCASCADE_DEFINITIONS}
51 # libraries to link to
53 ${MEDFILE_C_LIBRARIES}
54 ${KERNEL_SalomeLifeCycleCORBA}
57 ${SMESH_SalomeIDLSMESH}
63 # resource files / to be processed by lrelease
70 # resource files / to be processed by uic
89 # header files / to be processed by moc
92 MonCreateBoundaryCAO.h
102 MonCreateHypothesis.h
105 MonCreateListGroupCAO.h
107 MonEditListGroupCAO.h
116 ui_CreateBoundaryAn.h
117 ui_CreateBoundaryCAO.h
118 ui_CreateBoundaryDi.h
120 ui_CreateHypothesis.h
131 # header files / uic wrappings
132 QT_WRAP_UIC(_uic_HEADERS ${_uic_FILES})
134 # header files / static
138 HOMARDGUI_Exports.hxx
141 # header files / to install
142 SET(ADAPT_HEADERS ${_other_HEADERS} ${_moc_HEADERS} ${_uic_HEADERS})
146 # sources / moc wrappings
147 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
153 MonCreateBoundaryCAO.cxx
154 MonCreateBoundaryAn.cxx
155 MonCreateBoundaryDi.cxx
156 MonEditBoundaryCAO.cxx
157 MonEditBoundaryAn.cxx
158 MonEditBoundaryDi.cxx
161 MonCreateHypothesis.cxx
162 MonEditHypothesis.cxx
163 MonCreateListGroup.cxx
164 MonCreateListGroupCAO.cxx
166 MonEditListGroupCAO.cxx
167 MonCreateIteration.cxx
169 MonPursueIteration.cxx
180 # sources / to compile
181 SET(ADAPT_SOURCES ${_other_SOURCES} ${_moc_SOURCES} ${_uic_HEADERS})
185 ADD_LIBRARY(ADAPTGUI ${ADAPT_SOURCES})
186 TARGET_LINK_LIBRARIES(ADAPTGUI ${_link_LIBRARIES} )
187 INSTALL(TARGETS ADAPTGUI EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
189 INSTALL(FILES ${ADAPT_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
190 QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_ADAPT_INSTALL_RES_DATA}")