File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
lldb/tools/debugserver/source Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,8 @@ endif()
140
140
141
141
set (DEBUGSERVER_VERS_GENERATED_FILE ${CMAKE_CURRENT_BINARY_DIR} /debugserver_vers.c )
142
142
set_source_files_properties (${DEBUGSERVER_VERS_GENERATED_FILE} PROPERTIES GENERATED 1 )
143
+ configure_file (debugserver_vers.c.in
144
+ ${DEBUGSERVER_VERS_GENERATED_FILE} @ONLY )
143
145
144
146
set (lldbDebugserverCommonSources
145
147
DNBArch.cpp
Original file line number Diff line number Diff line change
1
+ const unsigned char debugserverVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:LLDB PROJECT:lldb-@LLDB_VERSION_MAJOR@.@LLDB_VERSION_MINOR@.@LLDB_VERSION_PATCH@" "\n";
2
+ const double debugserverVersionNumber __attribute__ ((used)) = (double)@LLDB_VERSION_MAJOR@.@LLDB_VERSION_MINOR@;
You can’t perform that action at this time.
0 commit comments