blob: 3f532489e8cea6d36b5e142ffe86b3d555ce91de (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# This source code is released into the public domain.
cmake_minimum_required(VERSION 3.28)
project(lfvm)
option(LFVM_TESTS "Build lfvm's unit tests" ON)
set(CMAKE_CXX_STANDARD 26)
find_package(PkgConfig REQUIRED)
add_compile_options(-W)
add_compile_options(-Wall)
add_compile_options(-Wextra)
add_compile_options(-Werror)
add_compile_options(-Wpedantic)
add_subdirectory(nihil)
add_subdirectory(liblfvm)
add_subdirectory(lfvm)
if(LFVM_TESTS)
enable_testing()
endif()
|