1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
2019-nes-emulator/CMakeLists.txt

36 lines
502 B

cmake_minimum_required(VERSION 3.14)
project(nes)
set(CMAKE_CXX_STANDARD 14)
find_package(SDL2 REQUIRED)
add_executable(nes)
target_sources(
nes
PRIVATE
Source/Cartridge.cpp
Source/CPU/CPU.cpp
Source/CPU/AddressModes.cpp
Source/CPU/Instructions.cpp
Source/Input.cpp
Source/NES.cpp
Source/Platform.cpp
Source/PPU/PPU.cpp
Source/Main.cpp)
target_compile_options(
nes
PRIVATE
-Wall)
target_include_directories(
nes
PRIVATE
Source)
target_link_libraries(
nes
PRIVATE
SDL2::SDL2)