ScalFMMConfig.cmake.in 2.05 KB
Newer Older
COULAUD Olivier's avatar
COULAUD Olivier committed
1 2
#-----------------------------------------------------------------------------
#
3
# SCALFMMConfig.cmake - SCALFMM CMake configuration file for external projects.
COULAUD Olivier's avatar
COULAUD Olivier committed
4
#
5 6
# This file is configured by SCALFMM and used by the SCALFMM.cmake module
# to load SCALFMM's settings for an external project.
COULAUD Olivier's avatar
COULAUD Olivier committed
7
#
8
@SCALFMM_CONFIG_INSTALL_ONLY@
COULAUD Olivier's avatar
COULAUD Olivier committed
9
#
10 11 12
SET(SCALFMM_VERSION_MAJOR "@SCALFMM_MAJOR_VERSION@")
SET(SCALFMM_VERSION_MINOR "@SCALFMM_MINOR_VERSION@")
SET(SCALFMM_VERSION_BUILD  "@SCALFMM_BUILD_VERSION@")
COULAUD Olivier's avatar
COULAUD Olivier committed
13
#
14
SET(SCALFMM_PREFIX        "@CMAKE_INSTALL_PREFIX@")
15 16
SET(SCALFMM_INCLUDES_DIR   "@CMAKE_INSTALL_PREFIX@/include")
SET(SCALFMM_INCLUDES_ADD "@SCALFMM_INCLUDES@")
17
SET(SCALFMM_LIBRARIES_DIR "@CMAKE_INSTALL_PREFIX@/lib")
18
SET(SCALFMM_LIBRARIES_ADD "@SCALFMM_COMPILE_LIBS@")
19
SET(SCALFMM_LIBRARY_NAME  "@scalfmm_lib@")
20
SET(ScaLFMM_CXX_FLAGS     "@SCALFMM_CXX_FLAGS@")
COULAUD Olivier's avatar
COULAUD Olivier committed
21
#
22 23 24
SET(SCALFMM_SOURCE_DIR	   "@SCALFMM_SOURCE_DIR@")
SET(SCALFMM_BUILD_SHARED_LIBS "@BUILD_SHARED_LIBS@")
SET(SCALFMM_USE_FILE	   "@SCALFMM_USE_FILE@")
COULAUD Olivier's avatar
COULAUD Olivier committed
25
#
26
SET(SCALFMM_BUILD_TYPE     "@CMAKE_BUILD_TYPE@")
COULAUD Olivier's avatar
COULAUD Olivier committed
27
#
28
# SCALFMM Options
COULAUD Olivier's avatar
COULAUD Olivier committed
29
#
30
SET(SCALFMM_USE_ADDONS           "@SCALFMM_USE_ADDONS@")
31
SET(SCALFMM_USE_MPI              "@SCALFMM_USE_MPI@")
32 33
SET(SCALFMM_USE_BLAS             "@SCALFMM_USE_BLAS@")
SET(SCALFMM_USE_FFT              "@SCALFMM_USE_FFT@")
34
SET(SCALFMM_USE_MKL              "@SCALFMM_USE_MKL_AS_BLAS@")
35
SET(SCALFMM_FLAGS                "@SCALFMM_FLAGS_OPTI@")
36
SET(SCALFMM_USE_MEM_STATS        "@SCALFMM_USE_MEM_STATS@") 
37
SET(SCALFMM_USE_LOG              "@SCALFMM_USE_LOG@")
38
SET(SCALFMM_USE_OMP4             "@SCALFMM_USE_OMP4@")
39
SET(SCALFMM_USE_STARPU           "@SCALFMM_USE_STARPU@")
40 41
SET(SCALFMM_USE_SSE              "@SCALFMM_USE_SSE@")
SET(SCALFMM_USE_AVX              "@SCALFMM_USE_AVX@")
42
#
43
SET(SCALFMM_DOC_TAGS           "@CMAKE_BINARY_DIR@/Doc/scalfmm.tag")
44

45
#
46 47
IF(SCALFMM_USE_ADDONS) 
  SET(SCALFMM_LIBRARIES "-L${SCALFMM_LIBRARIES_DIR} -l${SCALFMM_LIBRARY_NAME} ${SCALFMM_LIBRARIES_ADD}" )
48
ELSE()
49
  SET(SCALFMM_LIBRARIES "-L${SCALFMM_LIBRARIES_DIR} -l${SCALFMM_LIBRARY_NAME}" )
50 51
ENDIF()

COULAUD Olivier's avatar
COULAUD Olivier committed
52 53

#SCALFMM_BUILD_TESTS => OFF
54
#SCALFMM_BUILD_UTESTS => OFF