-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLC3Sim.pro
44 lines (34 loc) · 1.07 KB
/
LC3Sim.pro
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
#-------------------------------------------------
#
# Project created by QtCreator 2015-02-13T09:27:19
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = LC3Sim
TEMPLATE = app
CONFIG += c++11
LIBS += -Wl,-E -lpython2.7
QT += widgets
DEFINES += USE_POPUP_COMPLETER
unix {
INCLUDEPATH += "/usr/include/python2.7/"
INCLUDEPATH += "pylc3/inc/" "inc/" "/usr/include/pylc3"
# SOURCES += "pylc3/src/simulator.cpp"
#LIBS += -L"$(PYTHON_PATH)/lib/python$(PYTHON_VERSION)/config" -lutil
# LIBS += -L/usr/lib/python2.7/dist-packages/
LIBS += -lpython2.7 -lutil -lboost_python -lboost_system -lpylc3
#copy over some other important files
EXTRA_BINFILES += \
pylc3.so \
lc3os.obj
for(FILE,EXTRA_BINFILES){
system(cp $${PWD}/$${FILE} $${OUT_PWD})
}
system(cp -rf $${PWD}/help $${OUT_PWD})
SOURCES += $$files(src/*.cpp)
HEADERS += $$files(inc/*.h) \
$$files(inc/*.hpp) $$files(pylc3/inc/*.h) $$files(pylc3/inc/*.hpp)
RESOURCES = qdarkstyle/style.qrc
}
FORMS += *.ui