Salome HOME
Copyrights update 2015.
[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-2015  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, or (at your option) any later version.
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 email : webmaster.salome@opencascade.com
26 #
27
28 ### Initialisation performed by CONFIGURE_PACKAGE_CONFIG_FILE:
29 @PACKAGE_INIT@
30
31 ### First the generic stuff for a standard module:
32 SET(SIMANIO_INCLUDE_DIRS "@PACKAGE_CONF_INCLUDE_DIRS@")
33
34 # Load the dependencies for the libraries of @PROJECT_NAME@ 
35 # (contains definitions for IMPORTED targets). This is only 
36 # imported if we are not built as a subproject (in this case targets are already there)
37 IF(NOT SimanIO AND NOT @PROJECT_NAME@_BINARY_DIR)
38   INCLUDE("@PACKAGE_INSTALL_CMAKE_CONFIG_DIR@/@PROJECT_NAME@Targets.cmake")
39 ENDIF()   
40
41 # These are IMPORTED targets created by @PROJECT_NAME@Targets.cmake
42 SET(SIMANIO_LIBRARIES SimanIO)
43
44 # Package root dir:
45 SET_AND_CHECK(SIMANIO_ROOT_DIR_EXP "@PACKAGE_CMAKE_INSTALL_PREFIX@")
46
47 #### Now the specificities
48
49 # Options exported by the package:
50
51 SET_AND_CHECK(WSO2_ROOT_DIR_EXP "@PACKAGE_WSO2_ROOT_DIR@")