Start point

This commit is contained in:
2025-02-19 16:17:08 +01:00
commit 8bc6932e36
223 changed files with 63668 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
add_library(testlib testlib.c)
target_include_directories(testlib INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})

11
lib/testlib/testlib.c Normal file
View File

@@ -0,0 +1,11 @@
/* testlib.c */
#include "testlib.h"
#include <stdio.h>
#ifndef MESSAGE
#define MESSAGE "Hello from testlib!"
#endif
void print_message() {
printf("%s\n", MESSAGE);
}

7
lib/testlib/testlib.h Normal file
View File

@@ -0,0 +1,7 @@
/* testlib.h */
#ifndef TESTLIB_H
#define TESTLIB_H
void print_message();
#endif