1 2 3 4 5
cmake_minimum_required(VERSION 3.5) project(synacorvm) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
6
set(SOURCE_FILES main.c cpu.c cpu.h registers.h mem.h stack.c stack.h registers.c mem.c)
7
add_executable(synacorvm ${SOURCE_FILES})