jpseditor.pro 4.4 KB
Newer Older
Ulrich Kemloh's avatar
Ulrich Kemloh committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
 # This file is part of JuPedSim.
 #
 # JuPedSim is free software: you can redistribute it and/or modify
 # it under the terms of the GNU Lesser General Public License as published by
 # the Free Software Foundation, either version 3 of the License, or
 # any later version.
 #
 # JuPedSim is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU Lesser General Public License
 # along with JuPedSim. If not, see <http://www.gnu.org/licenses/>.
 #
16
 # copyright   <2009-2018> Forschungszentrum Juelich GmbH.
17

Ulrich Kemloh's avatar
Ulrich Kemloh committed
18 19 20 21
 # Compatibility with Qt4 and Qt5
greaterThan(QT_MAJOR_VERSION, 4):QT += widgets

TEMPLATE = app
22
TARGET = JPSeditor
Tao Zhong's avatar
Tao Zhong committed
23

24
CONFIG += qt xml gui;
25
CONFIG += c++11
Tao Zhong's avatar
Tao Zhong committed
26

27
QMAKE_CXXFLAGS += -std=c++11
28
QMAKE_CXXFLAGS += -static
29 30
#QMAKE_CXXFLAGS += -static-libgcc
#QMAKE_CXXFLAGS += -static-libstdc++
Ulrich Kemloh's avatar
Ulrich Kemloh committed
31

Tao Zhong's avatar
Tao Zhong committed
32 33 34 35
#QMAKE_CXXFLAGS_WARN_ON = -Wall -Wno-unused-parameter



Ulrich Kemloh's avatar
Ulrich Kemloh committed
36 37
FORMS += \
    forms/mainwindow.ui \
Erik Andresen's avatar
Erik Andresen committed
38
    forms/roomwidget.ui \
39
    forms/widgetlandmark.ui \
Tao Zhong's avatar
Tao Zhong committed
40
    forms/widgetsettings.ui \
Tao Zhong's avatar
Tao Zhong committed
41
    forms/inifilewidget.ui \
Tao Zhong's avatar
Tao Zhong committed
42
    forms/settingdialog.ui \
43
    forms/snappingoptions.ui \
44 45
    forms/sourcewidget.ui \
    forms/goalwidget.ui \
Ulrich Kemloh's avatar
Ulrich Kemloh committed
46 47 48


HEADERS += \
49
    src/dtrace.h \
Ulrich Kemloh's avatar
Ulrich Kemloh committed
50 51
    src/mainWindow.h \
    src/GraphicView.h \
52 53
    src/graphicscene.h \
    src/widgets/roomwidget.h \
Ulrich Kemloh's avatar
Ulrich Kemloh committed
54 55 56 57 58
    src/rooms.h \
    src/datamanager.h \
    src/jpscrossing.h \
    src/jpsLineItem.h \
    src/jpsexit.h \
59
    src/jpsobstacle.h \
Erik Andresen's avatar
Erik Andresen committed
60
    src/jpslandmark.h \
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
    src/widgets/widgetlandmark.h \
    src/widgets/widgetsettings.h \
    src/jpsconnection.h \
    src/jpsregion.h \
    src/dtrace.h \
    src/widgets/settingdialog.h \
    src/widgets/inifilewidget.h \
    src/widgets/snappingoptions.h \
        src/jpssource.h \
    src/widgets/sourcewidget.h \
    src/widgets/goalwidget.h \
    src/elementtype.h \
    src/global.h \
    src/models/jpselementlistmodel.h \
    src/models/jpssourcelistmodel.h \
    src/jpsgoal.h \
    src/models/jpsgoallistmodel.h \
    src/XML/goalreader.h \
    src/XML/sourcereader.h \
80 81 82 83 84 85 86 87 88 89
    dxflib/src/dl_writer_ascii.h \
    dxflib/src/dl_writer.h \
    dxflib/src/dl_global.h \
    dxflib/src/dl_extrusion.h \
    dxflib/src/dl_exception.h \
    dxflib/src/dl_entities.h \
    dxflib/src/dl_dxf.h \
    dxflib/src/dl_creationinterface.h \
    dxflib/src/dl_creationadapter.h \
    dxflib/src/dl_codes.h \
