]> Devoid-pointer.net GitWeb - libHPCS.git/commitdiff
Use consistent upper-case naming for all source and include files
authorMichal Malý <madcatxster@devoid-pointer.net>
Thu, 11 May 2017 09:50:45 +0000 (11:50 +0200)
committerMichal Malý <madcatxster@devoid-pointer.net>
Thu, 11 May 2017 09:50:45 +0000 (11:50 +0200)
CMakeLists.txt
include/libHPCS.h [moved from include/libhpcs.h with 100% similarity]
libHPCS.c [moved from libhpcs.c with 99% similarity]
libHPCS_p.h [moved from libhpcs_p.h with 100% similarity]

index 6cbbf524c3e08b41239f9036a33cb841fda14971..ef9d95fa98f4ab6898457d7726ec2037dda96dc7 100644 (file)
@@ -26,7 +26,7 @@ else()
 endif()
 
 set(libHPCS_SRCS
-    libhpcs.c)
+    libHPCS.c)
 
 include_directories(
   ${CMAKE_CURRENT_SOURCE_DIR}
@@ -37,7 +37,7 @@ target_link_libraries(HPCS PRIVATE ${ICU_LIBRARIES})
 set_target_properties(HPCS
                      PROPERTIES VERSION 5.0
                      SOVERSION 5.0
-                     PUBLIC_HEADER "${PROJECT_SOURCE_DIR}/include/libhpcs.h")
+                     PUBLIC_HEADER "${PROJECT_SOURCE_DIR}/include/libHPCS.h")
 install(TARGETS HPCS
        LIBRARY DESTINATION lib
        PUBLIC_HEADER DESTINATION include)
similarity index 100%
rename from include/libhpcs.h
rename to include/libHPCS.h
similarity index 99%
rename from libhpcs.c
rename to libHPCS.c
index 881fcddddb0f49812f4dda77ca5e8b641c66b342..bf724bc1b241a0dab3a2c29354796bd5a3f00f9b 100644 (file)
--- a/libhpcs.c
+++ b/libHPCS.c
@@ -2,8 +2,8 @@
 extern "C" {
 #endif
 
-#include "include/libhpcs.h"
-#include "libhpcs_p.h"
+#include "include/libHPCS.h"
+#include "libHPCS_p.h"
 
 #ifdef _WIN32
 #include <sdkddkver.h>
similarity index 100%
rename from libhpcs_p.h
rename to libHPCS_p.h