Salome HOME
f066615cdfe516d576e2e8054a0b2e71e41f2878
[tools/simanio.git] / misc / SimanIOConfig.cmake.in
1 # - Config file for the @PROJECT_NAME@ package
2 # It defines the following variables. 
3 # Specific to the package @PROJECT_NAME@ itself:
4 #  @PROJECT_NAME_UC@_INCLUDE_DIRS - include directories 
5 #  @PROJECT_NAME_UC@_LIBRARIES    - libraries to link against
6 #  @PROJECT_NAME_UC@_ROOT_DIR_EXP - the root path of the installation providing this CMake file
7 #
8 ###############################################################
9 #  Copyright (C) 2013  CEA/DEN, EDF R&D, OPEN CASCADE
10 #
11 #  This library is free software; you can redistribute it and/or
12 #  modify it under the terms of the GNU Lesser General Public
13 #  License as published by the Free Software Foundation; either
14 #  version 2.1 of the License.
15 #
16 #  This library is distributed in the hope that it will be useful,
17 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
18 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19 #  Lesser General Public License for more details.
20 #
21 #  You should have received a copy of the GNU Lesser General Public
22 #  License along with this library; if not, write to the Free Software
23 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
24 #
25 #  See http://www.salome-platform.org/ or
26 #  email : webmaster.salome@opencascade.com
27 ###############################################################
28
29 ### Initialisation performed by CONFIGURE_PACKAGE_CONFIG_FILE:
30 @PACKAGE_INIT@
31
32 ### First the generic stuff for a standard module:
33 SET(SIMANIO_INCLUDE_DIRS "@PACKAGE_CONF_INCLUDE_DIRS@")
34
35 # Load the dependencies for the libraries of @PROJECT_NAME@ 
36 # (contains definitions for IMPORTED targets). This is only 
37 # imported if we are not built as a subproject (in this case targets are already there)
38 IF(NOT SimanIO AND NOT @PROJECT_NAME@_BINARY_DIR)
39   INCLUDE("@PACKAGE_INSTALL_CMAKE_CONFIG_DIR@/@PROJECT_NAME@Targets.cmake")
40 ENDIF()   
41
42 # These are IMPORTED targets created by @PROJECT_NAME@Targets.cmake
43 SET(SIMANIO_LIBRARIES SimanIO)
44
45 # Package root dir:
46 SET_AND_CHECK(SIMANIO_ROOT_DIR_EXP "@PACKAGE_CMAKE_INSTALL_PREFIX@")
47
48 #### Now the specificities
49
50 # Options exported by the package:
51
52 SET_AND_CHECK(WSO2_ROOT_DIR_EXP "@PACKAGE_WSO2_ROOT_DIR@")