about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--wow64/CMakeLists.txt1
-rw-r--r--wow64/wowbox64.c5
3 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cee6215a..e10e7b05 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1350,6 +1350,7 @@ if(WOW64 AND ARM_DYNAREC)
         TEST_COMMAND ""
         BUILD_ALWAYS ON
     )
+    add_dependencies(wowbox64 generate_git_head_target)
 endif()
 
 set(CPACK_GENERATOR "DEB")
diff --git a/wow64/CMakeLists.txt b/wow64/CMakeLists.txt
index 8de346d4..6221e75d 100644
--- a/wow64/CMakeLists.txt
+++ b/wow64/CMakeLists.txt
@@ -47,6 +47,7 @@ add_library(wow64_test_interpreter OBJECT ${INTERPRETER})
 set_target_properties(wow64_test_interpreter PROPERTIES COMPILE_DEFINITIONS "TEST_INTERPRETER")
 
 set(WOW64_BOX64CPU_SRC
+    "${BOX64_ROOT}/src/build_info.c"
     "${BOX64_ROOT}/src/custommem.c"
     "${BOX64_ROOT}/src/dynarec/arm64/arm64_immenc.c"
     "${BOX64_ROOT}/src/dynarec/arm64/arm64_printer.c"
diff --git a/wow64/wowbox64.c b/wow64/wowbox64.c
index a985ef69..f0d9fd4b 100644
--- a/wow64/wowbox64.c
+++ b/wow64/wowbox64.c
@@ -20,6 +20,7 @@
 #include "box64context.h"
 #include "box64cpu.h"
 #include "box64cpu_util.h"
+#include "build_info.h"
 #include "rbtree.h"
 #include "wine/compiler.h"
 #include "wine/debug.h"
@@ -207,9 +208,7 @@ STATIC_ASSERT(offsetof(x64emu_t, win64_teb) == 3120, offset_of_b_must_be_4);
 #undef STATIC_ASSERT
 
     LoadEnvVariables();
-
-    printf_log(LOG_INFO, "libwowbox64.dll process initializing.\n");
-
+    if (!BOX64ENV(nobanner)) PrintBox64Version(1);
     PrintEnvVariables(&box64env, LOG_INFO);
 
     memset(bopcode, 0xc3, sizeof(bopcode));