Skip to content

Commit

Permalink
update pro file.
Browse files Browse the repository at this point in the history
  • Loading branch information
aoym committed Feb 8, 2017
1 parent 478a59e commit 0ddca36
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions cpi.pro
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
TEMPLATE = app
TARGET = cpi
CONFIG += console c++11 debug
CONFIG += console c++11
CONFIG -= app_bundle
QT -= gui
DEPENDPATH += .
INCLUDEPATH += .

isEmpty( target.path ) {
win32 {
target.path = C:/Windows

windows {
CONFIG(debug, debug|release) {
EXEFILE = $${OUT_PWD}/debug/cpi.exe
} else {
EXEFILE = $${OUT_PWD}/release/cpi.exe
}
QMAKE_POST_LINK = windeployqt.exe \"$$EXEFILE\"
}

!windows {
isEmpty( target.path ) {
target.path = /usr/local/bin
}
INSTALLS += target
}
INSTALLS += target

# Input
SOURCES += main.cpp
Expand Down

0 comments on commit 0ddca36

Please sign in to comment.