cmake_minimum_required(VERSION 3.5.0) project(TMSG44_CoolPi VERSION 0.1.0 LANGUAGES C CXX) add_compile_options(-Wall) add_executable(TMSG44_CoolPi command.c main.c Devices/ad9912.c Devices/lmk04821.c Devices/lmx2594.c Devices/dac8811.c Devices/max2870.c Devices/pe43711.c DmaUtils/utils.c Devices/potentiometer.c Devices/tmsgheaders.c) target_link_libraries(TMSG44_CoolPi m)