summary refs log tree commit diff
diff options
context:
space:
mode:
authorNakidai <plaza521@inbox.ru>2024-07-05 15:09:40 +0300
committerNakidai <plaza521@inbox.ru>2024-07-05 15:09:40 +0300
commitafbc03b293887e1e06b0fc0603ba86bbfa920795 (patch)
tree0111808fe3794293f8a368301699ff73ac3ea169
parentaea40f3877e36e95f2a70e3eeb0569fd156e3841 (diff)
download3cl-afbc03b293887e1e06b0fc0603ba86bbfa920795.tar.gz
3cl-afbc03b293887e1e06b0fc0603ba86bbfa920795.zip
Move cvector.h
I think that moving code written not by me to a separate folder is a
nice idea
-rw-r--r--CMakeLists.txt1
-rw-r--r--include/thirdparty/cvector/LICENSE (renamed from LICENSE.cvector)0
-rw-r--r--include/thirdparty/cvector/cvector.h (renamed from include/cvector.h)0
-rw-r--r--src/cccl.c2
4 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a9ddeda..1c3f5ac 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,3 +19,4 @@ set_target_properties("${PROJECT_NAME}" PROPERTIES C_STANDARD 11)
 set_target_properties("${PROJECT_NAME}" PROPERTIES C_EXTENSIONS FALSE)
 
 target_include_directories("${PROJECT_NAME}" PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include")
+target_include_directories("${PROJECT_NAME}" PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include/thirdparty")
diff --git a/LICENSE.cvector b/include/thirdparty/cvector/LICENSE
index 2eb0839..2eb0839 100644
--- a/LICENSE.cvector
+++ b/include/thirdparty/cvector/LICENSE
diff --git a/include/cvector.h b/include/thirdparty/cvector/cvector.h
index 7be970d..7be970d 100644
--- a/include/cvector.h
+++ b/include/thirdparty/cvector/cvector.h
diff --git a/src/cccl.c b/src/cccl.c
index 4734620..829a646 100644
--- a/src/cccl.c
+++ b/src/cccl.c
@@ -1,13 +1,13 @@
 #include "cccl.h"
 #include "types.h"
 
+#include <cvector/cvector.h>
 #include <errno.h>
 #include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#include "cvector.h"
 #include "platform/getch.h"
 #include "utils.h"