cmake_minimum_required(VERSION 4.1) project(viridian C) set(CMAKE_C_STANDARD 17) include(FetchContent) FetchContent_Declare( SDL GIT_REPOSITORY https://github.com/libsdl-org/SDL.git GIT_TAG release-3.4.2 GIT_SHALLOW TRUE GIT_PROGRESS TRUE ) FetchContent_MakeAvailable(SDL) add_executable(viridian src/main.c src/parser/tokenizer/tokens.h src/parser/streams/stream.h src/parser/streams/file_stream.c src/parser/streams/file_stream.h src/parser/streams/stream.c src/parser/tokenizer/parser.c src/parser/tokenizer/parser.h src/common/vector.c src/common/vector.h) target_link_libraries(viridian PRIVATE SDL3::SDL3) target_include_directories(viridian PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src/common" )