ScalFMMConfig.cmake.in 2.32 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 29 30
SET(ScalFMM_USE_MPI              "@ScalFMM_USE_MPI@")
SET(ScalFMM_USE_BLAS             "@ScaLFMM_USE_BLAS@")
SET(ScalFMM_USE_MKL              "@ScalFMM_USE_MKL_AS_BLAS@")
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
SET(ScalFMM_USE_DOUBLE_PRECISION "@ScalFMM_USE_DOUBLE_PRECISION@")
SET(ScalFMM_USE_MEM_STATS        "@ScalFMM_USE_MEM_STATS@") 
SET(ScalFMM_USE_SSE              "@ScalFMM_USE_SSE@")
SET(ScalFMM_FLAGS                "@ScaLFMM_FLAGS_OPTI@")
SET(ScalFMM_USE_ADDONS           "@ScalFMM_USE_ADDONS@")
#SET(ScalFMM_FLAGS   "@@")
#SET(ScalFMM_FLAGS   "@@")
#SET(ScalFMM_FLAGS   "@@")
#
#
IF(ScalFMM_USE_ADDONS) 
  SET(ScalFMM_LIBRARIES "-L${ScalFMM_LIBRARIES_DIR} -l${ScalFMM_LIBRARY_NAME} ${ScalFMM_LIBRARIES_ADD}" )
ELSE()
  SET(ScalFMM_LIBRARIES "-L${ScalFMM_LIBRARIES_DIR} -l${ScalFMM_LIBRARY_NAME}" )
ENDIF()

SET(ScalFMM_INCLUDE_DIRS  ${ScalFMM_INCLUDE_DIR}
48 49 50 51 52 53 54 55
                          ${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
aetcheve's avatar
aetcheve committed
56
                          ${ScalFMM_INCLUDE_DIR}/Chebyshev)
COULAUD Olivier's avatar
COULAUD Olivier committed
57 58 59

#SCALFMM_BUILD_TESTS => OFF
#SCALFMM_BUILD_UTESTS => OFF