From 4766e5facf28436979f697f3febb1dfa22617765 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Thu, 11 May 2017 11:54:07 +0200 Subject: [PATCH] Move source files to src/ directory --- CMakeLists.txt | 4 ++-- libHPCS.c => src/libHPCS.c | 2 +- libHPCS_p.h => src/libHPCS_p.h | 0 test_tool.c => src/test_tool.c | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename libHPCS.c => src/libHPCS.c (99%) rename libHPCS_p.h => src/libHPCS_p.h (100%) rename test_tool.c => src/test_tool.c (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index ef9d95f..dbf727e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) diff --git a/libHPCS.c b/src/libHPCS.c similarity index 99% rename from libHPCS.c rename to src/libHPCS.c index bf724bc..acbc7c6 100644 --- a/libHPCS.c +++ b/src/libHPCS.c @@ -2,7 +2,7 @@ extern "C" { #endif -#include "include/libHPCS.h" +#include #include "libHPCS_p.h" #ifdef _WIN32 diff --git a/libHPCS_p.h b/src/libHPCS_p.h similarity index 100% rename from libHPCS_p.h rename to src/libHPCS_p.h diff --git a/test_tool.c b/src/test_tool.c similarity index 100% rename from test_tool.c rename to src/test_tool.c -- 2.43.5