-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathste15-qsteboardcomputersdk.pro
116 lines (103 loc) · 3.59 KB
/
ste15-qsteboardcomputersdk.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
###########################################################################
##
## Copyright 2015 Solar Team Eindhoven. All rights reserved.
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
##
###########################################################################
TARGET = STE15-QSTEBoardComputerSDK
TEMPLATE = lib
QT += qml quick
CONFIG += qt c++11
#CONFIG += plugin
#TARGET = $$qtLibraryTarget($$TARGET)
uri = nl.solarteameindhoven.sdk
# Input
SOURCES += \
ste15-qsteboardcomputersdk_plugin.cpp \
bccontrolbar.cpp \
bccontrolbarhardwareinterface.cpp \
bcvapmanager.cpp \
bcvapdescriptor.cpp \
bclaunchermanager.cpp \
bcappmanager.cpp \
bclauncherdescriptor.cpp \
bcappdescriptor.cpp \
bcqmlcreator.cpp \
bcsettingsmanager.cpp \
bcvehicleappcontainer.cpp \
bcvehicleapp.cpp \
bcvehiclelauncher.cpp \
bccarsensor.cpp \
bccontrolbarbutton.cpp \
bccontrolbarscrollwheel.cpp
HEADERS += \
include/bccontrolbar.h \
include/BCControlBar \
include/bccontrolbarhardwareinterface.h \
include/BCControlBarHardwareInterface \
include/BCCARSensor \
include/bccarsensor.h \
include/BCControlBarButton \
include/bccontrolbarbutton.h \
include/BCControlBarScrollWheel \
include/bccontrolbarscrollwheel.h \
include/BCVehicleApp \
include/bcvehicleapp.h \
include/BCVehicleAppContainer \
include/BCVehicleLauncher \
include/bcvehicleappcontainer.h \
include/bcvehiclelauncher.h \
include/bcsdkcommon.h \
ste15-qsteboardcomputersdk_plugin.h \
include/bcvapmanager.h \
include/bcvapdescriptor.h \
include/bclaunchermanager.h \
include/bcappmanager.h \
include/BCAppManager \
include/bclauncherdescriptor.h \
include/BCLauncherDescriptor \
include/BCLauncherManager \
include/BCVAPDescriptor \
include/BCVAPManager \
include/bcappdescriptor.h \
include/BCAppDescriptor \
include/bcqmlcreator.h \
include/BCQMLCreator \
include/bcsettingsmanager.h \
include/BCSettingsManager \
DISTFILES = qmldir
STE_BUILD_PATH_PREFIX = $$relative_path($$OUT_PWD)
win32:CONFIG(release, debug|release): STE_BUILD_PATH_PREFIX = $$STE_BUILD_PATH_PREFIX/release
else:win32:CONFIG(debug, debug|release): STE_BUILD_PATH_PREFIX = $$STE_BUILD_PATH_PREFIX/debug/
LIBS += \
-L$$PWD/../STE15-QSTECANMessage/$$STE_BUILD_PATH_PREFIX -lSTE15-QSTECANMessage
INCLUDEPATH += include \
$$PWD/../STE15-QSTECANMessage/include
DEFINES += STE15QSTEBOARDCOMPUTERSDK_LIBRARY
!equals(_PRO_FILE_PWD_, $$OUT_PWD) {
copy_qmldir.target = $$OUT_PWD/qmldir
copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
QMAKE_EXTRA_TARGETS += copy_qmldir
PRE_TARGETDEPS += $$copy_qmldir.target
}
qmldir.files = qmldir
header_files.files = include/*
unix {
installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)
qmldir.path = $$installPath
target.path = /usr/lib
header_files.path = /usr/include
INSTALLS += target qmldir header_files
}