Do some work on the CPU, assembler still needs update
This commit is contained in:
@@ -1,11 +1,19 @@
|
||||
cmake_minimum_required(VERSION 3.31)
|
||||
project(sdlzasedaco C)
|
||||
project(RISCB C)
|
||||
|
||||
set(CMAKE_C_STANDARD 23)
|
||||
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(SDL2 REQUIRED sdl2)
|
||||
|
||||
add_executable(sdlzasedaco main.c) # Ensure the target is defined before linking
|
||||
add_executable(RISCB main.c
|
||||
util/font.c
|
||||
util/font.h
|
||||
assembler/assembler.c
|
||||
assembler/assembler.h
|
||||
cpu/memory.c
|
||||
cpu/memory.h
|
||||
cpu/core.c
|
||||
cpu/core.h) # Ensure the target is defined before linking
|
||||
|
||||
target_link_libraries(sdlzasedaco SDL2 SDL2_ttf)
|
||||
target_link_libraries(RISCB SDL2 SDL2_ttf m)
|
||||
|
Reference in New Issue
Block a user