Files
padlab/CMakeLists.txt
a dinosaur ff040ce322 ch ch ch ch changes! big ol overhaul:
- Hidpi support
- Display & edit both sticks individually
- Clearer distinction between raw & filtered position
- Param editing & preview for digital
- Digital has an angle parameter
- Touched up CMakeLists.txt
- gitignore
2022-10-06 18:53:51 +11:00

15 lines
358 B
CMake

cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
project(analogue C)
set(CMAKE_C_STANDARD 11)
set(TARGET analogue)
set(SOURCES
maths.c maths.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)