2010-06-08 07:09:50 -05:00
|
|
|
|
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
|
|
|
# include ( ${QT_USE_FILE} )
|
2010-06-08 07:09:50 -05:00
|
|
|
|
|
|
|
include_directories ( ${MAUKA_SOURCE_DIR}/src
|
|
|
|
${CORIOLIS_INCLUDE_DIR}
|
2010-06-18 09:14:54 -05:00
|
|
|
${HURRICANE_INCLUDE_DIR}
|
|
|
|
${CONFIGURATION_INCLUDE_DIR}
|
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
|
|
|
${QtX_INCLUDE_DIRS}
|
2010-07-21 07:38:33 -05:00
|
|
|
${Boost_INCLUDE_DIRS}
|
2010-07-12 10:19:31 -05:00
|
|
|
${PYTHON_INCLUDE_PATH}
|
2010-06-08 07:09:50 -05:00
|
|
|
)
|
|
|
|
set ( includes mauka/Configuration.h
|
2010-06-25 03:50:50 -05:00
|
|
|
mauka/FeedCells.h
|
2010-06-08 07:09:50 -05:00
|
|
|
mauka/BBPlacer.h
|
|
|
|
mauka/Bin.h
|
|
|
|
mauka/Container.h
|
|
|
|
mauka/MaukaBox.h
|
|
|
|
mauka/Move.h
|
|
|
|
mauka/Row.h
|
|
|
|
mauka/SimAnnealingPlacer.h
|
|
|
|
mauka/SubRow.h
|
|
|
|
mauka/Surface.h
|
|
|
|
mauka/MaukaEngine.h
|
|
|
|
)
|
2021-11-21 17:05:48 -06:00
|
|
|
set ( mocIncludes mauka/GraphicMaukaEngine.h )
|
2012-11-16 06:53:00 -06:00
|
|
|
set ( pyIncludes mauka/PyMaukaEngine.h
|
|
|
|
mauka/PyGraphicMaukaEngine.h
|
|
|
|
)
|
2010-06-08 07:09:50 -05:00
|
|
|
set ( cpps Configuration.cpp
|
|
|
|
BBPlacer.cpp
|
2010-06-25 03:50:50 -05:00
|
|
|
FeedCells.cpp
|
2010-06-08 07:09:50 -05:00
|
|
|
Bin.cpp
|
|
|
|
Container.cpp
|
|
|
|
MaukaBox.cpp
|
|
|
|
Move.cpp
|
|
|
|
Row.cpp
|
|
|
|
SimAnnealingPlacer.cpp
|
|
|
|
SubRow.cpp
|
|
|
|
Surface.cpp
|
2010-07-12 10:19:31 -05:00
|
|
|
InsertFeeds.cpp
|
2010-06-08 07:09:50 -05:00
|
|
|
MaukaEngine.cpp
|
|
|
|
GraphicMaukaEngine.cpp
|
|
|
|
)
|
2010-07-12 10:19:31 -05:00
|
|
|
set ( pyCpps PyMauka.cpp
|
|
|
|
PyMaukaEngine.cpp
|
2012-11-16 06:53:00 -06:00
|
|
|
PyGraphicMaukaEngine.cpp
|
2010-07-12 10:19:31 -05:00
|
|
|
)
|
2014-07-22 04:06:26 -05:00
|
|
|
qtX_wrap_cpp ( mocCpps ${mocIncludes} )
|
2010-06-08 07:09:50 -05:00
|
|
|
|
|
|
|
|
2010-07-12 10:19:31 -05:00
|
|
|
add_library ( mauka ${cpps} ${mocCpps} ${pyCpps} )
|
2011-02-02 16:48:45 -06:00
|
|
|
set_target_properties ( mauka PROPERTIES VERSION 1.0 SOVERSION 1 )
|
2021-11-21 17:05:48 -06:00
|
|
|
#target_link_libraries ( mauka ${METIS_LIBRARIES}
|
|
|
|
# ${NIMBUS_LIBRARIES}
|
|
|
|
# ${CORIOLIS_LIBRARIES}
|
|
|
|
# ${HURRICANE_PYTHON_LIBRARIES}
|
|
|
|
# ${HURRICANE_GRAPHICAL_LIBRARIES}
|
|
|
|
# ${HURRICANE_LIBRARIES}
|
|
|
|
# ${CONFIGURATION_LIBRARY}
|
|
|
|
# ${CIF_LIBRARY}
|
|
|
|
# ${AGDS_LIBRARY}
|
|
|
|
# ${LEFDEF_LIBRARIES}
|
|
|
|
# ${OA_LIBRARIES}
|
|
|
|
# ${QtX_LIBRARIES}
|
|
|
|
# ${Boost_LIBRARIES}
|
|
|
|
# ${LIBXML2_LIBRARIES}
|
|
|
|
# ${PYTHON_LIBRARIES} -lutil
|
|
|
|
# )
|
2010-07-12 10:19:31 -05:00
|
|
|
|
2010-07-17 05:33:55 -05:00
|
|
|
add_library ( pyMauka MODULE ${pyCpps} )
|
|
|
|
set_target_properties ( pyMauka PROPERTIES COMPILE_FLAGS "${COMPILE_FLAGS} -D__PYTHON_MODULE__=1"
|
|
|
|
PREFIX ""
|
|
|
|
OUTPUT_NAME "Mauka"
|
2010-07-12 10:19:31 -05:00
|
|
|
)
|
2021-11-21 17:05:48 -06:00
|
|
|
#target_link_libraries ( pyMauka mauka
|
|
|
|
# ${CORIOLIS_PYTHON_LIBRARIES}
|
|
|
|
# )
|
2010-07-12 10:19:31 -05:00
|
|
|
|
|
|
|
install ( TARGETS mauka DESTINATION lib${LIB_SUFFIX} )
|
2010-07-17 05:33:55 -05:00
|
|
|
install ( TARGETS pyMauka DESTINATION ${PYTHON_SITE_PACKAGES} )
|
2010-07-12 10:19:31 -05:00
|
|
|
install ( FILES ${includes}
|
|
|
|
${mocIncludes}
|
|
|
|
${pyIncludes} DESTINATION include/coriolis2/mauka )
|