mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
69d6f2e1b8
The build was previously failing with `error: unknown command: -print-file-name=libstdc++.a` because the command invocation was `zig -print-file-name=libstdc++.a` instead of `zig c++ -print-file-name=libstdc++.a` note: .cxx_compiler_arg1 = "" instead of undefined to avoid breaking existing setups without requiring to run cmake again.
35 lines
1.2 KiB
C
35 lines
1.2 KiB
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
|
|
|
|
// Used by zig0.cpp
|
|
#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 by build.zig for communicating build information to self hosted build.
|
|
#define ZIG_CLANG_LIBRARIES "@CLANG_LIBRARIES@"
|
|
#define ZIG_CMAKE_BINARY_DIR "@CMAKE_BINARY_DIR@"
|
|
#define ZIG_CMAKE_PREFIX_PATH "@ZIG_CMAKE_PREFIX_PATH@"
|
|
#define ZIG_CMAKE_STATIC_LIBRARY_PREFIX "@CMAKE_STATIC_LIBRARY_PREFIX@"
|
|
#define ZIG_CMAKE_STATIC_LIBRARY_SUFFIX "@CMAKE_STATIC_LIBRARY_SUFFIX@"
|
|
#define ZIG_CXX_COMPILER "@CMAKE_CXX_COMPILER@"
|
|
#define ZIG_CXX_COMPILER_ARG1 "@CMAKE_CXX_COMPILER_ARG1@"
|
|
#define ZIG_DIA_GUIDS_LIB "@ZIG_DIA_GUIDS_LIB_ESCAPED@"
|
|
#define ZIG_LLD_INCLUDE_PATH "@LLD_INCLUDE_DIRS@"
|
|
#define ZIG_LLD_LIBRARIES "@LLD_LIBRARIES@"
|
|
#define ZIG_LLVM_INCLUDE_PATH "@LLVM_INCLUDE_DIRS@"
|
|
#define ZIG_LLVM_LIBRARIES "@LLVM_LIBRARIES@"
|
|
#define ZIG_LLVM_LIB_PATH "@LLVM_LIBDIRS@"
|
|
#define ZIG_LLVM_LINK_MODE "@LLVM_LINK_MODE@"
|
|
#define ZIG_SYSTEM_LIBCXX "@ZIG_SYSTEM_LIBCXX@"
|
|
|
|
#endif
|