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

24 lines
481 B

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
)
target_include_directories(forth PRIVATE include)