Menu

InternalVariables

Brad Lanam

Wiki Home

Internal Variables

System Type (boolean)

The system type may be used to check for major differences between system types.

  • MKC_SYS_AIX
  • MKC_SYS_ANDROID
  • MKC_SYS_BSD
  • MKC_SYS_IOS
  • MKC_SYS_LINUX
  • MKC_SYS_MACOS
  • MKC_SYS_SOLARIS
  • MKC_SYS_UNKNOWN (not determined)
  • MKC_SYS_WINDOWS
System Identification (boolean)
  • Linux Variants
    • MKC_SYS_ID_ALPINE
    • MKC_SYS_ID_ARCH
    • MKC_SYS_ID_AZURE
    • MKC_SYS_ID_DEBIAN
    • MKC_SYS_ID_FEDORA
    • MKC_SYS_ID_GENTOO
    • MKC_SYS_ID_NIXOS
    • MKC_SYS_ID_SLACKWARE
    • MKC_SYS_ID_SUSE
    • MKC_SYS_ID_WRLINUX
  • Windows Variants
    • MKC_SYS_ID_CYGWIN (not supported at this time)
    • MKC_SYS_ID_MSYS2
  • BSD Flavors
    • MKC_SYS_ID_DRAGONFLYBSD
    • MKC_SYS_ID_FREEBSD
    • MKC_SYS_ID_NETBSD
    • MKC_SYS_ID_OPENBSD
  • MKC_SYS_ID_NOTSET (not determined)
  • MKC_SYS_ID_SOLARIS
Linux: Library Prefix (boolean)

If true, the Linux system uses /usr/lib64. If false, the Linux system uses /usr/lib.

  • MKC_LIB_LOC_LIB64

Subject to change.

Compilers (string)

The compiler to use. These are set to defaults as shown below, and are replaced with the enviroment variable of the same name.

Name Default
BISON bison
CC cc
CXX c++
FLEX flex
OBJC cc
Compiler Identification (boolean)

The compiler identification.

  • MKC_COMP_ID_CLANG
  • MKC_COMP_ID_GCC
  • MKC_COMP_ID_ICC
  • MKC_COMP_ID_MSC
  • MKC_COMP_ID_SOLARIS
  • MKC_COMP_ID_UNKNOWN (not determined)
  • MKC_COMP_ID_XLC
Other
Name Type Notes
MKC_EXECUTABLE_EXTENSION string
MKC_I_VARIADIC_MACRO boolean internal
MKC_OBJECT_EXTENSION string
MKC_PATH list from the environment
MKC_PATH_PKGCONF string path to pkgconf
MKC_PATH_PKG_CONFIG string path to pkg-config
MKC_PROFILE_NAME string
MKC_PROJECT_NAME string
MKC_SHARED_LIBRARY_EXTENSION string
MKC_TV_ string any variable with this prefix is temporary

Wiki Home


Related

Wiki: Home