A simple 256-color palette viewer.
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.
|
cmake_minimum_required(VERSION 3.13) |
|
project(palview C) |
|
|
|
set(CMAKE_C_STANDARD 90) |
|
|
|
find_package(SDL2 REQUIRED) |
|
include_directories(${SDL2_INCLUDE_DIRS}) |
|
|
|
add_executable(palview |
|
src/main.c |
|
src/event.c |
|
src/game.c |
|
src/log.c |
|
src/video.c) |
|
|
|
target_link_libraries(palview ${SDL2_LIBRARIES})
|
|
|