1 # Copyright (C) 2013-2020 CEA/DEN, EDF R&D, OPEN CASCADE
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
23 # additional include directories
26 ${OpenCASCADE_INCLUDE_DIR}
31 # additional preprocessor / compiler flags
34 ${OpenCASCADE_DEFINITIONS}
37 # libraries to link to
45 # header files / to be processed by moc
49 ATOMICGUI_AddAtomDlg.h
51 ATOMICGUI_CreateMolOp.h
54 ATOMICGUI_ImportExportOp.h
58 # header files / no moc processing
61 ATOMICGUI_DataObject.h
63 ATOMICGUI_ATOMICGUI.hxx
66 # header files / to install
67 SET(ATOMICGUI_HEADERS ${_moc_HEADERS} ${_other_HEADERS})
71 # sources / moc wrappings
72 QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS})
78 ATOMICGUI_DataObject.cxx
79 ATOMICGUI_DataModel.cxx
80 ATOMICGUI_AddAtomDlg.cxx
81 ATOMICGUI_Selection.cxx
82 ATOMICGUI_Operation.cxx
83 ATOMICGUI_AddAtomOp.cxx
84 ATOMICGUI_CreateMolOp.cxx
85 ATOMICGUI_RenameOp.cxx
86 ATOMICGUI_DeleteOp.cxx
87 ATOMICGUI_ImportExportOp.cxx
90 # sources / to compile
91 SET(ATOMICGUI_SOURCES ${_other_SOURCES} ${_moc_SOURCES})
95 # resource files / to be processed by lrelease
97 resources/ATOMIC_images.ts
98 resources/ATOMIC_msg_en.ts
99 resources/ATOMIC_msg_ja.ts
104 ADD_LIBRARY(ATOMIC ${ATOMICGUI_SOURCES})
105 TARGET_LINK_LIBRARIES(ATOMIC ${_link_LIBRARIES} )
106 INSTALL(TARGETS ATOMIC EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
108 INSTALL(FILES ${ATOMICGUI_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
109 QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_ATOMIC_INSTALL_RES_DATA}")