diff options
author | Zeex <zeex@rocketmail.com> | 2013-12-15 02:00:51 +0700 |
---|---|---|
committer | Zeex <zeex@rocketmail.com> | 2013-12-15 02:00:51 +0700 |
commit | 2320184aebed4ea5a70b627afd6aaba7141436c2 (patch) | |
tree | 556ed9e542b210559ff88ee76de5636de7e5d4da | |
parent | 48e7a711aedbf25ead8f0f7c83f3ea3b997f7137 (diff) | |
download | subhook-0.1.zip subhook-0.1.tar.gz subhook-0.1.tar.bz2 |
Revert "Move sources and headers to src and include"v0.1
This reverts commit 48e7a711aedbf25ead8f0f7c83f3ea3b997f7137.
-rw-r--r-- | CMakeLists.txt | 12 | ||||
-rw-r--r-- | subhook.c (renamed from src/subhook.c) | 0 | ||||
-rw-r--r-- | subhook.h (renamed from include/subhook.h) | 0 | ||||
-rw-r--r-- | subhook_linux.c (renamed from src/subhook_linux.c) | 0 | ||||
-rw-r--r-- | subhook_private.h (renamed from src/subhook_private.h) | 0 | ||||
-rw-r--r-- | subhook_windows.c (renamed from src/subhook_windows.c) | 0 | ||||
-rw-r--r-- | subhook_x86.c (renamed from src/subhook_x86.c) | 0 |
7 files changed, 5 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cad43f7..f020baa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,8 @@ -project(subhook) - cmake_minimum_required(VERSION 2.8) +project(subhook) -set(SUBHOOK_HEADERS "include/subhook.h") -set(SUBHOOK_SOURCES "src/subhook.c" - "src/subhook_private.h") +set(SUBHOOK_HEADERS "subhook.h") +set(SUBHOOK_SOURCES "subhook.c" "subhook_private.h") add_definitions(-DSUBHOOK_IMPLEMENTATION) @@ -14,9 +12,9 @@ else() add_library(subhook SHARED ${SUBHOOK_HEADERS} ${SUBHOOK_SOURCES}) endif() -include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include") +include_directories(${CMAKE_CURRENT_SOURCE_DIR}) set_property(DIRECTORY ${CMAKE_SOURCE_DIR} APPEND PROPERTY INCLUDE_DIRECTORIES - "${CMAKE_CURRENT_SOURCE_DIR}/include") + ${CMAKE_CURRENT_SOURCE_DIR}) if(SUBHOOK_STATIC) add_definitions(-DSUBHOOK_STATIC) diff --git a/src/subhook.c b/subhook.c index 7d9ea6b..7d9ea6b 100644 --- a/src/subhook.c +++ b/subhook.c diff --git a/include/subhook.h b/subhook.h index 4e31359..4e31359 100644 --- a/include/subhook.h +++ b/subhook.h diff --git a/src/subhook_linux.c b/subhook_linux.c index 3202cf6..3202cf6 100644 --- a/src/subhook_linux.c +++ b/subhook_linux.c diff --git a/src/subhook_private.h b/subhook_private.h index c3de967..c3de967 100644 --- a/src/subhook_private.h +++ b/subhook_private.h diff --git a/src/subhook_windows.c b/subhook_windows.c index 2968188..2968188 100644 --- a/src/subhook_windows.c +++ b/subhook_windows.c diff --git a/src/subhook_x86.c b/subhook_x86.c index 4f03c7b..4f03c7b 100644 --- a/src/subhook_x86.c +++ b/subhook_x86.c |