diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-09-03 19:34:59 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-09-03 19:36:52 +0200 |
commit | c818aa8a02d2809b3189a1fdbec580fd59d22ce2 (patch) | |
tree | ab37a6959f7e63ce8ef70a338bef20a4ac6dbd3f /src/crepe | |
parent | 387c97bae8fd2e21dcd5b0a2b938d23e5d007a0d (diff) |
shuffle files
Moving all code into src/crepe allows you to add the src folder as
SYSTEM INTERFACE, resulting in includes that look like `<crepe/xyz.h>`.
Diffstat (limited to 'src/crepe')
-rw-r--r-- | src/crepe/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/crepe/main.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/crepe/CMakeLists.txt b/src/crepe/CMakeLists.txt new file mode 100644 index 0000000..392b7d7 --- /dev/null +++ b/src/crepe/CMakeLists.txt @@ -0,0 +1,3 @@ +target_sources(main PUBLIC + main.cpp +) diff --git a/src/crepe/main.cpp b/src/crepe/main.cpp new file mode 100644 index 0000000..8e9a184 --- /dev/null +++ b/src/crepe/main.cpp @@ -0,0 +1,3 @@ +#include <stdio.h> + +int main() { printf("Hello World!\n"); } |