Skip to content
Permalink
Browse files

[lldb] Configure debugserver_vers.c from CMake

llvm-svn: 366932
  • Loading branch information...
weliveindetail committed Jul 24, 2019
1 parent 047a0b6 commit e8bffd3ff0289cd317d457e2562e130729c3b8d2
@@ -139,6 +139,8 @@ add_custom_command(OUTPUT ${generated_mach_interfaces}

set(DEBUGSERVER_VERS_GENERATED_FILE ${CMAKE_CURRENT_BINARY_DIR}/debugserver_vers.c)
set_source_files_properties(${DEBUGSERVER_VERS_GENERATED_FILE} PROPERTIES GENERATED 1)
configure_file(debugserver_vers.c.in
${DEBUGSERVER_VERS_GENERATED_FILE} @ONLY)

set(lldbDebugserverCommonSources
DNBArch.cpp
@@ -0,0 +1,2 @@
const unsigned char debugserverVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:LLDB PROJECT:lldb-@LLDB_VERSION_MAJOR@.@LLDB_VERSION_MINOR@.@LLDB_VERSION_PATCH@" "\n";
const double debugserverVersionNumber __attribute__ ((used)) = (double)@LLDB_VERSION_MAJOR@.@LLDB_VERSION_MINOR@;

0 comments on commit e8bffd3

Please sign in to comment.
You can’t perform that action at this time.