# -*- coding: utf-8 -*-

from pyutils import log


# CMake build type
build_type = '@PYUTILS_BUILD_TYPE@'
log.debug('Build type', build_type)

# CMake source dir
source_dir = '@CMAKE_SOURCE_DIR@'
log.debug('Source dir', source_dir)

# CMake binary dir
binary_dir = '@CMAKE_BINARY_DIR@'
log.debug('Binary dir', binary_dir)

# CMake install dir
install_dir = '@CMAKE_INSTALL_PREFIX@'
log.debug('Install dir', install_dir)

# Compiler
compiler = '@PYUTILS_COMPILER@'
log.debug('Compiler', compiler)

# Target
envfile = '@PYUTILS_ENVFILE@' or None
log.debug('Environment file', envfile)

# Floating point precision
precision = '@PYUTILS_PRECISION@'
log.debug('Precision', precision)

# Grid type
grid = '@PYUTILS_GRID@'
log.debug('Grid', grid)

# Compiled backends
backends = '@PYUTILS_BACKEND@'.replace(';', ' ').split()
log.debug('Backends', backends)
