ScalFMMConfig.cmake.in 1.92 KB
Newer Older
COULAUD Olivier's avatar
COULAUD Olivier committed
1 2 3 4 5 6 7 8 9 10 11 12 13
#-----------------------------------------------------------------------------
#
# ScalFMMConfig.cmake - ScalFMM CMake configuration file for external projects.
#
# This file is configured by ScalFMM and used by the ScalFMM.cmake module
# to load ScalFMM's settings for an external project.
#
@ScalFMM_CONFIG_INSTALL_ONLY@
#
SET(ScalFMM_VERSION_MAJOR "@ScalFMM_MAJOR_VERSION@")
SET(ScalFMM_VERSION_MINOR "@ScalFMM_MINOR_VERSION@")
SET(ScalFMM_VERSION_BUILD  "@ScalFMM_BUILD_VERSION@")
#
14
SET(ScalFMM_PREFIX        "@CMAKE_INSTALL_PREFIX@")
COULAUD Olivier's avatar
COULAUD Olivier committed
15 16
SET(ScalFMM_INCLUDE_DIR   "@CMAKE_INSTALL_PREFIX@/include")
SET(ScalFMM_LIBRARIES_DIR "@CMAKE_INSTALL_PREFIX@/lib")
17
SET(ScalFMM_LIBRARIES_ADD "@SCALFMM_LIBRARIES@")
COULAUD Olivier's avatar
COULAUD Olivier committed
18 19 20 21 22 23 24 25 26 27
SET(ScalFMM_LIBRARY_NAME  "@scalfmm_lib@")
#
SET(ScalFMM_SOURCE_DIR	   "@ScalFMM_SOURCE_DIR@")
SET(ScalFMM_BUILD_SHARED_LIBS "@BUILD_SHARED_LIBS@")
SET(ScalFMM_USE_FILE	   "@ScalFMM_USE_FILE@")
#
SET(ScalFMM_BUILD_TYPE     "@CMAKE_BUILD_TYPE@")
#
# ScalFMM Options
#
28
SET(ScalFMM_USE_MPI "@SCALFMM_USE_MPI@")
COULAUD Olivier's avatar
COULAUD Olivier committed
29 30 31 32
SET(ScalFMM_USE_BLAS "@SCALFMM_USE_BLAS@")
SET(ScalFMM_USE_MKL "@SCALFMM_USE_MKL_AS_BLAS@")
SET(ScalFMM_USE_DOUBLE_PRECISION "@SCALFMM_USE_DOUBLE_PRECISION@")
SET(ScalFMM_USE_MEM_STATS "@SCALFMM_USE_MEM_STATS@") 
33 34 35 36 37 38 39 40 41 42 43 44 45 46
#
#
#
SET(ScalFMM_LIBRARIES "-L${ScalFMM_LIBRARIES_DIR} -l${ScalFMM_LIBRARY_NAME} ${ScalFMM_LIBRARIES_ADD}" )
SET(ScalFMM_INCLUDE_DIRS "${ScalFMM_INCLUDE_DIR}
                          ${ScalFMM_INCLUDE_DIR}/Utils 
                          ${ScalFMM_INCLUDE_DIR}/Components 
                          ${ScalFMM_INCLUDE_DIR}/Arranger
                          ${ScalFMM_INCLUDE_DIR}/Containers
                          ${ScalFMM_INCLUDE_DIR}/Core
                          ${ScalFMM_INCLUDE_DIR}/Extensions
                          ${ScalFMM_INCLUDE_DIR}/Files
                          ${ScalFMM_INCLUDE_DIR}/Kernels
                          ${ScalFMM_INCLUDE_DIR}/Chebyshev")
COULAUD Olivier's avatar
COULAUD Olivier committed
47 48 49

#SCALFMM_BUILD_TESTS => OFF
#SCALFMM_BUILD_UTESTS => OFF