CMakeLists.txt 240 Bytes
cmake_minimum_required(VERSION 3.5)
project(synacorvm)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

set(SOURCE_FILES main.c cpu.c cpu.h registers.h mem.h stack.c stack.h registers.c mem.c)
add_executable(synacorvm ${SOURCE_FILES})