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.
 
 

16 lines
284 B

cmake_minimum_required(VERSION 3.14)
project(chip8)
set(CMAKE_CXX_STANDARD 11)
find_package(SDL2 REQUIRED)
add_executable(
chip8
Source/Chip8.cpp
Source/Main.cpp
Source/Platform.cpp)
target_compile_options(chip8 PRIVATE -Wall)
target_link_libraries(chip8 PRIVATE SDL2::SDL2)