#=================================================================
# file:         core.cmake
# Copyright (c) 2020-2021 moe-org 保留所有权利
#=================================================================

# 添加core库
add_library(${U_CORE_LIBRARY} STATIC 
	"${U_CORE_SOURCE_CODE_DIR}/utopia-exception.cpp")

# 引用第三方库头文件
target_include_directories(${U_CORE_LIBRARY} PUBLIC ${U_LIBRARY_INCLUDE_DIR})

# 添加测试
add_executable(
	${U_CORE_LIBRARY_TEST} 
	"${U_CORE_TEST_CODE_DIR}/init-test.cpp"
)
