mirror of
https://github.com/GayPizzaSpecifications/padlab.git
synced 2025-08-03 13:11:32 +00:00
static inlines shouldn't need an external definition if I understand correctly, and that's all this file contains
17 lines
379 B
CMake
17 lines
379 B
CMake
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
|
|
project(padlab C)
|
|
set(CMAKE_C_STANDARD 99)
|
|
set(TARGET padlab)
|
|
set(SOURCES
|
|
maths.h
|
|
draw.c draw.h
|
|
stick.c stick.h
|
|
analogue.c)
|
|
|
|
find_package(SDL2 REQUIRED)
|
|
|
|
add_executable(${TARGET} ${SOURCES})
|
|
target_link_libraries(${TARGET} SDL2::SDL2 m)
|
|
target_compile_options(${TARGET} PRIVATE
|
|
-Wall -Wextra -pedantic -Wno-unused-parameter)
|