Trying to build a forth runtime in C
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forth/CMakeLists.txt

26 lines
500 B

3 years ago
cmake_minimum_required(VERSION 3.20)
project(forth C)
set(CMAKE_C_STANDARD 99)
add_executable(forth
src/main.c
src/fh_builtins.c
src/fh_builtins_control.c
src/fh_builtins_stack.c
src/fh_builtins_arith.c
src/fh_builtins_meta.c
src/fh_builtins_mem.c
src/fh_builtins_system.c
src/fh_builtins_text.c
src/fh_runtime.c
src/fh_stack.c
src/fh_mem.c
src/fh_error.c
src/fh_see.c
src/fh_parse.c
3 years ago
)
target_include_directories(forth PRIVATE include)