14 lines
343 B
CMake
14 lines
343 B
CMake
cmake_minimum_required(VERSION 3.31)
|
|
project(TCompiler VERSION 0.0.0)
|
|
|
|
set(CMAKE_CXX_STANDARD 23)
|
|
|
|
add_executable(TFC src/tfc.cpp
|
|
src/lexer/Lexer.cpp
|
|
src/lexer/Lexer.hpp
|
|
src/parser/Parser.cpp
|
|
src/parser/Parser.hpp
|
|
)
|
|
target_compile_options(TFC PRIVATE -Wall -Wextra)
|
|
target_compile_definitions(TFC PRIVATE TEST)
|