#[[++

Copyright (C) 2019 Calculation developers

All rights reserved.

This file has been generated by the Automatic Component Toolkit (ACT) version 1.6.0.

Abstract: This is an autogenerated CMakeLists file for the development of Calculation library.

Interface version: 1.0.0


]]

cmake_minimum_required(VERSION 3.5)

### The implementation of the Calculation library component
project(Calculation)

set (CMAKE_CXX_STANDARD 11)

# The location of autogenerated interfaces
set(CMAKE_CURRENT_AUTOGENERATED_DIR ${CMAKE_CURRENT_SOURCE_DIR}/Interfaces)

file(GLOB CALCULATION_SRC
	${CMAKE_CURRENT_SOURCE_DIR}/Stub/*.cpp
)
file(GLOB CALCULATION_HDR
	${CMAKE_CURRENT_SOURCE_DIR}/Stub/*.hpp
)
set(CALCULATION_SRC ${CALCULATION_SRC} ${CALCULATION_SRC}
	${CMAKE_CURRENT_AUTOGENERATED_DIR}/calculation_interfaceexception.cpp
	${CMAKE_CURRENT_AUTOGENERATED_DIR}/calculation_interfacewrapper.cpp
)

add_library(calculation SHARED ${CALCULATION_SRC})
# Do not prefix the binary's name with "lib" on Unix systems:
set_target_properties(calculation PROPERTIES PREFIX "" IMPORT_PREFIX "" )
# The following two properties are crucial to reduce the number of undesirably exported symbols
set_target_properties(calculation PROPERTIES CXX_VISIBILITY_PRESET hidden)
set_target_properties(calculation PROPERTIES VISIBILITY_INLINES_HIDDEN ON)
# This makes sure symbols are exported
target_compile_options(calculation PRIVATE "-D__CALCULATION_EXPORTS")
target_include_directories(calculation PRIVATE ${CMAKE_CURRENT_AUTOGENERATED_DIR})
target_include_directories(calculation PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/Stub)
target_include_directories(calculation PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/../../../Numbers_component/Bindings/CppDynamic")
