Skip to content

Commit 923f7c5

Browse files
committed
Merge branch 'Nukem9-master' of https://github.com/x64dbg/x64dbg
2 parents e4931b7 + b1c12d8 commit 923f7c5

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ echo Building DBG...
1919
msbuild.exe x64dbg.sln /m /verbosity:minimal /t:Rebuild /p:%type%
2020

2121
echo Building GUI...
22-
rmdir /S /Q src\build
22+
rmdir /S /Q src\gui_build
2323
cd src\gui
2424
qmake x64dbg.pro CONFIG+=release
2525
jom

src/gui/x64dbg.pro

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,15 @@
77
##
88
## Pre-defined global variables
99
##
10-
X64_SRC_DIR = $$PWD/../ # Main /src/<PROJECT> directory relative to this project file.
11-
# Contains dbg, exe, gui, bridge, and launcher.
1210

1311
!contains(QMAKE_HOST.arch, x86_64) {
14-
X64_BIN_DIR = $$PWD/../../bin/x32 # Relative BIN path, 32-bit
15-
X64_GEN_DIR = $$PWD/../gui_build/out32 # QMake temporary generated files, placed inside the build folder. (OBJ, UI, MOC)
16-
TARGET = x32gui # Build x32gui
12+
X64_BIN_DIR = ../../bin/x32 # Relative BIN path, 32-bit
13+
X64_GEN_DIR = ../gui_build/out32 # QMake temporary generated files, placed inside the build folder. (OBJ, UI, MOC)
14+
TARGET = x32gui # Build x32gui
1715
} else {
18-
X64_BIN_DIR = $$PWD/../../bin/x64 # Relative BIN path, 64-bit
19-
X64_GEN_DIR = $$PWD/../gui_build/out64 # QMake temporary generated files, placed inside the build folder. (OBJ, UI, MOC)
20-
TARGET = x64gui # Build x64gui
16+
X64_BIN_DIR = ../../bin/x64 # Relative BIN path, 64-bit
17+
X64_GEN_DIR = ../gui_build/out64 # QMake temporary generated files, placed inside the build folder. (OBJ, UI, MOC)
18+
TARGET = x64gui # Build x64gui
2119
}
2220

2321
##
@@ -53,7 +51,7 @@ TEMPLATE = lib
5351
## Includes
5452
##
5553
INCLUDEPATH += \
56-
$${X64_SRC_DIR} \
54+
../ \
5755
Src \
5856
Src/Gui \
5957
Src/BasicView \
@@ -254,12 +252,12 @@ LIBS += -luser32
254252

255253
!contains(QMAKE_HOST.arch, x86_64) {
256254
# Windows x86 (32bit) specific build
257-
LIBS += -L"$${X64_SRC_DIR}/dbg/capstone/" -lcapstone_x86
255+
LIBS += -L"$$PWD/../dbg/capstone/" -lcapstone_x86
258256
LIBS += -L"$$PWD/Src/ThirdPartyLibs/snowman/" -lsnowman_x86
259-
LIBS += -L"$${X64_BIN_DIR}" -lx32bridge
257+
LIBS += -L"$${X64_BIN_DIR}/" -lx32bridge
260258
} else {
261259
# Windows x64 (64bit) specific build
262-
LIBS += -L"$${X64_SRC_DIR}/dbg/capstone/" -lcapstone_x64
260+
LIBS += -L"$$PWD/../dbg/capstone/" -lcapstone_x64
263261
LIBS += -L"$$PWD/Src/ThirdPartyLibs/snowman/" -lsnowman_x64
264-
LIBS += -L"$${X64_BIN_DIR}" -lx64bridge
262+
LIBS += -L"$${X64_BIN_DIR}/" -lx64bridge
265263
}

0 commit comments

Comments
 (0)