From bb3475e8eb379ee18f3d8f37caa8040b852a6213 Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Sat, 23 Mar 2024 01:21:46 +0100 Subject: all: rename redis -> redict symbols and comments Signed-off-by: Anna (navi) Figueiredo Gomes --- CMakeLists.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 195934f..dd385f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,11 +13,11 @@ MACRO(getVersionBit name) STRING(REGEX REPLACE ${VERSION_REGEX} "\\1" ${name} "${VERSION_BIT}") ENDMACRO(getVersionBit) -getVersionBit(HIREDIS_MAJOR) -getVersionBit(HIREDIS_MINOR) -getVersionBit(HIREDIS_PATCH) -getVersionBit(HIREDIS_SONAME) -SET(VERSION "${HIREDIS_MAJOR}.${HIREDIS_MINOR}.${HIREDIS_PATCH}") +getVersionBit(HIREDICT_MAJOR) +getVersionBit(HIREDICT_MINOR) +getVersionBit(HIREDICT_PATCH) +getVersionBit(HIREDICT_SONAME) +SET(VERSION "${HIREDICT_MAJOR}.${HIREDICT_MINOR}.${HIREDICT_PATCH}") MESSAGE("Detected version: ${VERSION}") PROJECT(hiredict LANGUAGES "C" VERSION "${VERSION}") @@ -59,7 +59,7 @@ set_target_properties(hiredict PROPERTIES EXPORT_NAME ${hiredict_export_name}) SET_TARGET_PROPERTIES(hiredict PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE - VERSION "${HIREDIS_SONAME}") + VERSION "${HIREDICT_SONAME}") IF(MSVC) SET_TARGET_PROPERTIES(hiredict PROPERTIES COMPILE_FLAGS /Z7) @@ -174,7 +174,7 @@ IF(ENABLE_SSL) SET_TARGET_PROPERTIES(hiredict_ssl PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE - VERSION "${HIREDIS_SONAME}") + VERSION "${HIREDICT_SONAME}") IF(MSVC) SET_TARGET_PROPERTIES(hiredict_ssl PROPERTIES COMPILE_FLAGS /Z7) @@ -231,11 +231,11 @@ IF(NOT DISABLE_TESTS) ADD_EXECUTABLE(hiredict-test test.c) TARGET_LINK_LIBRARIES(hiredict-test hiredict) IF(ENABLE_SSL_TESTS) - ADD_DEFINITIONS(-DHIREDIS_TEST_SSL=1) + ADD_DEFINITIONS(-DHIREDICT_TEST_SSL=1) TARGET_LINK_LIBRARIES(hiredict-test hiredict_ssl) ENDIF() IF(ENABLE_ASYNC_TESTS) - ADD_DEFINITIONS(-DHIREDIS_TEST_ASYNC=1) + ADD_DEFINITIONS(-DHIREDICT_TEST_ASYNC=1) TARGET_LINK_LIBRARIES(hiredict-test event) ENDIF() ADD_TEST(NAME hiredict-test -- cgit v1.2.3