cmake_minimum_required(VERSION 4.3)
project(fz-lang
	LANGUAGES C)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

include_directories(include)

# Compiler
add_executable(fzc
	src/compiler/fzl_token.c
	src/compiler/fzl_reader.c
	src/compiler/fzl_parser.c
	src/compiler/fzl_debug.c
	src/compiler/fzl_walker.c
	src/compiler/utils/fzl_const_pool.c
	src/compiler/main.c)

# VM
# add_executable(fzvm
# 	src/vm/main.c)

