added SDL
This commit is contained in:
parent
7c0957325f
commit
2b71e3e0d2
8 changed files with 85 additions and 22 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
add_executable (nesemu "main.c" "cpu.h" "types.h" "bus.h" "bus.c" "cartridge.h" "cpu.c" "cartridge.c" "opcodes.c" "log.c" "ppu.h" "ppu.c")
|
||||
|
||||
target_include_directories(nesemu PUBLIC SDL2-static)
|
||||
target_link_libraries(nesemu PUBLIC SDL2-static SDL2main)
|
||||
|
||||
if(MSVC)
|
||||
target_compile_definitions(nesemu PUBLIC _CRT_SECURE_NO_WARNINGS)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue