summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: bda00bc970ce31f9f4365dfb1920f928fb7bb62c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.14)

project(chip8 LANGUAGES C)
 set(CMAKE_C_STANDARD 99)

find_package(SDL2 REQUIRED)

add_executable(
	chip8
	main.c chip8.c chip8.h)

target_compile_options(chip8 PRIVATE -Wall)

target_link_libraries(chip8 PRIVATE SDL2::SDL2)