Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/libhamcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Beatrici <git@davidebeatrici.dev>2021-05-26 03:09:03 +0300
committerDavide Beatrici <git@davidebeatrici.dev>2021-05-26 03:09:03 +0300
commite745c1d1d9e268b3ac2af1b680e1fe28bfaa8080 (patch)
tree89484d0e3741f50a366ab53da7aec0e5dc0c2fcc
parentf557d6e8ed3bd1b86abb824e637e76762aa0e9dd (diff)
Move "Hamcore.h" into "include", to clarify that it's the only public header
-rwxr-xr-xCMakeLists.txt4
-rw-r--r--include/Hamcore.h (renamed from Hamcore.h)0
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5a9a3f0..4017ff2 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,7 @@ if(MSVC)
target_compile_definitions(libhamcore PRIVATE "_CRT_SECURE_NO_WARNINGS")
endif()
-target_include_directories(libhamcore PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
+target_include_directories(libhamcore PUBLIC "include")
target_sources(libhamcore
PRIVATE
@@ -31,7 +31,7 @@ target_sources(libhamcore
Memory.c
Memory.h
PUBLIC
- ${CMAKE_CURRENT_SOURCE_DIR}/Hamcore.h
+ "${CMAKE_CURRENT_SOURCE_DIR}/include/Hamcore.h"
)
find_package(ZLIB REQUIRED)
diff --git a/Hamcore.h b/include/Hamcore.h
index 7db79e9..7db79e9 100644
--- a/Hamcore.h
+++ b/include/Hamcore.h