Skip to content

Commit

Permalink
adjust qmake pri
Browse files Browse the repository at this point in the history
  • Loading branch information
setoutsoft committed Jul 5, 2018
1 parent 3e30976 commit fb45ea6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
12 changes: 6 additions & 6 deletions common.pri
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ else{
CONFIG(debug, debug|release) {
OBJECTS_DIR = $$dir/obj/debug/$$TARGET
DESTDIR = $$dir/bin
CONFIG(x64){
DESTDIR = $$DESTDIR"64"
}
CONFIG(x64){
DESTDIR = $$DESTDIR"64"
}
QMAKE_LIBDIR += $$DESTDIR
}
else {
OBJECTS_DIR = $$dir/obj/release/$$TARGET
DESTDIR = $$dir/bin
CONFIG(x64){
DESTDIR = $$DESTDIR"64"
}
CONFIG(x64){
DESTDIR = $$DESTDIR"64"
}
QMAKE_LIBDIR += $$DESTDIR
}

Expand Down
13 changes: 5 additions & 8 deletions demo_com.pri
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,15 @@ CONFIG(USING_MT){
CONFIG(debug, debug|release) {
OBJECTS_DIR = debug
DESTDIR = debug
CONFIG(x64){
DESTDIR = $$DESTDIR"64"
}
QMAKE_LIBDIR += $$DESTDIR
}
else {
OBJECTS_DIR = release
DESTDIR = release
CONFIG(x64){
DESTDIR = $$DESTDIR"64"
}
QMAKE_LIBDIR += $$DESTDIR
}

CONFIG(x64){
OBJECTS_DIR = $$OBJECTS_DIR"64"
DESTDIR = $$DESTDIR"64"
}

CONFIG(x64){
Expand Down

0 comments on commit fb45ea6

Please sign in to comment.