Erik Andresen's avatar
Erik Andresen committed
90
    dxflib/src/dl_attributes.h \
91
    src/UndoFramework/action.h \
92
    src/UndoFramework/actionstack.h \
Erik Andresen's avatar
Erik Andresen committed
93
    src/UndoFramework/lineaction.h \
94
    src/AutomaticRoomIdentification/roomID.h \
95
    src/AutomaticRoomIdentification/roomdefinition.h \
96
    src/AutomaticRoomIdentification/roomidentification.h \
Tao Zhong's avatar
Tao Zhong committed
97
    src/tinyxml/tinystr.h \
98
    src/tinyxml/tinyxml.h
Ulrich Kemloh's avatar
Ulrich Kemloh committed
99 100 101 102
SOURCES += \
    src/mainWindow.cpp \
    src/main.cpp \
    src/GraphicView.cpp \
103 104
    src/graphicscene.cpp \
    src/widgets/roomwidget.cpp \
Ulrich Kemloh's avatar
Ulrich Kemloh committed
105 106 107 108 109
    src/rooms.cpp \
    src/datamanager.cpp \
    src/jpscrossing.cpp \
    src/jpsLineItem.cpp \
    src/jpsexit.cpp \
110
    src/jpsobstacle.cpp \
Erik Andresen's avatar
Erik Andresen committed
111
    src/jpslandmark.cpp \
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
    src/widgets/widgetlandmark.cpp \
    src/widgets/widgetsettings.cpp \
    src/jpsconnection.cpp \
    src/jpsregion.cpp \
    src/widgets/settingdialog.cpp \
    src/widgets/inifilewidget.cpp \
    src/widgets/snappingoptions.cpp \
        src/jpssource.cpp \
    src/widgets/sourcewidget.cpp \
    src/jpsgoal.cpp \
    src/widgets/goalwidget.cpp \
    src/global.cpp \
    src/models/jpselementlistmodel.cpp \
    src/models/jpssourcelistmodel.cpp \
    src/models/jpsgoallistmodel.cpp \
    src/XML/goalreader.cpp \
    src/XML/sourcereader.cpp \
129
    dxflib/src/dl_writer_ascii.cpp \
Erik Andresen's avatar
Erik Andresen committed
130
    dxflib/src/dl_dxf.cpp \
131
    src/UndoFramework/action.cpp \
132
    src/UndoFramework/actionstack.cpp \
Erik Andresen's avatar
Erik Andresen committed
133
    src/UndoFramework/lineaction.cpp \
134
    src/AutomaticRoomIdentification/roomdefinition.cpp \
Tao Zhong's avatar
Tao Zhong committed
135
    src/AutomaticRoomIdentification/roomidentification.cpp \
Tao Zhong's avatar
Tao Zhong committed
136 137 138 139
    src/tinyxml/tinystr.cpp \
    src/tinyxml/tinyxml.cpp \
    src/tinyxml/tinyxmlerror.cpp \
    src/tinyxml/tinyxmlparser.cpp \
Tao Zhong's avatar
Tao Zhong committed
140
#INCLUDEPATH += D:/boost_1_59_0/boost_1_59_0
141
RESOURCES += \
142
    Resources/resources.qrc
Ulrich Kemloh's avatar
Ulrich Kemloh committed
143

Tao Zhong's avatar
Tao Zhong committed
144
RC_FILE = Resources/jpseditor.rc
Ulrich Kemloh's avatar
Ulrich Kemloh committed
145
#osx fix
Tao Zhong's avatar
Tao Zhong committed
146
ICON = Resources/jpseditor.icns
147 148
#INCLUDEPATH += $$(ROOTSYS)/include

149 150 151 152 153 154 155 156

demos.path = /usr/local/bin/jpseditor
demos.files = examples/*

INSTALLS += demos

target.path = /usr/local/bin/jpseditor
INSTALLS += target