-
-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathcpi.pro
More file actions
40 lines (37 loc) · 757 Bytes
/
Copy pathcpi.pro
File metadata and controls
40 lines (37 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
TEMPLATE = app
TARGET = cpi
CONFIG += console c++20
CONFIG -= app_bundle
QT -= gui
DEPENDPATH += .
INCLUDEPATH += .
windows {
DESTDIR = $${OUT_PWD}
LIBS += -luser32
EXEFILE = $${OUT_PWD}/cpi.exe
QMAKE_POST_LINK = windeployqt.exe \"$$EXEFILE\"
} else {
isEmpty( target.path ) {
target.path = /usr/local/bin
}
INSTALLS += target
}
# Input
SOURCES += main.cpp
HEADERS += compiler.h
SOURCES += compiler.cpp
HEADERS += codegenerator.h
SOURCES += codegenerator.cpp
HEADERS += print.h
SOURCES += print.cpp
windows {
HEADERS += global.h
SOURCES += global_win.cpp
HEADERS += ptyprocess_win.h
SOURCES += ptyprocess_win.cpp
} else {
HEADERS += global.h
SOURCES += global.cpp
HEADERS += ptyprocess.h
SOURCES += ptyprocess.cpp
}