Now it is Dynamic unless -DZIG_STATIC=on is passed to cmake. This partially addresses #6469.
27 lines
824 B
C
27 lines
824 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@"
|
|
|
|
// Used for communicating build information to self hosted build.
|
|
#define ZIG_CMAKE_BINARY_DIR "@CMAKE_BINARY_DIR@"
|
|
#define ZIG_CXX_COMPILER "@CMAKE_CXX_COMPILER@"
|
|
#define ZIG_LLD_INCLUDE_PATH "@LLD_INCLUDE_DIRS@"
|
|
#define ZIG_LLD_LIBRARIES "@LLD_LIBRARIES@"
|
|
#define ZIG_CLANG_LIBRARIES "@CLANG_LIBRARIES@"
|
|
#define ZIG_LLVM_CONFIG_EXE "@LLVM_CONFIG_EXE@"
|
|
#define ZIG_DIA_GUIDS_LIB "@ZIG_DIA_GUIDS_LIB_ESCAPED@"
|
|
#define ZIG_LINK_MODE "@ZIG_LINK_MODE@"
|
|
|
|
#endif
|