This relands the original commit for the versioning script in LLDB. This commit uses '>' for output from `unifdef` for platforms that have that executable but do not have the `-o` option. It also fixes the Xcode build by adding a dependency between the liblldb-header-staging target in the source/API/CMakeLists.txt the `liblldb-resource-headers` target in LLDBFramework.cmake. Original patch: https://github.com/llvm/llvm-project/pull/141116
8 lines
275 B
C
8 lines
275 B
C
// This is a truncated version of lldb-defines.h used to test the script
|
|
// that fixes up its versioning info.
|
|
|
|
// The script needs to uncomment these lines and populate the info for versioning.
|
|
// #define LLDB_VERSION
|
|
// #define LLDB_REVISION
|
|
// #define LLDB_VERSION_STRING
|