Files
aaruremote/CMakeLists.txt

12 lines
292 B
CMake
Raw Normal View History

2019-10-12 13:06:21 +01:00
cmake_minimum_required(VERSION 3.14)
project(dicremote C)
set(CMAKE_C_STANDARD 90)
2019-10-13 00:05:13 +01:00
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})