27 lines
617 B
CMake
27 lines
617 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/Win32GASAssembler.c
|
|
src/assemble/LinuxGASAssembler.c
|
|
src/assemble/JVMAssembler.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/Errors.c)
|