mirror of
https://github.com/ziglang/zig.git
synced 2026-01-05 04:53:17 +00:00
32 lines
971 B
C
32 lines
971 B
C
/*
|
|
* Copyright (c) 2016 Andrew Kelley
|
|
*
|
|
* This file is part of zig, which is MIT licensed.
|
|
* See http://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#ifndef ZIG_CONFIG_H
|
|
#define ZIG_CONFIG_H
|
|
|
|
#define ZIG_VERSION_MAJOR @ZIG_VERSION_MAJOR@
|
|
#define ZIG_VERSION_MINOR @ZIG_VERSION_MINOR@
|
|
#define ZIG_VERSION_PATCH @ZIG_VERSION_PATCH@
|
|
#define ZIG_VERSION_STRING "@ZIG_VERSION@"
|
|
|
|
#define ZIG_HEADERS_DIR "@CMAKE_INSTALL_PREFIX@/@C_HEADERS_DEST@"
|
|
#define ZIG_STD_DIR "@CMAKE_INSTALL_PREFIX@/@ZIG_STD_DEST@"
|
|
#define ZIG_LIBC_INCLUDE_DIR "@ZIG_LIBC_INCLUDE_DIR@"
|
|
#define ZIG_LIBC_LIB_DIR "@ZIG_LIBC_LIB_DIR@"
|
|
#define ZIG_LIBC_STATIC_LIB_DIR "@ZIG_LIBC_STATIC_LIB_DIR@"
|
|
#define ZIG_LD_PATH "@ZIG_LD_PATH@"
|
|
#define ZIG_AR_PATH "@ZIG_AR_PATH@"
|
|
#define ZIG_DYNAMIC_LINKER "@ZIG_DYNAMIC_LINKER@"
|
|
#define ZIG_HOST_LINK_VERSION "@ZIG_HOST_LINK_VERSION@"
|
|
|
|
#cmakedefine ZIG_LLVM_OLD_CXX_ABI
|
|
|
|
// Only used for running tests before installing.
|
|
#define ZIG_TEST_DIR "@CMAKE_SOURCE_DIR@/test"
|
|
|
|
#endif
|