1 # Copyright (C) 2012-2014 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
23 # additional include directories
26 ${OMNIORB_INCLUDE_DIR}
27 ${KERNEL_INCLUDE_DIRS}
28 ${CMAKE_CURRENT_BINARY_DIR}
29 ${PROJECT_BINARY_DIR}/idl
30 ${PROJECT_SOURCE_DIR}/src/bases
31 ${PROJECT_SOURCE_DIR}/src/engine
32 ${PROJECT_SOURCE_DIR}/src/wrappers
35 # additional preprocessor / compiler flags
38 ${OMNIORB_DEFINITIONS}
41 # libraries to link to
50 # header files / to be processed by moc
51 SET(BL_GenericGui_HEADERS
58 BL_CreateJobWizard.hxx
60 JM_ResourceCatalog.hxx
62 JM_EditSalomeResource.hxx
67 # sources / moc wrappings
68 QT4_WRAP_CPP(_moc_SOURCES ${BL_GenericGui_HEADERS})
78 BL_CreateJobWizard.cxx
80 JM_ResourceCatalog.cxx
82 JM_EditSalomeResource.cxx
87 # resource files / to be processed by uic
89 ResourceRequirementsWizardPage.ui
93 # header files / uic wrappings
94 QT4_WRAP_UI(_uic_HEADERS ${_uic_files})
96 # sources / to compile
97 SET(BL_GenericGui_SOURCES ${_other_SOURCES} ${_moc_SOURCES} ${_uic_HEADERS})
101 ADD_LIBRARY(BL_GenericGui ${BL_GenericGui_SOURCES})
102 TARGET_LINK_LIBRARIES(BL_GenericGui ${_link_LIBRARIES} )
103 INSTALL(TARGETS BL_GenericGui EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})