# This file is part of the openHiTLS project.
#
# openHiTLS is licensed under the Mulan PSL v2.
# You can use this software according to the terms and conditions of the Mulan PSL v2.
# You may obtain a copy of Mulan PSL v2 at:
#
# http://license.coscl.org.cn/MulanPSL2
#
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
# EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
# MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
# See the Mulan PSL v2 for more details.
file(GLOB _init_sources ${CMAKE_CURRENT_SOURCE_DIR}/*.c)
add_library(_hitls_bsl_init OBJECT ${_init_sources})
target_link_libraries(_hitls_bsl_init
PUBLIC
_hitls_bsl_common_include
)
target_include_directories(_hitls_bsl_init
PRIVATE
${PROJECT_SOURCE_DIR}/bsl/obj/include
)
hitls_register_objects(BSL _hitls_bsl_init)