Salome HOME
Missing __init__.py
[modules/hydrosolver.git] / idl / CMakeLists.txt
1 #  Copyright (C) 2012-2013 EDF
2 #
3 #  This file is part of SALOME HYDRO module.
4 #
5 #  SALOME HYDRO module is free software: you can redistribute it and/or modify
6 #  it under the terms of the GNU General Public License as published by
7 #  the Free Software Foundation, either version 3 of the License, or
8 #  (at your option) any later version.
9 #
10 #  SALOME HYDRO module is distributed in the hope that it will be useful,
11 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
12 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 #  GNU General Public License for more details.
14 #
15 #  You should have received a copy of the GNU General Public License
16 #  along with SALOME HYDRO module.  If not, see <http://www.gnu.org/licenses/>.
17
18 INCLUDE(UseOmniORB)  # Provided by KERNEL
19
20 INCLUDE_DIRECTORIES(
21   ${OMNIORB_INCLUDE_DIR}
22   ${CMAKE_CURRENT_BINARY_DIR}
23   ${KERNEL_INCLUDE_DIRS}
24 )
25
26 SET(SalomeIDLHYDROSOLVER_IDLSOURCES
27   HYDROSOLVER.idl
28 )
29
30 SET(_idl_include_dirs
31   ${KERNEL_ROOT_DIR}/idl/salome
32 )
33
34 SET(_idl_link_flags
35   ${KERNEL_SalomeIDLKernel}
36 )
37
38 OMNIORB_ADD_MODULE(SalomeIDLHYDROSOLVER "${SalomeIDLHYDROSOLVER_IDLSOURCES}" "${_idl_include_dirs}" "${_idl_link_flags}")
39 INSTALL(TARGETS SalomeIDLHYDROSOLVER EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})