Update to Qt 5, requires cmake 2.8.9. New placer: Etesian.
Update to Qt 5:
* Change: Now requires at least cmake 2.8.9.
* Change: CMakeLists.txt needs small changes. Qt modules must be found
one by one (Core, Gui, Widgets). Must add "set(CMAKE_AUTOMOC ON)"
in the top file and replace "qt4" prefix in macros by "qt5".
Added simpler macro "setup_qt()" in FindBootstrap.cmake.
* Change: No longer need to include <QGtkStyle> is is choosen by default
according to the current desktop environment.
* Change: In <hurricane>, In HApplication, launch ExceptionWidget when
a std::exception is catched instead of silently discarting it.
New placer Tool: Etesian
* New: <etesian> analytical placer. Encapsulate Coloquinte from
Gabriel Gouvine.
* New: in <documentation>, add stub demonstration ToolEngine <smurf>.
Needs to be commented.
Miscellaneous:
* New: in <boostrap> and <unicorn>, added support for Etesian, the new
analytic placer. The tool itself will be added in the next commit.
* Bug: in <CellWidget>, when shifting the display buffer, we no longer
can copy the buffer on itself (we should never have). Now go through
a temporary one (PlaneId::AutoCopy) which is added to the
DrawingPlanes. Affect "goLeft()" and "goUp()".
* Bug: In <CellWidget>, remove the WA_PaintOnScreen flag/attribute.
When it's on, no PaintEvent is transmitted to the CellWidget
when it's the central widget of the <CellViewer> (QMainWindow).
It's something I still don't understand from the doc of Qt.
* Change: In <AreaCommand>, use the PlaneId enumeration instead of a
anonymous numerical index.
* Change: In <HApplication>, no longer catch and silently discard
standartd exceptions but launch the ExceptionWidget...
Suppress the now deprecated constructor with "Type" argument.
* Change: In <SelectionModel>, the "reset()" method is deprecated in
Qt5, instead enclose the "clear()" by a "beginResetModel()" and
"endResetModel()" pair.
* New: In <crlcore>, add support for ISPD05 benchmarks (in Bookshelf
format). Forked from ISPD04 and not finished yet.
* Change: In <Mauka>, distinguish the Action string identifier from
<Etesian>
* New: In <unicorn>, add entry for ISPD05 loader. Add entry for
<Etesian> analytic placer.
2014-03-22 05:50:36 -05:00
|
|
|
# -*- explicit-buffer-name: "CMakeLists.txt<etesian/src>" -*-
|
|
|
|
|
|
|
|
# include ( ${QT_USE_FILE} )
|
|
|
|
|
|
|
|
include_directories ( ${ETESIAN_SOURCE_DIR}/src
|
|
|
|
${COLOQUINTE_INCLUDE_DIR}
|
|
|
|
${EIGEN3_INCLUDE_DIR}
|
|
|
|
${CORIOLIS_INCLUDE_DIR}
|
|
|
|
${HURRICANE_INCLUDE_DIR}
|
|
|
|
${CONFIGURATION_INCLUDE_DIR}
|
|
|
|
${QtX_INCLUDE_DIRS}
|
|
|
|
${Boost_INCLUDE_DIRS}
|
|
|
|
${PYTHON_INCLUDE_PATH}
|
|
|
|
)
|
|
|
|
set ( includes #etesian/Constants.h
|
|
|
|
#etesian/TrackCost.h
|
|
|
|
#etesian/DataNegociate.h
|
|
|
|
#etesian/TrackElement.h etesian/TrackElements.h
|
|
|
|
#etesian/TrackSegment.h
|
|
|
|
#etesian/TrackFixedSegment.h
|
|
|
|
#etesian/TrackMarker.h
|
|
|
|
#etesian/Track.h
|
|
|
|
#etesian/Tracks.h
|
|
|
|
#etesian/HorizontalTrack.h
|
|
|
|
#etesian/VerticalTrack.h
|
|
|
|
#etesian/RoutingPlane.h
|
|
|
|
#etesian/Session.h
|
|
|
|
#etesian/Manipulator.h
|
|
|
|
#etesian/SegmentFsm.h
|
|
|
|
#etesian/RoutingEvent.h
|
|
|
|
#etesian/RoutingEventQueue.h
|
|
|
|
#etesian/RoutingEventHistory.h
|
|
|
|
#etesian/RoutingEventLoop.h
|
|
|
|
#etesian/NegociateWindow.h
|
|
|
|
etesian/Configuration.h
|
|
|
|
etesian/EtesianEngine.h
|
|
|
|
etesian/GraphicEtesianEngine.h
|
|
|
|
)
|
|
|
|
set ( pyIncludes etesian/PyEtesianEngine.h
|
|
|
|
etesian/PyGraphicEtesianEngine.h
|
|
|
|
)
|
|
|
|
set ( mocIncludes etesian/GraphicEtesianEngine.h )
|
|
|
|
set ( cpps #TrackCost.cpp
|
|
|
|
#DataNegociate.cpp
|
|
|
|
#TrackElement.cpp
|
|
|
|
#TrackElements.cpp
|
|
|
|
#TrackSegment.cpp
|
|
|
|
#TrackFixedSegment.cpp
|
|
|
|
#TrackMarker.cpp
|
|
|
|
#Track.cpp
|
|
|
|
#Tracks.cpp
|
|
|
|
#HorizontalTrack.cpp
|
|
|
|
#VerticalTrack.cpp
|
|
|
|
#RoutingPlane.cpp
|
|
|
|
#Session.cpp
|
|
|
|
#Manipulator.cpp
|
|
|
|
#SegmentFsm.cpp
|
|
|
|
#RoutingEvent.cpp
|
|
|
|
#RoutingEventQueue.cpp
|
|
|
|
#RoutingEventHistory.cpp
|
|
|
|
#RoutingEventLoop.cpp
|
|
|
|
#NegociateWindow.cpp
|
|
|
|
#BuildPowerRails.cpp
|
|
|
|
#ProtectRoutingPads.cpp
|
|
|
|
#PreProcess.cpp
|
|
|
|
Configuration.cpp
|
|
|
|
EtesianEngine.cpp
|
|
|
|
GraphicEtesianEngine.cpp
|
|
|
|
)
|
|
|
|
set ( pyCpps PyEtesian.cpp
|
|
|
|
PyEtesianEngine.cpp
|
|
|
|
PyGraphicEtesianEngine.cpp
|
|
|
|
)
|
|
|
|
# set ( etesiancpps EtesianMain.cpp )
|
2014-07-22 04:06:26 -05:00
|
|
|
qtX_wrap_cpp ( mocCpps ${mocIncludes} )
|
Update to Qt 5, requires cmake 2.8.9. New placer: Etesian.
Update to Qt 5:
* Change: Now requires at least cmake 2.8.9.
* Change: CMakeLists.txt needs small changes. Qt modules must be found
one by one (Core, Gui, Widgets). Must add "set(CMAKE_AUTOMOC ON)"
in the top file and replace "qt4" prefix in macros by "qt5".
Added simpler macro "setup_qt()" in FindBootstrap.cmake.
* Change: No longer need to include <QGtkStyle> is is choosen by default
according to the current desktop environment.
* Change: In <hurricane>, In HApplication, launch ExceptionWidget when
a std::exception is catched instead of silently discarting it.
New placer Tool: Etesian
* New: <etesian> analytical placer. Encapsulate Coloquinte from
Gabriel Gouvine.
* New: in <documentation>, add stub demonstration ToolEngine <smurf>.
Needs to be commented.
Miscellaneous:
* New: in <boostrap> and <unicorn>, added support for Etesian, the new
analytic placer. The tool itself will be added in the next commit.
* Bug: in <CellWidget>, when shifting the display buffer, we no longer
can copy the buffer on itself (we should never have). Now go through
a temporary one (PlaneId::AutoCopy) which is added to the
DrawingPlanes. Affect "goLeft()" and "goUp()".
* Bug: In <CellWidget>, remove the WA_PaintOnScreen flag/attribute.
When it's on, no PaintEvent is transmitted to the CellWidget
when it's the central widget of the <CellViewer> (QMainWindow).
It's something I still don't understand from the doc of Qt.
* Change: In <AreaCommand>, use the PlaneId enumeration instead of a
anonymous numerical index.
* Change: In <HApplication>, no longer catch and silently discard
standartd exceptions but launch the ExceptionWidget...
Suppress the now deprecated constructor with "Type" argument.
* Change: In <SelectionModel>, the "reset()" method is deprecated in
Qt5, instead enclose the "clear()" by a "beginResetModel()" and
"endResetModel()" pair.
* New: In <crlcore>, add support for ISPD05 benchmarks (in Bookshelf
format). Forked from ISPD04 and not finished yet.
* Change: In <Mauka>, distinguish the Action string identifier from
<Etesian>
* New: In <unicorn>, add entry for ISPD05 loader. Add entry for
<Etesian> analytic placer.
2014-03-22 05:50:36 -05:00
|
|
|
|
|
|
|
add_library ( etesian ${cpps} ${mocCpps} ${pyCpps} )
|
|
|
|
set_target_properties ( etesian PROPERTIES VERSION 1.0 SOVERSION 1 )
|
|
|
|
target_link_libraries ( etesian ${CORIOLIS_LIBRARIES}
|
|
|
|
${HURRICANE_PYTHON_LIBRARIES}
|
|
|
|
${HURRICANE_GRAPHICAL_LIBRARIES}
|
|
|
|
${HURRICANE_LIBRARIES}
|
|
|
|
${CONFIGURATION_LIBRARY}
|
|
|
|
${BOOKSHELF_LIBRARY}
|
|
|
|
${CIF_LIBRARY}
|
|
|
|
${AGDS_LIBRARY}
|
2014-06-09 17:11:42 -05:00
|
|
|
${UTILITIES_LIBRARY}
|
Update to Qt 5, requires cmake 2.8.9. New placer: Etesian.
Update to Qt 5:
* Change: Now requires at least cmake 2.8.9.
* Change: CMakeLists.txt needs small changes. Qt modules must be found
one by one (Core, Gui, Widgets). Must add "set(CMAKE_AUTOMOC ON)"
in the top file and replace "qt4" prefix in macros by "qt5".
Added simpler macro "setup_qt()" in FindBootstrap.cmake.
* Change: No longer need to include <QGtkStyle> is is choosen by default
according to the current desktop environment.
* Change: In <hurricane>, In HApplication, launch ExceptionWidget when
a std::exception is catched instead of silently discarting it.
New placer Tool: Etesian
* New: <etesian> analytical placer. Encapsulate Coloquinte from
Gabriel Gouvine.
* New: in <documentation>, add stub demonstration ToolEngine <smurf>.
Needs to be commented.
Miscellaneous:
* New: in <boostrap> and <unicorn>, added support for Etesian, the new
analytic placer. The tool itself will be added in the next commit.
* Bug: in <CellWidget>, when shifting the display buffer, we no longer
can copy the buffer on itself (we should never have). Now go through
a temporary one (PlaneId::AutoCopy) which is added to the
DrawingPlanes. Affect "goLeft()" and "goUp()".
* Bug: In <CellWidget>, remove the WA_PaintOnScreen flag/attribute.
When it's on, no PaintEvent is transmitted to the CellWidget
when it's the central widget of the <CellViewer> (QMainWindow).
It's something I still don't understand from the doc of Qt.
* Change: In <AreaCommand>, use the PlaneId enumeration instead of a
anonymous numerical index.
* Change: In <HApplication>, no longer catch and silently discard
standartd exceptions but launch the ExceptionWidget...
Suppress the now deprecated constructor with "Type" argument.
* Change: In <SelectionModel>, the "reset()" method is deprecated in
Qt5, instead enclose the "clear()" by a "beginResetModel()" and
"endResetModel()" pair.
* New: In <crlcore>, add support for ISPD05 benchmarks (in Bookshelf
format). Forked from ISPD04 and not finished yet.
* Change: In <Mauka>, distinguish the Action string identifier from
<Etesian>
* New: In <unicorn>, add entry for ISPD05 loader. Add entry for
<Etesian> analytic placer.
2014-03-22 05:50:36 -05:00
|
|
|
${LEFDEF_LIBRARIES}
|
|
|
|
${COLOQUINTE_LIBRARIES}
|
|
|
|
${OA_LIBRARIES}
|
|
|
|
${QtX_LIBRARIES}
|
|
|
|
${Boost_LIBRARIES}
|
|
|
|
${LIBXML2_LIBRARIES}
|
|
|
|
${PYTHON_LIBRARIES} -lutil
|
|
|
|
${LIBEXECINFO_LIBRARIES}
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library ( pyEtesian MODULE ${pyCpps} )
|
|
|
|
set_target_properties ( pyEtesian PROPERTIES COMPILE_FLAGS "${COMPILE_FLAGS} -D__PYTHON_MODULE__=1"
|
|
|
|
PREFIX ""
|
|
|
|
OUTPUT_NAME "Etesian"
|
|
|
|
)
|
|
|
|
|
|
|
|
# add_executable ( etesian.bin ${etesiancpps} )
|
|
|
|
#target_link_libraries ( etesian.bin etesian )
|
|
|
|
target_link_libraries ( pyEtesian etesian
|
|
|
|
${CORIOLIS_PYTHON_LIBRARIES}
|
|
|
|
)
|
|
|
|
install ( TARGETS etesian DESTINATION lib${LIB_SUFFIX} )
|
|
|
|
# install ( TARGETS etesian.bin DESTINATION bin )
|
|
|
|
install ( TARGETS pyEtesian DESTINATION ${PYTHON_SITE_PACKAGES} )
|
|
|
|
|
|
|
|
install ( FILES ${includes}
|
|
|
|
${mocIncludes}
|
|
|
|
${pyIncludes} DESTINATION include/coriolis2/etesian )
|
|
|
|
|