#[[++

Copyright (C) 2019 Numbers 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 Numbers library.

Interface version: 1.0.0


]]

cmake_minimum_required(VERSION 3.5)

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

set (CMAKE_CXX_STANDARD 11)

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

file(GLOB NUMBERS_SRC
	${CMAKE_CURRENT_SOURCE_DIR}/Stub/*.cpp
)
file(GLOB NUMBERS_HDR
	${CMAKE_CURRENT_SOURCE_DIR}/Stub/*.hpp
)
set(NUMBERS_SRC ${NUMBERS_SRC} ${NUMBERS_SRC}
	${CMAKE_CURRENT_AUTOGENERATED_DIR}/numbers_interfaceexception.cpp
	${CMAKE_CURRENT_AUTOGENERATED_DIR}/numbers_interfacewrapper.cpp
)

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