~thecatster/di0des

8a928d5b59d5fe2487e6b475f40c1aeecafb5530 — Daniil Rose 2 years ago 07e1e6b
Update CMakeLists and refactor project structure
3 files changed, 7 insertions(+), 2 deletions(-)

M .gitignore
M CMakeLists.txt
R main.c => src/main.c
M .gitignore => .gitignore +1 -0
@@ 6,6 6,7 @@ space_invaders/

# CMake
cmake-build-debug/
build/

# Object files
*.o

M CMakeLists.txt => CMakeLists.txt +5 -2
@@ 1,6 1,9 @@
cmake_minimum_required(VERSION 3.20)
project(di0des C)
project(di0des VERSION 0.1.0 LANGUAGES C)

set(CMAKE_C_STANDARD 11)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

add_executable(di0des main.c)
add_compile_options(-Wall -g)

add_executable(di0des src/main.c)

R main.c => src/main.c +1 -0
@@ 1,3 1,4 @@
#include <stdlib.h>
#include <stdio.h>

int disassemble_8080_op(unsigned char *codebuffer, int pc);