tutorial: dummy subsystem

This commit is contained in:
martin
2023-07-07 09:55:36 +02:00
parent c665b64966
commit 6772c7bfc8
4 changed files with 82 additions and 0 deletions

25
CMakeLists.txt Normal file
View File

@@ -0,0 +1,25 @@
cmake_minimum_required(VERSION 3.18)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
project(
Dummy
VERSION 0.1
DESCRIPTION "Dummy - A dummy library"
LANGUAGES C
)
set_property(
TARGET ${PROJECT}
PROPERTY C_STANDARD 11
)
add_library(
${PROJECT_NAME}
src/dummy.c
)
target_include_directories(
${PROJECT_NAME}
PUBLIC
include
)