summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 9f3f9501603f06278a6e8c83015a8df0cf680c6c (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 -Wextra)

target_link_libraries(chip8 PRIVATE SDL2::SDL2)