-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCPPython.pro
More file actions
55 lines (48 loc) · 1.45 KB
/
Copy pathCPPython.pro
File metadata and controls
55 lines (48 loc) · 1.45 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#-------------------------------------------------
#
# Project created by QtCreator 2016-06-15T10:37:25
#
#-------------------------------------------------
QT += core
QT -= gui
TARGET = CPPython
CONFIG += console
CONFIG -= app_bundle
CONFIG += C++11
TEMPLATE = app
SOURCES += main.cpp
HEADERS += \
os/path.hpp \
os.hpp \
string.hpp \
util.hpp \
builtin.hpp
win32{
INCLUDEPATH += $$PWD/iconv/include
!contains(QMAKE_TARGET.arch, x86_64){
CONFIG(release, debug|release){
LIBS += -L$$PWD/iconv/lib/ -llibiconv
iconv.commands = xcopy /Y \"$$PWD\iconv\lib\libiconv.dll\" \"$$OUT_PWD\"
iconv.target = iconv
}
CONFIG(debug, debug|release){
LIBS += -L$$PWD/iconv/lib/ -llibiconvD
iconv.commands = xcopy /Y \"$$PWD\iconv\lib\libiconvD.dll\" \"$$OUT_PWD\"
iconv.target = iconv
}
}
contains(QMAKE_TARGET.arch, x86_64){
CONFIG(release, debug|release){
LIBS += -L$$PWD/iconv/lib64/ -llibiconv
iconv.commands = xcopy /Y \"$$PWD\iconv\lib64\libiconv.dll\" \"$$OUT_PWD\"
iconv.target = iconv
}
CONFIG(debug, debug|release){
LIBS += -L$$PWD/iconv/lib64/ -llibiconvD
iconv.commands = xcopy /Y \"$$PWD\iconv\lib64\libiconvD.dll\" \"$$OUT_PWD\"
iconv.target = iconv
}
}
QMAKE_EXTRA_TARGETS += iconv
PRE_TARGETDEPS += iconv
}