Commit ab844a5f authored by Tom Niget's avatar Tom Niget

Add CMake file for code analysis

parent 9bd19dba
.idea .idea
\ No newline at end of file cmake-build-*
\ No newline at end of file
cmake_minimum_required(VERSION 3.27)
project(typon)
set(CMAKE_CXX_STANDARD 20)
find_package(fmt CONFIG REQUIRED)
include_directories(include)
include_directories(runtime/rt/include)
file(GLOB TESTS trans/tests/*.cpp)
foreach(testfile ${TESTS})
get_filename_component(testname ${testfile} NAME_WE)
add_executable(${testname} ${testfile})
target_link_libraries(${testname} PRIVATE fmt::fmt-header-only)
endforeach()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment