25 lines
549 B
CMake
25 lines
549 B
CMake
cmake_minimum_required(VERSION 3.21)
|
|
project(Erythro C)
|
|
|
|
set(CMAKE_C_STANDARD 11)
|
|
|
|
include_directories(include)
|
|
|
|
add_executable(Erythro
|
|
include/Data.h
|
|
include/Defs.h
|
|
src/assemble/AssemblerDispatcher.c
|
|
src/assemble/ASMAssembler.c
|
|
src/assemble/QBEAssembler.c
|
|
src/Delegate.c
|
|
src/Dump.c
|
|
src/Lexer.c
|
|
src/Main.c
|
|
src/Parser.c
|
|
src/Pointers.c
|
|
src/Statements.c
|
|
src/Symbols.c
|
|
src/Types.c
|
|
src/Importer.c
|
|
src/assemble/JVMAssembler.c)
|