tlx
tlx/CMakeLists.txt File Reference

Functions

 set (LIBTLX_SOURCES algorithm/parallel_multiway_merge.cpp backtrace.cpp cmdline_parser.cpp die/core.cpp digest/md5.cpp digest/sha1.cpp digest/sha256.cpp digest/sha512.cpp logger/core.cpp multi_timer.cpp port/setenv.cpp string/appendline.cpp string/base64.cpp string/bitdump.cpp string/compare_icase.cpp string/contains.cpp string/contains_word.cpp string/ends_with.cpp string/equal_icase.cpp string/erase_all.cpp string/escape_html.cpp string/escape_uri.cpp string/expand_environment_variables.cpp string/extract_between.cpp string/format_si_iec_units.cpp string/hexdump.cpp string/index_of.cpp string/join.cpp string/join_quoted.cpp string/less_icase.cpp string/pad.cpp string/parse_si_iec_units.cpp string/replace.cpp string/split.cpp string/split_quoted.cpp string/split_words.cpp string/ssprintf.cpp string/starts_with.cpp string/to_lower.cpp string/to_upper.cpp string/trim.cpp string/union_words.cpp string/word_wrap.cpp thread_pool.cpp timestamp.cpp) set(TLX_EXPORTED_LIBS tlx) string(TOLOWER "tlx_$
 
TLX_LIBNAME if (TLX_LIBNAME STREQUAL "tlx_release" OR TLX_LIBNAME STREQUAL "tlx_") set(TLX_LIBNAME "tlx") endif() if(TLX_BUILD_SHARED_LIBS) add_library(tlx SHARED $
 
 set_target_properties (tlx PROPERTIES OUTPUT_NAME "${TLX_LIBNAME}" VERSION "${TLX_VERSION}" SOVERSION "${TLX_SOVERSION}") target_compile_definitions(tlx PUBLIC $
 
 target_include_directories (tlx PUBLIC $< BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/> $< INSTALL_INTERFACE:${TLX_INSTALL_INCLUDE_DIR}> ${TLX_DEPEND_INCLUDE_DIRS}) target_link_libraries(tlx $
 
 install (TARGETS tlx EXPORT tlx-targets COMPONENT Libraries ARCHIVE DESTINATION ${TLX_INSTALL_LIB_DIR} LIBRARY DESTINATION ${TLX_INSTALL_LIB_DIR}) if(TLX_BUILD_STATIC_LIBS) add_library(tlx_static STATIC $
 
 set_target_properties (tlx_static PROPERTIES OUTPUT_NAME "${TLX_LIBNAME}" VERSION "${TLX_VERSION}") target_compile_definitions(tlx_static PUBLIC $
 
 target_include_directories (tlx_static PUBLIC $< BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/> $< INSTALL_INTERFACE:${TLX_INSTALL_INCLUDE_DIR}> ${TLX_DEPEND_INCLUDE_DIRS}) target_link_libraries(tlx_static $
 
 install (TARGETS tlx_static EXPORT tlx-targets COMPONENT Development ARCHIVE DESTINATION ${TLX_INSTALL_LIB_DIR} LIBRARY DESTINATION ${TLX_INSTALL_LIB_DIR}) set(TLX_EXPORTED_LIBS tlx tlx_static) endif() else() add_library(tlx STATIC $
 
 set_target_properties (tlx PROPERTIES OUTPUT_NAME "${TLX_LIBNAME}" VERSION "${TLX_VERSION}") target_compile_definitions(tlx PUBLIC $
 

Function Documentation

◆ if()

TLX_LIBNAME if ( TLX_LIBNAME STREQUAL "tlx_release" OR TLX_LIBNAME STREQUAL "tlx_"  )

Definition at line 66 of file CMakeLists.txt.

◆ install() [1/2]

install ( TARGETS tlx EXPORT tlx-targets COMPONENT Libraries ARCHIVE DESTINATION ${TLX_INSTALL_LIB_DIR} LIBRARY DESTINATION ${TLX_INSTALL_LIB_DIR}  )

Definition at line 86 of file CMakeLists.txt.

◆ install() [2/2]

install ( TARGETS tlx_static EXPORT tlx-targets COMPONENT Development ARCHIVE DESTINATION ${TLX_INSTALL_LIB_DIR} LIBRARY DESTINATION ${TLX_INSTALL_LIB_DIR}  )

Definition at line 106 of file CMakeLists.txt.

◆ set()

set ( LIBTLX_SOURCES algorithm/parallel_multiway_merge.cpp backtrace.cpp cmdline_parser.cpp die/core.cpp digest/md5.cpp digest/sha1.cpp digest/sha256.cpp digest/sha512.cpp logger/core.cpp multi_timer.cpp port/setenv.cpp string/appendline.cpp string/base64.cpp string/bitdump.cpp string/compare_icase.cpp string/contains.cpp string/contains_word.cpp string/ends_with.cpp string/equal_icase.cpp string/erase_all.cpp string/escape_html.cpp string/escape_uri.cpp string/expand_environment_variables.cpp string/extract_between.cpp string/format_si_iec_units.cpp string/hexdump.cpp string/index_of.cpp string/join.cpp string/join_quoted.cpp string/less_icase.cpp string/pad.cpp string/parse_si_iec_units.cpp string/replace.cpp string/split.cpp string/split_quoted.cpp string/split_words.cpp string/ssprintf.cpp string/starts_with.cpp string/to_lower.cpp string/to_upper.cpp string/trim.cpp string/union_words.cpp string/word_wrap.cpp thread_pool.cpp timestamp.  cpp)

Definition at line 11 of file CMakeLists.txt.

◆ set_target_properties() [1/3]

set_target_properties ( tlx PROPERTIES OUTPUT_NAME "${TLX_LIBNAME}" VERSION "${TLX_VERSION}" SOVERSION "${TLX_SOVERSION}"  )

Definition at line 74 of file CMakeLists.txt.

◆ set_target_properties() [2/3]

set_target_properties ( tlx PROPERTIES OUTPUT_NAME "${TLX_LIBNAME}" VERSION "${TLX_VERSION}"  )

Definition at line 120 of file CMakeLists.txt.

◆ set_target_properties() [3/3]

set_target_properties ( tlx_static PROPERTIES OUTPUT_NAME "${TLX_LIBNAME}" VERSION "${TLX_VERSION}"  )

Definition at line 95 of file CMakeLists.txt.

◆ target_include_directories() [1/2]

target_include_directories ( tlx PUBLIC $< BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/> $< INSTALL_INTERFACE:${TLX_INSTALL_INCLUDE_DIR}> ${TLX_DEPEND_INCLUDE_DIRS}  )

Definition at line 80 of file CMakeLists.txt.

◆ target_include_directories() [2/2]

target_include_directories ( tlx_static PUBLIC $< BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/> $< INSTALL_INTERFACE:${TLX_INSTALL_INCLUDE_DIR}> ${TLX_DEPEND_INCLUDE_DIRS}  )

Definition at line 100 of file CMakeLists.txt.