am-kernels/CMakeLists.txt

19 lines
395 B
CMake
Raw Normal View History

2024-03-25 08:49:08 +00:00
cmake_minimum_required(VERSION 3.22)
project(am-kernels)
set(CMAKE_C_STANDARD 11)
enable_language(C ASM)
include(CheckPIESupported)
2024-07-09 09:42:46 +00:00
include(GNUInstallDirs)
2024-03-25 08:49:08 +00:00
2024-07-09 09:42:46 +00:00
find_package(am-${ARCH})
find_package(klib)
check_pie_supported()
2024-03-25 08:49:08 +00:00
2024-07-09 09:42:46 +00:00
add_subdirectory(tests/cpu-tests)
# add_subdirectory(tests/alu-tests)
add_subdirectory(tests/am-tests)
2024-07-09 09:42:46 +00:00
add_subdirectory(benchmarks/microbench)
add_subdirectory(kernels)