mirror of
https://github.com/IllusionMan1212/chip-m8.git
synced 2026-10-24 02:12:34 +00:00
initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(chip8 VERSION 0.1)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CSS_STANDARD_REQUIRED True)
|
||||
set(CMAKE_DEBUG_POSTFIX debug)
|
||||
|
||||
add_executable(chip8 main.cpp)
|
||||
set_target_properties(chip8 PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
|
||||
|
||||
find_package(sdl2 REQUIRED)
|
||||
target_link_libraries(chip8 SDL2)
|
||||
|
||||
configure_file(version.h.in version.h)
|
||||
|
||||
target_include_directories(chip8 PUBLIC "${PROJECT_BINARY_DIR}")
|
||||
Reference in New Issue
Block a user