cmake_minimum_required (VERSION 3.5) project (oddlot) SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/../../../cmake;${CMAKE_MODULE_PATH}") IF(WIN32) SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/../../../cmake/windows;${CMAKE_MODULE_PATH}") ENDIF() if (NOT COVISE_BUILDING_COVISE) find_package(COVISE) covise_find_package(XERCESC REQUIRED) covise_find_package(TIFF) covise_find_package(ZLIB) covise_find_package(JPEG) INCLUDE(CoviseHelperMacros) INCLUDE(Qt5-6) find_qt() #FIND_PACKAGE(QT) #SET(QT_USE_QTXML 1) #SET(QT_USE_QTUITOOLS 1) #SET(QT_USE_QTNETWORK 1) #INCLUDE(${QT_USE_FILE}) endif() covise_find_package(PROJ4) using(XercesC) using(TIFF) using(JPEG) using(PROJ4) USING(BOOST) using(OpenScenario) USING(OpenCRG) using(EIGEN) if (POLICY CMP0048) cmake_policy(SET CMP0048 NEW) endif() PROJECT(oddlot C CXX) #INCLUDE_DIRECTORIES(${XERCESC_INCLUDE_DIR}) #SET(EXTRA_LIBS ${EXTRA_LIBS} ${XERCESC_LIBRARIES}) #INCLUDE_DIRECTORIES(${TIFF_INCLUDE_DIR}) #INCLUDE_DIRECTORIES(${PROJ4_INCLUDE_DIR}) #SET(EXTRA_LIBS ${EXTRA_LIBS} ${PROJ4_LIBRARIES}) #INCLUDE_DIRECTORIES($ENV{COVISEDIR}/src/tools/oddlot) ADD_DEFINITIONS( -D_USE_MATH_DEFINES) ADD_DEFINITIONS( -DUSE_MIDMOUSE_PAN) #SET(EXTRA_LIBS ${EXTRA_LIBS} ${TIFF_LIBRARIES} ${JPEG_LIBRARIES} ${ZLIB_LIBRARIES}) SET(ODDLOT_HEADERS src/graph/items/handles/lanemovehandle.hpp ) SET(ODDLOT_SOURCES src/main.cpp src/mainwindow.cpp src/data/roadsystem/odrID.cpp src/data/roadsystem/track/trackcomponent.cpp src/data/roadsystem/track/trackelement.cpp src/data/roadsystem/track/trackcomposite.cpp src/data/roadsystem/track/trackelementline.cpp src/gui/projectwidget.cpp src/gui/filesettings.cpp src/gui/osmimport.cpp src/gui/projectionsettings.cpp src/gui/importsettings.cpp src/gui/exportsettings.cpp src/gui/lodsettings.cpp src/gui/apisettings.cpp src/data/projectdata.cpp src/data/roadsystem/roadsystem.cpp src/data/roadsystem/rsystemelement.cpp src/data/roadsystem/rsystemelementroad.cpp src/data/roadsystem/rsystemelementfiddleyard.cpp src/data/roadsystem/rsystemelementpedfiddleyard.cpp src/data/roadsystem/rsystemelementjunction.cpp src/data/roadsystem/rsystemelementcontroller.cpp src/io/domparser.cpp src/graph/heightgraph.cpp src/graph/projectgraph.cpp src/graph/graphscene.cpp src/graph/graphview.cpp src/data/acceptor.cpp src/data/visitor.cpp src/data/roadsystem/track/trackelementarc.cpp src/data/roadsystem/track/trackelementspiral.cpp src/data/roadsystem/sections/lanesection.cpp src/data/roadsystem/sections/lane.cpp src/data/roadsystem/sections/lanewidth.cpp src/data/roadsystem/sections/laneoffset.cpp src/util/math/polynomial.cpp src/data/roadsystem/sections/laneroadmark.cpp src/data/roadsystem/sections/lanespeed.cpp src/data/roadsystem/sections/laneheight.cpp src/data/roadsystem/sections/objectobject.cpp src/data/roadsystem/sections/crosswalkobject.cpp src/data/roadsystem/sections/signalobject.cpp src/data/roadsystem/sections/bridgeobject.cpp src/data/roadsystem/sections/tunnelobject.cpp src/data/roadsystem/sections/sensorobject.cpp src/util/odd.cpp src/util/droparea.cpp src/io/domwriter.cpp src/graph/editors/roadlinkeditor.cpp src/graph/editors/trackeditor.cpp src/data/observer.cpp src/data/subject.cpp src/data/changemanager.cpp src/data/roadsystem/sections/typesection.cpp src/data/roadsystem/sections/surfacesection.cpp src/graph/editors/roadtypeeditor.cpp src/data/commands/typesectioncommands.cpp src/graph/visitors/roadmarkvisitor.cpp src/sample.cpp src/data/roadsystem/sections/roadsection.cpp src/data/commands/roadsectioncommands.cpp src/data/roadsystem/sections/elevationsection.cpp src/data/roadsystem/sections/superelevationsection.cpp src/data/roadsystem/sections/crossfallsection.cpp src/data/dataelement.cpp src/data/commands/dataelementcommands.cpp src/graph/items/graphelement.cpp src/graph/items/svgelement.cpp src/graph/items/basegraphelement.cpp src/gui/tools/toolmanager.cpp src/gui/tools/editortool.cpp src/gui/tools/zoomtool.cpp src/gui/tools/selectiontool.cpp src/gui/tools/toolaction.cpp src/gui/tools/typeeditortool.cpp src/gui/tools/toolwidget.cpp src/gui/tools/trackeditortool.cpp src/util/colorpalette.cpp src/data/roadsystem/track/trackspiralarcspiral.cpp src/data/visitors/sparcsmergevisitor.cpp src/data/commands/trackcommands.cpp src/data/visitors/trackmovevalidator.cpp src/graph/items/handles/linkhandle.cpp src/gui/mouseaction.cpp src/gui/keyaction.cpp src/graph/editors/projecteditor.cpp src/data/prototypemanager.cpp src/data/commands/roadcommands.cpp src/graph/items/handles/handle.cpp src/graph/items/handles/movehandle.cpp src/graph/items/handles/rotatehandle.cpp src/data/vehiclesystem/vehiclesystem.cpp src/data/vehiclesystem/roadvehicle.cpp src/data/vehiclesystem/vehiclegroup.cpp src/data/vehiclesystem/carpool.cpp src/data/vehiclesystem/pool.cpp src/data/vehiclesystem/poolvehicle.cpp src/data/pedestriansystem/pedestriansystem.cpp src/data/pedestriansystem/pedestriangroup.cpp src/data/pedestriansystem/pedestrian.cpp src/graph/items/view/ruler.cpp src/data/visitors/splineexportvisitor.cpp src/gui/tools/maptool.cpp src/data/scenerysystem/scenerymap.cpp src/data/scenerysystem/scenerysystem.cpp src/data/commands/scenerycommands.cpp src/graph/items/scenerysystem/scenerysystemitem.cpp src/graph/items/scenerysystem/scenerymapitem.cpp src/graph/editors/elevationeditor.cpp src/graph/items/roadsystem/sections/sectionitem.cpp src/graph/items/roadsystem/sections/sectionhandle.cpp src/graph/items/roadsystem/roadsystemitem.cpp src/graph/items/roadsystem/roaditem.cpp src/gui/tools/elevationeditortool.cpp src/data/commands/elevationsectioncommands.cpp src/graph/items/roadsystem/elevation/elevationsectionpolynomialitem.cpp src/graph/items/roadsystem/elevation/elevationsectionitem.cpp src/graph/items/roadsystem/elevation/elevationroadpolynomialitem.cpp src/graph/items/roadsystem/elevation/elevationroaditem.cpp src/graph/items/roadsystem/elevation/elevationmovehandle.cpp src/graph/items/roadsystem/elevation/elevationroadsystemitem.cpp src/graph/items/roadsystem/roadtype/typesectionitem.cpp src/graph/items/roadsystem/roadtype/roadtyperoadsystemitem.cpp src/graph/items/roadsystem/roadtype/roadtyperoaditem.cpp src/graph/items/roadsystem/track/tracksparcsitem.cpp src/graph/items/roadsystem/track/trackrotatehandle.cpp src/graph/items/roadsystem/track/trackmovehandle.cpp src/graph/items/roadsystem/track/trackelementitem.cpp src/graph/items/roadsystem/track/trackcomponentitem.cpp src/graph/items/roadsystem/track/trackaddhandle.cpp src/graph/items/roadsystem/track/trackroaditem.cpp src/graph/items/roadsystem/track/trackroadsystemitem.cpp src/graph/items/roadsystem/track/roadmovehandle.cpp src/graph/items/roadsystem/track/roadrotatehandle.cpp src/data/commands/roadsystemcommands.cpp src/graph/items/handles/circularrotatehandle.cpp src/data/visitors/idchangevisitor.cpp src/gui/tools/crossfalleditortool.cpp src/gui/tools/superelevationeditortool.cpp src/graph/editors/crossfalleditor.cpp src/graph/items/roadsystem/crossfall/crossfallroadsystemitem.cpp src/graph/items/roadsystem/crossfall/crossfallroaditem.cpp src/graph/items/roadsystem/crossfall/crossfallsectionitem.cpp src/graph/items/roadsystem/crossfall/crossfallmovehandle.cpp src/data/commands/crossfallsectioncommands.cpp src/graph/items/roadsystem/crossfall/crossfallroadpolynomialitem.cpp src/graph/items/roadsystem/crossfall/crossfallsectionpolynomialitem.cpp src/graph/items/roadsystem/superelevation/superelevationroadsystemitem.cpp src/graph/items/roadsystem/superelevation/superelevationsectionitem.cpp src/graph/items/roadsystem/superelevation/superelevationroaditem.cpp src/graph/items/roadsystem/superelevation/superelevationmovehandle.cpp src/graph/items/roadsystem/superelevation/superelevationroadpolynomialitem.cpp src/graph/items/roadsystem/superelevation/superelevationsectionpolynomialitem.cpp src/data/commands/superelevationsectioncommands.cpp src/graph/editors/superelevationeditor.cpp src/data/commands/projectdatacommands.cpp src/data/commands/datacommand.cpp src/tree/projecttree.cpp src/tree/items/projecttreeitem.cpp src/tree/items/roadsystemtreeitem.cpp src/tree/items/roadtreeitem.cpp src/tree/items/scenerysystemtreeitem.cpp src/tree/items/scenerymaptreeitem.cpp src/wizards/elevationwizard.cpp src/wizards/superelevationwizard.cpp src/wizards/wizardmanager.cpp src/tree/projecttreewidget.cpp src/tree/signaltreewidget.cpp src/data/scenerysystem/heightmap.cpp src/settings/projectsettings.cpp src/tree/items/typesectiontreeitem.cpp src/tree/items/sectiontreeitem.cpp src/tree/items/elevationsectiontreeitem.cpp src/tree/items/superelevationtreeitem.cpp src/tree/items/lanesectiontreeitem.cpp src/tree/items/crossfalltreeitem.cpp src/tree/items/objecttreeitem.cpp src/tree/items/bridgetreeitem.cpp src/tree/items/crosswalktreeitem.cpp src/tree/items/signaltreeitem.cpp src/tree/items/sensortreeitem.cpp src/settings/projectsettingsvisitor.cpp src/graph/editors/laneeditor.cpp src/graph/items/roadsystem/lanes/laneroadsystemitem.cpp src/graph/items/roadsystem/lanes/laneroaditem.cpp src/graph/items/roadsystem/lanes/lanesectionitem.cpp src/graph/items/roadsystem/lanes/laneitem.cpp src/gui/tools/laneeditortool.cpp src/settings/settingselement.cpp src/settings/widgets/elevationsettings.cpp src/settings/widgets/scenerymapsettings.cpp src/graph/items/scenerysystem/heightmapitem.cpp src/data/roadsystem/track/trackelementpoly3.cpp src/settings/widgets/projectdatasettings.cpp src/graph/items/handles/sliderhandle.cpp src/graph/items/roadsystem/track/tracksparcshandle.cpp src/tree/items/trackcomponenttreeitem.cpp src/settings/widgets/trackcomponentsettings.cpp src/graph/items/roadsystem/track/trackcompositeitem.cpp src/graph/items/handles/slidermovehandle.cpp src/tree/items/lanetreeitem.cpp src/tree/items/laneroadmarktreeitem.cpp src/tree/items/lanewidthtreeitem.cpp src/tree/items/lanespeedtreeitem.cpp src/data/commands/lanesectioncommands.cpp src/settings/widgets/laneroadmarksettings.cpp src/gui/tools/roadlinkeditortool.cpp src/graph/items/roadsystem/roadlink/roadlinkroadsystemitem.cpp src/graph/items/roadsystem/roadlink/roadlinkroaditem.cpp src/settings/widgets/roadsettings.cpp src/data/roadsystem/roadlink.cpp src/wizards/flatjunctionswizard.cpp src/data/roadsystem/junctionconnection.cpp src/tree/items/junctiontreeitem.cpp src/tree/items/connectiontreeitem.cpp src/settings/widgets/junctionsettings.cpp src/settings/widgets/signalsettings.cpp src/settings/widgets/objectsettings.cpp src/settings/widgets/bridgesettings.cpp src/settings/widgets/tunnelsettings.cpp src/tree/items/vehiclesystem/vehiclesystemtreeitem.cpp src/tree/items/vehiclesystem/vehiclegrouptreeitem.cpp src/tree/items/vehiclesystem/roadvehicletreeitem.cpp src/tree/items/pedestriansystem/pedestriansystemtreeitem.cpp src/tree/items/pedestriansystem/pedestriangrouptreeitem.cpp src/tree/items/pedestriansystem/pedestriantreeitem.cpp src/data/scenerysystem/scenerytesselation.cpp src/graph/items/roadsystem/roadlink/roadlinkhandle.cpp src/graph/items/roadsystem/roadlink/roadlinkitem.cpp src/graph/items/roadsystem/roadlink/roadlinksinkhandle.cpp src/data/visitors/boundingboxvisitor.cpp src/graph/items/roadsystem/roadlink/roadlinksinkitem.cpp src/graph/items/handles/circularhandle.cpp src/graph/items/roadsystem/roadmark/roadmarklanesectionitem.cpp src/graph/items/roadsystem/roadmark/roadmarklaneitem.cpp src/graph/items/roadsystem/roadmark/roadmarkitem.cpp src/settings/widgets/lanesettings.cpp src/graph/items/handles/texthandle.cpp src/graph/items/handles/editablehandle.cpp src/graph/items/roadsystem/roadtextitem.cpp src/graph/items/roadsystem/junctionitem.cpp src/wizards/roadlinkwizard.cpp src/wizards/circlewizard.cpp src/graph/items/roadsystem/lanes/lanelinkitem.cpp src/graph/topviewgraph.cpp src/graph/profilegraph.cpp src/graph/profilegraphscene.cpp src/graph/profilegraphview.cpp src/settings/widgets/typesectionsettings.cpp src/settings/widgets/typesectionsettingsUI.cpp src/util/roadtypecombobox.cpp src/data/commands/junctioncommands.cpp src/graph/editors/junctioneditor.cpp src/gui/tools/junctioneditortool.cpp src/graph/items/roadsystem/junction/junctionroadsystemitem.cpp src/graph/items/roadsystem/junction/junctionmovehandle.cpp src/graph/items/roadsystem/junction/junctionroaditem.cpp src/graph/items/roadsystem/junction/junctionaddhandle.cpp src/graph/items/roadsystem/junction/junctioncomponentitem.cpp src/graph/items/roadsystem/junction/junctioncompositeitem.cpp src/graph/items/roadsystem/junction/junctionelementitem.cpp src/graph/items/roadsystem/junction/junctionsparcshandle.cpp src/graph/items/roadsystem/junction/junctionsparcsitem.cpp src/graph/items/roadsystem/junction/junctionlaneroaditem.cpp src/graph/items/roadsystem/junction/junctionlanesectionitem.cpp src/graph/items/roadsystem/junction/junctionlaneitem.cpp src/graph/items/roadsystem/junction/junctionlanewidthmovehandle.cpp src/graph/items/roadsystem/signal/signalsectionpolynomialitems.cpp src/graph/items/roadsystem/signal/signalpoleitem.cpp src/graph/editors/signaleditor.cpp src/graph/items/roadsystem/signal/signalroadsystemitem.cpp src/graph/items/roadsystem/signal/signalroaditem.cpp src/graph/items/roadsystem/signal/signalitem.cpp src/graph/items/roadsystem/signal/objectitem.cpp src/graph/items/roadsystem/signal/bridgeitem.cpp src/graph/items/roadsystem/signal/signalhandle.cpp src/graph/items/roadsystem/signal/signaltextitem.cpp src/graph/items/roadsystem/signal/objecttextitem.cpp src/graph/items/roadsystem/signal/bridgetextitem.cpp src/gui/tools/signaleditortool.cpp src/data/commands/signalcommands.cpp src/data/signalmanager.cpp src/data/signalmanager.hpp src/data/tilesystem/tile.cpp src/data/tilesystem/tilesystem.cpp src/tree/items/tilesystemtreeitem.cpp src/tree/items/tiletreeitem.cpp src/data/commands/tilecommands.cpp src/data/commands/controllercommands.cpp src/tree/items/controllertreeitem.cpp src/settings/widgets/controllersettings.cpp src/graph/items/roadsystem/controlleritem.cpp src/io/oscparser.cpp src/gui/tools/osceditortool.cpp src/graph/editors/osceditor.cpp src/tree/catalogtreewidget.cpp src/tree/catalogwidget.cpp src/data/commands/osccommands.cpp src/settings/widgets/oscobjectsettings.cpp src/settings/widgets/oscobjectsettingsstack.cpp src/data/oscsystem/oscelement.cpp src/data/oscsystem/oscbase.cpp src/graph/items/roadsystem/scenario/oscbridgeitem.cpp src/graph/items/roadsystem/scenario/oscsignalitem.cpp src/graph/items/roadsystem/scenario/oscobjectitem.cpp src/graph/items/roadsystem/scenario/oscroaditem.cpp src/graph/items/roadsystem/scenario/oscroadsystemitem.cpp src/graph/items/oscsystem/oscbaseitem.cpp src/graph/items/oscsystem/oscbaseshapeitem.cpp src/graph/items/oscsystem/oscitem.cpp src/graph/items/oscsystem/oscshapeitem.cpp src/graph/items/oscsystem/osctextitem.cpp src/graph/graphviewitems/graphviewshapeitem.cpp src/gui/oscsettings.cpp src/data/georeference.cpp src/data/roadsystem/track/trackelementcubiccurve.cpp src/data/roadsystem/sections/shapesection.cpp src/data/roadsystem/rsystemelementjunctiongroup.cpp src/data/roadsystem/sections/laneborder.cpp src/data/roadsystem/sections/lanerule.cpp src/data/roadsystem/sections/laneaccess.cpp src/data/roadsystem/sections/parkingspaceobject.cpp src/data/roadsystem/sections/objectreference.cpp src/data/roadsystem/sections/signalreference.cpp src/graph/editors/shapeeditor.cpp src/gui/tools/shapeeditortool.cpp src/graph/items/roadsystem/shape/shaperoaditem.cpp src/graph/items/roadsystem/shape/shaperoadsystemitem.cpp src/graph/items/roadsystem/shape/shapesectionitem.cpp src/graph/items/roadsystem/shape/shapesectionpolynomialitem.cpp src/graph/items/roadsystem/shape/shapesectionpolynomialitems.cpp src/tree/items/shapetreeitem.cpp src/data/commands/shapesectioncommands.cpp src/data/commands/shapelateralsectioncommands.cpp src/graph/items/handles/splinemovehandle.cpp src/data/roadsystem/lateralsections/lateralsection.cpp src/data/roadsystem/lateralsections/polynomiallateralsection.cpp src/graph/items/roadsystem/sections/lateralsectionitem.cpp src/data/commands/lateralsectioncommands.cpp src/graph/items/handles/baselanemovehandle.cpp src/gui/parameters/tool.cpp src/gui/parameters/toolparameter.cpp src/gui/parameters/toolparametersettings.cpp src/gui/parameters/parameterdockwidget.cpp src/util/popupdialog.cpp ) SET(ODDLOT_MOC_HEADERS src/data/changemanager.hpp src/data/projectdata.hpp src/data/prototypemanager.hpp src/data/signalmanager.hpp src/data/tilesystem/tile.hpp src/graph/editors/crossfalleditor.hpp src/graph/editors/elevationeditor.hpp src/graph/editors/junctioneditor.hpp src/graph/editors/laneeditor.hpp src/graph/editors/osceditor.hpp src/graph/editors/projecteditor.hpp src/graph/editors/roadlinkeditor.hpp src/graph/editors/roadtypeeditor.hpp src/graph/editors/shapeeditor.hpp src/graph/editors/signaleditor.hpp src/graph/editors/superelevationeditor.hpp src/graph/editors/trackeditor.hpp src/graph/graphscene.hpp src/graph/graphview.hpp src/graph/graphviewitems/graphviewshapeitem.hpp src/graph/heightgraph.hpp src/graph/items/graphelement.hpp src/graph/items/svgelement.hpp src/graph/items/handles/handle.hpp src/graph/items/handles/sliderhandle.hpp src/graph/items/handles/slidermovehandle.hpp src/graph/items/handles/splinemovehandle.hpp src/graph/items/handles/texthandle.hpp src/graph/items/handles/editablehandle.hpp src/graph/items/oscsystem/oscbaseitem.hpp src/graph/items/oscsystem/oscitem.hpp src/graph/items/oscsystem/oscshapeitem.hpp src/graph/items/oscsystem/osctextitem.hpp src/graph/items/roadsystem/controlleritem.hpp src/graph/items/roadsystem/crossfall/crossfallmovehandle.hpp src/graph/items/roadsystem/crossfall/crossfallsectionitem.hpp src/graph/items/roadsystem/crossfall/crossfallsectionpolynomialitem.hpp src/graph/items/roadsystem/elevation/elevationmovehandle.hpp src/graph/items/roadsystem/elevation/elevationsectionitem.hpp src/graph/items/roadsystem/elevation/elevationsectionpolynomialitem.hpp src/graph/items/roadsystem/junction/junctioncomponentitem.hpp src/graph/items/roadsystem/junction/junctioncompositeitem.hpp src/graph/items/roadsystem/junction/junctionelementitem.hpp src/graph/items/roadsystem/junction/junctionlaneitem.hpp src/graph/items/roadsystem/junction/junctionlanesectionitem.hpp src/graph/items/roadsystem/junction/junctionlanewidthmovehandle.hpp src/graph/items/roadsystem/junction/junctionsparcshandle.hpp src/graph/items/roadsystem/junctionitem.hpp src/graph/items/roadsystem/lanes/laneitem.hpp src/graph/items/roadsystem/lanes/lanelinkitem.hpp src/graph/items/roadsystem/lanes/lanesectionitem.hpp src/graph/items/roadsystem/roaditem.hpp src/graph/items/roadsystem/roadlink/roadlinkitem.hpp src/graph/items/roadsystem/roadlink/roadlinkroaditem.hpp src/graph/items/roadsystem/roadlink/roadlinksinkitem.hpp src/graph/items/roadsystem/roadmark/roadmarklanesectionitem.hpp src/graph/items/roadsystem/roadtextitem.hpp src/graph/items/roadsystem/roadtype/typesectionitem.hpp src/graph/items/roadsystem/scenario/oscbridgeitem.hpp src/graph/items/roadsystem/scenario/oscobjectitem.hpp src/graph/items/roadsystem/scenario/oscroaditem.hpp src/graph/items/roadsystem/scenario/oscsignalitem.hpp src/graph/items/roadsystem/sections/lateralsectionitem.hpp src/graph/items/roadsystem/sections/sectionitem.hpp src/graph/items/roadsystem/shape/shapesectionitem.hpp src/graph/items/roadsystem/shape/shapesectionpolynomialitem.hpp src/graph/items/roadsystem/signal/signalsectionpolynomialitems.hpp src/graph/items/roadsystem/signal/bridgeitem.hpp src/graph/items/roadsystem/signal/bridgetextitem.hpp src/graph/items/roadsystem/signal/objectitem.hpp src/graph/items/roadsystem/signal/objecttextitem.hpp src/graph/items/roadsystem/signal/signalitem.hpp src/graph/items/roadsystem/signal/signalroaditem.hpp src/graph/items/roadsystem/signal/signaltextitem.hpp src/graph/items/roadsystem/superelevation/superelevationmovehandle.hpp src/graph/items/roadsystem/superelevation/superelevationsectionitem.hpp src/graph/items/roadsystem/superelevation/superelevationsectionpolynomialitem.hpp src/graph/items/roadsystem/track/trackcomponentitem.hpp src/graph/items/roadsystem/track/trackcompositeitem.hpp src/graph/items/roadsystem/track/trackelementitem.hpp src/graph/items/roadsystem/track/tracksparcshandle.hpp src/graph/items/scenerysystem/heightmapitem.hpp src/graph/items/scenerysystem/scenerymapitem.hpp src/graph/profilegraph.hpp src/graph/profilegraphscene.hpp src/graph/profilegraphview.hpp src/graph/projectgraph.hpp src/graph/topviewgraph.hpp src/graph/items/handles/baselanemovehandle.hpp src/gui/exportsettings.hpp src/gui/importsettings.hpp src/gui/apisettings.hpp src/gui/lodsettings.hpp src/gui/oscsettings.hpp src/gui/osmimport.hpp src/gui/parameters/toolparametersettings.hpp src/gui/projectionsettings.hpp src/gui/projectwidget.hpp src/gui/filesettings.hpp src/gui/tools/crossfalleditortool.hpp src/gui/tools/elevationeditortool.hpp src/gui/tools/junctioneditortool.hpp src/gui/tools/laneeditortool.hpp src/gui/tools/maptool.hpp src/gui/tools/osceditortool.hpp src/gui/tools/roadlinkeditortool.hpp src/gui/tools/selectiontool.hpp src/gui/tools/shapeeditortool.hpp src/gui/tools/signaleditortool.hpp src/gui/tools/superelevationeditortool.hpp src/gui/tools/editortool.hpp src/gui/tools/toolmanager.hpp src/gui/tools/toolwidget.hpp src/gui/tools/trackeditortool.hpp src/gui/tools/typeeditortool.hpp src/gui/tools/zoomtool.hpp src/io/domparser.hpp src/io/oscparser.hpp src/mainwindow.hpp src/sample.hpp src/settings/projectsettings.hpp src/settings/settingselement.hpp src/settings/widgets/bridgesettings.hpp src/settings/widgets/controllersettings.hpp src/settings/widgets/elevationsettings.hpp src/settings/widgets/junctionsettings.hpp src/settings/widgets/laneroadmarksettings.hpp src/settings/widgets/lanesettings.hpp src/settings/widgets/objectsettings.hpp src/settings/widgets/oscobjectsettings.hpp src/settings/widgets/oscobjectsettingsstack.hpp src/settings/widgets/projectdatasettings.hpp src/settings/widgets/roadsettings.hpp src/settings/widgets/scenerymapsettings.hpp src/settings/widgets/signalsettings.hpp src/settings/widgets/trackcomponentsettings.hpp src/settings/widgets/tunnelsettings.hpp src/settings/widgets/typesectionsettings.hpp src/tree/catalogtreewidget.hpp src/tree/catalogwidget.hpp src/tree/items/bridgetreeitem.hpp src/tree/items/connectiontreeitem.hpp src/tree/items/controllertreeitem.hpp src/tree/items/crossfalltreeitem.hpp src/tree/items/crosswalktreeitem.hpp src/tree/items/elevationsectiontreeitem.hpp src/tree/items/junctiontreeitem.hpp src/tree/items/laneroadmarktreeitem.hpp src/tree/items/lanesectiontreeitem.hpp src/tree/items/lanespeedtreeitem.hpp src/tree/items/lanetreeitem.hpp src/tree/items/lanewidthtreeitem.hpp src/tree/items/objecttreeitem.hpp src/tree/items/pedestriansystem/pedestriangrouptreeitem.hpp src/tree/items/pedestriansystem/pedestriansystemtreeitem.hpp src/tree/items/pedestriansystem/pedestriantreeitem.hpp src/tree/items/projecttreeitem.hpp src/tree/items/roadsystemtreeitem.hpp src/tree/items/roadtreeitem.hpp src/tree/items/scenerymaptreeitem.hpp src/tree/items/scenerysystemtreeitem.hpp src/tree/items/sectiontreeitem.hpp src/tree/items/sensortreeitem.hpp src/tree/items/shapetreeitem.hpp src/tree/items/signaltreeitem.hpp src/tree/items/superelevationtreeitem.hpp src/tree/items/tilesystemtreeitem.hpp src/tree/items/tiletreeitem.hpp src/tree/items/trackcomponenttreeitem.hpp src/tree/items/typesectiontreeitem.hpp src/tree/items/vehiclesystem/roadvehicletreeitem.hpp src/tree/items/vehiclesystem/vehiclegrouptreeitem.hpp src/tree/items/vehiclesystem/vehiclesystemtreeitem.hpp src/tree/projecttree.hpp src/tree/projecttreewidget.hpp src/tree/signaltreewidget.hpp src/util/droparea.hpp src/wizards/circlewizard.hpp src/wizards/elevationwizard.hpp src/wizards/flatjunctionswizard.hpp src/wizards/roadlinkwizard.hpp src/wizards/superelevationwizard.hpp src/wizards/wizardmanager.hpp src/util/popupdialog.hpp ) SET(ODDLOT_FORMS src/mainwindow.ui src/wizards/circlewizard.ui src/wizards/elevationwizard.ui src/wizards/superelevationwizard.ui src/settings/widgets/elevationsettings.ui src/settings/widgets/scenerymapsettings.ui src/settings/widgets/projectdatasettings.ui src/settings/widgets/trackcomponentsettings.ui src/settings/widgets/laneroadmarksettings.ui src/settings/widgets/roadsettings.ui src/gui/osmimport.ui src/gui/importsettings.ui src/gui/exportsettings.ui src/gui/projectionsettings.ui src/cover/coverconnection.ui src/gui/filesettings.ui src/gui/apisettings.ui src/gui/lodsettings.ui src/gui/tools/TrackRibbon.ui src/gui/tools/TypeRibbon.ui src/gui/tools/RoadLinkRibbon.ui src/gui/tools/ElevationRibbon.ui src/gui/tools/SuperelevationRibbon.ui src/gui/tools/CrossfallRibbon.ui src/gui/tools/LaneRibbon.ui src/gui/tools/JunctionRibbon.ui src/gui/tools/SignalRibbon.ui src/gui/tools/OSCRibbon.ui src/wizards/flatjunctionswizard.ui src/settings/widgets/junctionsettings.ui src/settings/widgets/signalsettings.ui src/settings/widgets/objectsettings.ui src/settings/widgets/bridgesettings.ui src/settings/widgets/tunnelsettings.ui src/settings/widgets/lanesettings.ui src/wizards/roadlinkwizard.ui src/settings/widgets/controllersettings.ui src/settings/widgets/oscobjectsettings.ui src/tree/errorMessageTree.ui src/gui/oscsettings.ui src/gui/tools/ShapeRibbon.ui ) SET(ODDLOT_RESOURCES style/style.qrc icons/tools/tools.qrc ../../share/covise/signs/icons/signalIcons.qrc ../../share/covise/icons/svg/svgIcons.qrc ) SET(ODDLOT_OTHER_FILES prototypes/prototypes.odd prototypes/TJunctionTown.odd ) IF(NOT COVISE_BUILD_ONLY_ODDLOT) ADD_DEFINITIONS(-DCOVER_CONNECTION) SET(ODDLOT_SOURCES ${ODDLOT_SOURCES} src/cover/coverconnection.cpp ) SET(ODDLOT_MOC_HEADERS ${ODDLOT_MOC_HEADERS} src/cover/coverconnection.hpp ) INCLUDE_DIRECTORIES("../OpenCOVER") INCLUDE_DIRECTORIES("../OpenCOVER/plugins/hlrs") INCLUDE_DIRECTORIES("../OpenCOVER/plugins/hlrs/OddlotLink") SET(EXTRA_LIBS ${EXTRA_LIBS} coNet coUtil coConfig) ENDIF(NOT COVISE_BUILD_ONLY_ODDLOT) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR} ${OPENCRG_INCLUDE_DIR} ${EIGEN_INCLUDE_DIR}) QT_WRAP_CPP(ODDLOT_MOC_SRCS ${ODDLOT_MOC_HEADERS}) QT_WRAP_UI(ODDLOT_UI_HEADERS ${ODDLOT_FORMS}) QT_ADD_RESOURCES(ODDLOT_MOC_SRCS ${ODDLOT_RESOURCES}) add_covise_executable (oddlot ${ODDLOT_SOURCES} ${ODDLOT_HEADERS} ${ODDLOT_MOC_HEADERS} ${ODDLOT_MOC_SRCS} ${ODDLOT_UI_HEADERS} ${ODDLOT_UI_SRCS}) qt_use_modules(oddlot Core Widgets Gui Network Xml Svg SvgWidgets) TARGET_LINK_LIBRARIES(oddlot ${EXTRA_LIBS} ${OPENCRG_LIBRARIES} ) # ignore deprecation of QSignalMapper for now if(CMAKE_COMPILER_IS_GNUCXX) add_covise_compile_flags(oddlot "-Wno-error=deprecated-declarations") elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_covise_compile_flags(oddlot "-Wno-error=deprecated-declarations") endif() source_group("testit" FILES src/cover/coverconnection.cpp coverconnection.cpp .*cover.*) covise_install_target(oddlot)