2021-11-05 23:24:04 +00:00
|
|
|
cmake_minimum_required(VERSION 3.10)
|
|
|
|
|
2021-11-17 18:39:02 +00:00
|
|
|
project(bisquit_interpreter)
|
2021-11-05 23:24:04 +00:00
|
|
|
|
2021-11-11 02:02:32 +00:00
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
2021-11-05 23:24:04 +00:00
|
|
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|
|
|
|
2021-11-17 18:39:02 +00:00
|
|
|
add_executable(bisquit_interpreter src/common.hpp)
|
2021-11-05 23:24:04 +00:00
|
|
|
|
2021-11-17 18:39:02 +00:00
|
|
|
target_sources( bisquit_interpreter PRIVATE
|
2021-11-05 23:24:04 +00:00
|
|
|
src/main.cpp
|
|
|
|
src/parse.cpp
|
2021-11-17 18:19:49 +00:00
|
|
|
src/runtime.cpp
|
|
|
|
src/util.cpp
|
2021-11-05 23:24:04 +00:00
|
|
|
src/keywords.cpp )
|
|
|
|
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR})
|