summaryrefslogtreecommitdiff
path: root/cmake/muxsources.cmake
diff options
context:
space:
mode:
authorRoberto C. Sanchez <roberto@connexer.com>2014-05-12 08:21:30 -0400
committerRoberto C. Sanchez <roberto@connexer.com>2014-05-12 08:21:30 -0400
commit7a00574163029c0c2b649878c95d5acbd083564a (patch)
treec13cc5736025834df2874ed87ee8598070025ea6 /cmake/muxsources.cmake
parentb745315323de9f27538edac9453205ca70e6186e (diff)
Imported Upstream version 1.7.2+dfsg
Diffstat (limited to 'cmake/muxsources.cmake')
-rw-r--r--cmake/muxsources.cmake29
1 files changed, 15 insertions, 14 deletions
diff --git a/cmake/muxsources.cmake b/cmake/muxsources.cmake
index 423dd2c..cf60af6 100644
--- a/cmake/muxsources.cmake
+++ b/cmake/muxsources.cmake
@@ -10,73 +10,74 @@ SET(sword_SOURCES ${sword_base_SOURCES})
# a ZLIB at all, and allowing a user to disable it does not bring about use
# of some internal fall-back but just leaves the ability to read ZLIB files
# out of the library altogether
+MESSAGE(STATUS "\n-- CONFIGURING SOURCE LIST")
IF(SWORD_NO_ZLIB STREQUAL "Yes")
- MESSAGE(STATUS "ZLib support excluded")
+ MESSAGE(STATUS "ZLib: excluded by use option")
ADD_DEFINITIONS(-DEXCLUDEZLIB)
SET(WITH_ZLIB 0)
ELSE(SWORD_NO_ZLIB STREQUAL "Yes")
SET(sword_SOURCES ${sword_SOURCES} ${sword_zlib_used_SOURCES})
IF(NOT ZLIB_FOUND OR SWORD_USE_INTERNAL_ZLIB STREQUAL "Yes")
- MESSAGE(STATUS "No system ZLib found or user forcing internal")
+ MESSAGE(STATUS "ZLib: internal")
SET(sword_SOURCES ${sword_SOURCES} ${sword_zlib_nofound_SOURCES})
SET(WITH_INTERNAL_ZLIB 1)
ELSE(NOT ZLIB_FOUND OR SWORD_USE_INTERNAL_ZLIB STREQUAL "Yes")
- MESSAGE(STATUS "Using system ZLib: ${ZLIB_LIBRARY}")
+ MESSAGE(STATUS "ZLib: system ${ZLIB_LIBRARY}")
SET(WITH_ZLIB 1)
ENDIF(NOT ZLIB_FOUND OR SWORD_USE_INTERNAL_ZLIB STREQUAL "Yes")
ENDIF(SWORD_NO_ZLIB STREQUAL "Yes")
-# Check for if we've found ICU
+# Check for if we've found cURL
IF(CURL_FOUND AND NOT SWORD_NO_CURL STREQUAL "Yes")
- MESSAGE(STATUS "cURL found , using ${CURL_LIBRARY} and ${CURL_INCLUDE_DIRS}")
+ MESSAGE(STATUS "cURL: system ${CURL_LIBRARY} and ${CURL_INCLUDE_DIRS}")
ADD_DEFINITIONS(-DCURLAVAILABLE)
SET(sword_SOURCES ${sword_SOURCES} ${sword_curl_found_SOURCES})
SET(WITH_CURL 1)
ELSE(CURL_FOUND AND NOT SWORD_NO_CURL STREQUAL "Yes")
- MESSAGE(STATUS "cURL not found or being ignored")
+ MESSAGE(STATUS "cURL: no")
SET(sword_SOURCES ${sword_SOURCES} ${sword_curl_nofound_SOURCES})
SET(WITH_CURL 0)
ENDIF(CURL_FOUND AND NOT SWORD_NO_CURL STREQUAL "Yes")
# And for CLucene
IF(CLucene_FOUND AND NOT SWORD_NO_CLUCENE STREQUAL "Yes")
- MESSAGE(STATUS "CLucene found, using ${CLUCENE_LIBRARY} in ${CLUCENE_LIBRARY_DIR} and ${CLUCENE_INCLUDE_DIR}")
+ MESSAGE(STATUS "CLucene: yes ${CLUCENE_LIBRARY} in ${CLUCENE_LIBRARY_DIR} and ${CLUCENE_INCLUDE_DIR}")
SET(sword_SOURCES ${sword_SOURCES} ${sword_clucene_found_SOURCES})
SET(WITH_CLUCENE 1)
ELSE(CLucene_FOUND AND NOT SWORD_NO_CLUCENE STREQUAL "Yes")
- MESSAGE(STATUS "CLucene not found or being ignored")
+ MESSAGE(STATUS "CLucene: no")
SET(sword_SOURCES ${sword_SOURCES} ${sword_clucene_nofound_SOURCES})
SET(WITH_CLUCENE 0)
ENDIF(CLucene_FOUND AND NOT SWORD_NO_CLUCENE STREQUAL "Yes")
# Alert the user if PkgConfig is unavailalbe
IF(NOT PKG_CONFIG_FOUND)
- MESSAGE(STATUS "PkgConfig not found on the system. Proceeding without it.")
+ MESSAGE(STATUS "PkgConfig: no")
SET(WITH_PKG_CONFIG 1)
ELSE(NOT PKG_CONFIG_FOUND)
- MESSAGE(STATUS "PkgConfig found. Using.")
+ MESSAGE(STATUS "PkgConfig: yes")
SET(WITH_PKG_CONFIG 0)
ENDIF(NOT PKG_CONFIG_FOUND)
# ICU needs some lovin' too
IF(ICU_FOUND AND NOT SWORD_NO_ICU STREQUAL "No")
- MESSAGE(STATUS "ICU Found, using ${ICU_LIBRARY} and ${ICU_INCLUDE_DIRS}")
+ MESSAGE(STATUS "ICU: yes ${ICU_LIBRARY} and ${ICU_INCLUDE_DIRS}")
ADD_DEFINITIONS(-D_ICU_)
SET(sword_SOURCES ${sword_SOURCES} ${sword_icu_found_SOURCES})
SET(WITH_ICU 1)
ELSE(ICU_FOUND AND NOT SWORD_NO_ICU STREQUAL "No")
- MESSAGE(STATUS "ICU not found or ignored.")
+ MESSAGE(STATUS "ICU: no")
SET(WITH_ICU 0)
ENDIF(ICU_FOUND AND NOT SWORD_NO_ICU STREQUAL "No")
# Internal or external regex.h
IF(REGEX_FOUND)
- MESSAGE(STATUS "System Regex found: ${REGEX_INCLUDE_DIR}")
+ MESSAGE(STATUS "Regex.h: system ${REGEX_INCLUDE_DIR}")
INCLUDE_DIRECTORIES(${REGEX_INCLUDE_DIR})
SET(sword_SOURCES ${sword_SOURCES} ${sword_external_regex_SOURCES})
SET(WITH_REGEX 1)
ELSE(REGEX_FOUND)
- MESSAGE(STATUS "Using internal regex")
+ MESSAGE(STATUS "Regex.h: internal")
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include/internal/regex)
SET(sword_SOURCES ${sword_SOURCES} ${sword_internal_regex_SOURCES})
SET(WITH_REGEX 0)