From 6b9f686913efc3725b2690033cd4f398e07076ba Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sat, 3 Jul 2021 00:49:03 +0200 Subject: Add project source code --- src/tech/CMakeLists.txt | 2 ++ src/tech/inc/tech.h | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 src/tech/CMakeLists.txt create mode 100644 src/tech/inc/tech.h (limited to 'src/tech') diff --git a/src/tech/CMakeLists.txt b/src/tech/CMakeLists.txt new file mode 100644 index 0000000..1fd6963 --- /dev/null +++ b/src/tech/CMakeLists.txt @@ -0,0 +1,2 @@ +add_library(tech INTERFACE) +target_include_directories(tech INTERFACE "inc") diff --git a/src/tech/inc/tech.h b/src/tech/inc/tech.h new file mode 100644 index 0000000..071515f --- /dev/null +++ b/src/tech/inc/tech.h @@ -0,0 +1,20 @@ +#ifndef TECH_H +#define TECH_H + +#ifdef __cplusplus +extern "C" +{ +#endif + +enum tech_level +{ + TECH_LEVEL_1, + TECH_LEVEL_2, + TECH_LEVEL_3 +}; + +#ifdef __cplusplus +} +#endif + +#endif /* TECH_H */ -- cgit v1.2.3