-
Notifications
You must be signed in to change notification settings - Fork 41
Feature macros
Louis Moureaux edited this page Dec 31, 2023
·
6 revisions
This is I think the complete list of all Freeciv feature macros used thorough the source code.
Last updated on 31.12.2023
#elif defined(ENABLE_NLS) && defined(HAVE_STRCASECOLL)
#elif defined(ENABLE_NLS) && defined(HAVE_STRICOLL)
#ifdef FREECIV_HAVE_BZ2
#ifdef FREECIV_HAVE_LIBINTL_H
#ifdef FREECIV_HAVE_LZMA
#ifdef FREECIV_HAVE_ZSTD
#ifdef HAVE_AT_QUICK_EXIT
#ifdef HAVE_MAPIMG_MAGICKWAND
#ifdef HAVE_STRING_H
#ifdef HAVE_STRINGS_H
#ifdef HAVE_SUPPRESS_APPEND
#if defined(ENABLE_NLS) && defined(HAVE__STRICOLL)
Extracted with:
find ai client common server tools utility \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -exec grep -E '#(el)?if.+HAVE_' '{}' \; | sort | uniq
And we define:
#cmakedefine BUG_URL "${BUG_URL}"
#cmakedefine AI_MOD_STATIC_TEX
#cmakedefine01 IS_DEVEL_VERSION
#cmakedefine AUDIO_SDL
#cmakedefine ALWAYS_ROOT
#cmakedefine HAVE_AT_QUICK_EXIT
#cmakedefine HAVE_BZLIB_H
#cmakedefine HAVE_DLFCN_H
#cmakedefine HAVE_EXECINFO_H
#cmakedefine HAVE_LIBCHARSET_H
#cmakedefine HAVE_MEMORY_H
#cmakedefine HAVE_STRINGS_H
#cmakedefine HAVE_STRING_H
#cmakedefine HAVE_SYS_FILE_H
#cmakedefine HAVE_SYS_SIGNAL_H
#cmakedefine HAVE_SYS_STAT_H
#cmakedefine HAVE_SYS_TERMIO_H
#cmakedefine HAVE_SYS_UTSNAME_H
#cmakedefine HAVE_SYS_WAIT_H
#cmakedefine HAVE_TERMIOS_H
#cmakedefine HAVE_LIBINTL_H
#cmakedefine HAVE_BACKTRACE
#cmakedefine HAVE_STRCASECOLL
#cmakedefine HAVE_STRCASESTR
#cmakedefine HAVE_STRICOLL
#cmakedefine HAVE__SETJMP
#cmakedefine HAVE__STRCOLL
#cmakedefine HAVE__STRICOLL
#cmakedefine ENABLE_NLS
#cmakedefine CUSTOM_CACERT_PATH
#cmakedefine FREECIV_HAVE_BZ2
#cmakedefine FREECIV_HAVE_LZMA
#cmakedefine FREECIV_HAVE_ZSTD
#cmakedefine FREECIV_AI_MOD_LAST ${FREECIV_AI_MOD_LAST}
#cmakedefine FREECIV_C11_STATIC_ASSERT
#cmakedefine FREECIV_STATIC_STRLEN
#cmakedefine FREECIV_CXX11_STATIC_ASSERT
#cmakedefine FREECIV_TESTMATIC
#cmakedefine FREECIV_META_URL "${FREECIV_META_URL}"
#cmakedefine FREECIV_ENABLE_NLS
#cmakedefine FREECIV_HAVE_LIBINTL_H
#cmakedefine FREECIV_MSWINDOWS 1
Extracted with:
grep cmakedefine utility/cmake_fc_config.h.in