1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
#-----------------------------------------------------------------------------
#
# ICETConfig.cmake - IceT CMake configuration file for external projects.
#
# This file is configured by IceT and used by other CMake projects to load
# IceT's settings.
#
# Copyright 2003 Sandia Coporation
# Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
# the U.S. Government retains certain rights in this software.
#
# This source code is released under the New BSD License.
#
# This file should be installed in the lib directory. Find the root directory.
GET_FILENAME_COMPONENT(_dir "${CMAKE_CURRENT_LIST_FILE}" PATH)
GET_FILENAME_COMPONENT(_install_dir "${_dir}/.." ABSOLUTE)
# Load the targets include (next to this one).
INCLUDE("${_dir}/IceTTargets.cmake")
# The IceT include file directories.
SET(ICET_INCLUDE_DIRS "@ICET_INCLUDE_DIRS_CONFIG@")
# The IceT version number
SET(ICET_MAJOR_VERSION "@ICET_MAJOR_VERSION@")
SET(ICET_MINOR_VERSION "@ICET_MINOR_VERSION@")
SET(ICET_PATCH_VERSION "@ICET_PATCH_VERSION@")
SET(ICET_VERSION "@ICET_VERSION@")
# Main IceT configuration options
SET(ICET_USE_OPENGL "@ICET_USE_OPENGL@")
SET(ICET_USE_MPI "@ICET_USE_MPI@")
SET(ICET_BUILD_SHARED_LIBS "@ICET_BUILD_SHARED_LIBS@")
# The IceT libraries
SET(ICET_CORE_LIBS "@ICET_CORE_LIBRARY_TARGET@")
SET(ICET_GL_LIBS "@ICET_GL_LIBRARY_TARGET@")
SET(ICET_MPI_LIBS "@ICET_MPI_LIBRARY_TARGET@")
# MPI configuration used to build IceT.
SET(ICET_MPI_INCLUDE_PATH "@MPI_INCLUDE_PATH@")
SET(ICET_MPI_LIBRARY "@MPI_LIBRARY@")
SET(ICET_MPI_EXTRA_LIBRARY "@MPI_EXTRA_LIBRARY@")
SET(ICET_MPIRUN_EXE "@ICET_MPIRUN_EXE@")
SET(ICET_MPI_MAX_NUMPROCS "@ICET_MPI_MAX_NUMPROCS@")
SET(ICET_MPI_PREFLAGS "@ICET_MPI_PREFLAGS@")
SET(ICET_MPI_POSTFLAGS "@ICET_MPI_POSTFLAGS@")
|