mirror of
https://github.com/aaru-dps/aaruremote.git
synced 2025-12-16 19:24:37 +00:00
12 lines
292 B
CMake
12 lines
292 B
CMake
cmake_minimum_required(VERSION 3.14)
|
|
project(dicremote C)
|
|
|
|
set(CMAKE_C_STANDARD 90)
|
|
|
|
set(PLATFORM_SOURCES )
|
|
|
|
IF("${CMAKE_SYSTEM}" MATCHES "Linux")
|
|
list(APPEND PLATFORM_SOURCES linux/list_devices.c linux/linux.h)
|
|
endif()
|
|
|
|
add_executable(dicremote main.c list_devices.c ${PLATFORM_SOURCES}) |