2015-03-22 13:12:45 -05:00
|
|
|
# -*- explicit-buffer-name: "CMakeLists.txt<knik/src>" -*-
|
2010-03-09 09:23:58 -06: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-03-09 09:23:58 -06:00
|
|
|
include_directories ( ${KNIK_SOURCE_DIR}/src
|
2015-04-03 09:56:02 -05:00
|
|
|
${KNIK_SOURCE_DIR}/src/flute-3.1/src
|
2010-03-09 09:23:58 -06:00
|
|
|
${HURRICANE_INCLUDE_DIR}
|
|
|
|
${CORIOLIS_INCLUDE_DIR}
|
2013-04-22 10:36:02 -05:00
|
|
|
${UTILITIES_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:46:45 -05:00
|
|
|
${Boost_INCLUDE_DIRS}
|
2010-03-09 09:23:58 -06:00
|
|
|
)
|
|
|
|
set ( includes knik/Configuration.h
|
|
|
|
knik/Vertex.h knik/Vertexes.h
|
|
|
|
knik/Tuple.h
|
|
|
|
knik/STuple.h
|
|
|
|
knik/VTuple.h
|
|
|
|
knik/Edge.h knik/Edges.h
|
|
|
|
knik/HEdge.h
|
|
|
|
knik/VEdge.h
|
|
|
|
knik/MatrixVertex.h
|
|
|
|
knik/RoutingGrid.h
|
|
|
|
knik/SlicingTree.h
|
|
|
|
knik/SlicingTreeNode.h
|
|
|
|
knik/Graph.h
|
|
|
|
knik/NetExtension.h
|
|
|
|
knik/KnikEngine.h
|
|
|
|
)
|
|
|
|
set ( mocIncludes knik/GraphicKnikEngine.h )
|
|
|
|
set ( cpps Configuration.cpp
|
|
|
|
Vertex.cpp
|
|
|
|
Edge.cpp
|
|
|
|
HEdge.cpp
|
|
|
|
VEdge.cpp
|
|
|
|
MatrixVertex.cpp
|
|
|
|
Graph.cpp
|
|
|
|
SlicingTree.cpp
|
|
|
|
NetExtension.cpp
|
|
|
|
LoadSolution.cpp
|
|
|
|
KnikEngine.cpp
|
|
|
|
GraphicKnikEngine.cpp
|
|
|
|
)
|
2015-04-03 09:56:02 -05:00
|
|
|
set ( fluteIncludes flute-3.1/src/knik/flute.h
|
|
|
|
flute-3.1/src/knik/dl.h
|
|
|
|
flute-3.1/src/knik/mst2.h
|
|
|
|
flute-3.1/src/knik/err.h
|
|
|
|
flute-3.1/src/knik/heap.h
|
|
|
|
flute-3.1/src/knik/dist.h
|
|
|
|
flute-3.1/src/knik/global.h
|
|
|
|
flute-3.1/src/knik/neighbors.h
|
|
|
|
)
|
|
|
|
set ( fluteCpps flute-3.1/src/flute.cpp
|
|
|
|
flute-3.1/src/flute_mst.cpp
|
|
|
|
flute-3.1/src/dist.cpp
|
|
|
|
flute-3.1/src/dl.cpp
|
|
|
|
flute-3.1/src/err.cpp
|
|
|
|
flute-3.1/src/mst2.cpp
|
|
|
|
flute-3.1/src/heap.cpp
|
|
|
|
flute-3.1/src/neighbors.cpp
|
|
|
|
)
|
2014-07-22 04:06:26 -05:00
|
|
|
qtX_wrap_cpp ( mocCpps ${mocIncludes} )
|
2010-03-09 09:23:58 -06:00
|
|
|
|
|
|
|
|
2011-02-04 05:10:02 -06:00
|
|
|
add_library ( flute ${fluteCpps} )
|
2015-04-03 09:56:02 -05:00
|
|
|
set_target_properties ( flute PROPERTIES VERSION 3.1 SOVERSION 3 )
|
2011-02-04 05:10:02 -06:00
|
|
|
target_link_libraries ( flute ${HURRICANE_LIBRARIES}
|
|
|
|
${CORIOLIS_LIBRARIES}
|
|
|
|
)
|
|
|
|
add_library ( knik ${cpps} ${mocCpps} )
|
|
|
|
set_target_properties ( knik PROPERTIES VERSION 1.0 SOVERSION 1 )
|
|
|
|
target_link_libraries ( knik flute
|
|
|
|
${HURRICANE_PYTHON_LIBRARIES}
|
|
|
|
${HURRICANE_GRAPHICAL_LIBRARIES}
|
|
|
|
${HURRICANE_LIBRARIES}
|
|
|
|
${CONFIGURATION_LIBRARY}
|
|
|
|
${CIF_LIBRARY}
|
|
|
|
${AGDS_LIBRARY}
|
2013-04-22 10:36:02 -05:00
|
|
|
${UTILITIES_LIBRARY}
|
2011-02-04 05:10:02 -06:00
|
|
|
${LEFDEF_LIBRARIES}
|
|
|
|
${OA_LIBRARIES}
|
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_LIBRARIES}
|
2011-02-04 05:10:02 -06:00
|
|
|
${Boost_LIBRARIES}
|
|
|
|
${LIBXML2_LIBRARIES}
|
|
|
|
${PYTHON_LIBRARIES} -lutil
|
|
|
|
)
|
|
|
|
|
|
|
|
install ( TARGETS knik flute DESTINATION lib${LIB_SUFFIX} )
|
|
|
|
install ( FILES ${includes}
|
|
|
|
${mocIncludes}
|
|
|
|
${fluteIncludes} DESTINATION include/coriolis2/knik )
|
2015-04-03 09:56:02 -05:00
|
|
|
install ( FILES flute-3.1/etc/POST9.dat
|
|
|
|
flute-3.1/etc/POWV9.dat DESTINATION share/coriolis2/flute-3.1 )
|