9 Star 14 Fork 0

Tecorigin / Teco-AL

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CMakeLists.txt 883 Bytes
一键复制 编辑 原始数据 按行查看 历史
cmake_minimum_required(VERSION 3.10.2)
# set the compile output path
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_C_COMPILER "tecocc")
set(CMAKE_CXX_COMPILER "tecocc")
# set cxx to std11 standard
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
project(tecoal)
add_compile_options(-Werror -DUSE_EXPERIMENTAL_SDAA_API)
#add_compile_options(-debug)
set(PROJECT_INCLUDE ${PROJECT_SOURCE_DIR})
include_directories(${PROJECT_INCLUDE})
set(ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR})
# create ual library
add_subdirectory(${ROOT_DIR}/ual)
# create tecoal library
add_subdirectory(${ROOT_DIR}/interface)
# enter the test framework
if(BUILD_TEST)
add_subdirectory(${ROOT_DIR}/samples)
endif()
1
https://gitee.com/tecorigin/teco-al.git
git@gitee.com:tecorigin/teco-al.git
tecorigin
teco-al
Teco-AL
develop

搜索帮助