]> Devoid-pointer.net GitWeb - libHPCS.git/commitdiff
Move source files to src/ directory
authorMichal Malý <madcatxster@devoid-pointer.net>
Thu, 11 May 2017 09:54:07 +0000 (11:54 +0200)
committerMichal Malý <madcatxster@devoid-pointer.net>
Thu, 11 May 2017 09:54:07 +0000 (11:54 +0200)
CMakeLists.txt
src/libHPCS.c [moved from libHPCS.c with 99% similarity]
src/libHPCS_p.h [moved from libHPCS_p.h with 100% similarity]
src/test_tool.c [moved from test_tool.c with 100% similarity]

index ef9d95fa98f4ab6898457d7726ec2037dda96dc7..dbf727e0a343698cd80ddd3e37f70b61da17a966 100644 (file)
@@ -26,10 +26,10 @@ else()
 endif()
 
 set(libHPCS_SRCS
-    libHPCS.c)
+    src/libHPCS.c)
 
 include_directories(
-  ${CMAKE_CURRENT_SOURCE_DIR}
+  "${CMAKE_CURRENT_SOURCE_DIR}/include"
   ${ICU_INCLUDE_DIRS})
 
 add_library(HPCS SHARED ${libHPCS_SRCS})
similarity index 99%
rename from libHPCS.c
rename to src/libHPCS.c
index bf724bc1b241a0dab3a2c29354796bd5a3f00f9b..acbc7c63ff7dc6e3cd2b1b7c29a412dcc831bd2d 100644 (file)
--- a/libHPCS.c
@@ -2,7 +2,7 @@
 extern "C" {
 #endif
 
-#include "include/libHPCS.h"
+#include <libHPCS.h>
 #include "libHPCS_p.h"
 
 #ifdef _WIN32
similarity index 100%
rename from libHPCS_p.h
rename to src/libHPCS_p.h
similarity index 100%
rename from test_tool.c
rename to src/test_tool.c