# This file is generated by the build system. PLEASE DO NOT MODIFY IT.
# Instead, edit your config.sh file and run it with "./config.sh".

# Include this file in your HAERO-compliant aerosol package:
# include(haero)

# Bring in EKAT config info.
# FIXME: we need both of these because EKAT's installation process is weird.
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "@CMAKE_INSTALL_PREFIX@/share")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "@CMAKE_INSTALL_PREFIX@/share/cmake/Modules")

set(HAERO_BUILD_TYPE @CMAKE_BUILD_TYPE@)

# GPU/compute device settings
set(HAERO_ENABLE_GPU  @HAERO_ENABLE_GPU@)

# C++ compiler settings
set(HAERO_CXX_STANDARD @CMAKE_CXX_STANDARD@)
if (HAERO_ENABLE_GPU)
  set(HAERO_CXX_COMPILER @CMAKE_INSTALL_PREFIX@/bin/nvcc_wrapper)
else()
  set(HAERO_CXX_COMPILER @CMAKE_CXX_COMPILER@)
endif()
set(HAERO_CXX_FLAGS    "@CMAKE_CXX_FLAGS@ -DOMPI_SKIP_MPICXX -DMPICH_SKIP_MPICXX")

# C compiler settings
set(HAERO_C_STANDARD @CMAKE_C_STANDARD@)
set(HAERO_C_COMPILER @CMAKE_C_COMPILER@)
set(HAERO_C_FLAGS    "@CMAKE_C_FLAGS@ -DOMPI_SKIP_MPICXX -DMPICH_SKIP_MPICXX")

# Linker settings
set(HAERO_EXE_LINKER_FLAGS "@CMAKE_EXE_LINKER_FLAGS@")

# Floating point precision
set(HAERO_PRECISION @HAERO_PRECISION@)

# Haero include directories, including third-party dependencies.
set(HAERO_INCLUDE_DIRS @CMAKE_INSTALL_PREFIX@/include @CMAKE_INSTALL_PREFIX@/include/kokkos @MPI_C_COMPILER_INCLUDE_DIRS@ @HAERO_EXT_INCLUDE_DIRS@)

# Third-party libraries
@HAERO_TPL_IMPORTED_LOCATIONS@

# kokkos interface target
add_library(kokkos INTERFACE)
target_link_libraries(kokkos INTERFACE kokkoscontainers kokkoscore)

set(HAERO_LIBRARIES @HAERO_LIBRARIES@;kokkos;m)
