GraphLayoutLibrary.pro 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2013-09-10T12:17:10
  4. #
  5. #-------------------------------------------------
  6. # this generates dynamic lib
  7. # when CONFIG+= staticlib is commented below
  8. # 0 libGraphLayoutLibrary.so
  9. # 0 libGraphLayoutLibrary.so.1
  10. # 0 libGraphLayoutLibrary.so.1.0
  11. # 1.8M libGraphLayoutLibrary.so.1.0.0
  12. QT -= gui
  13. QT += xml
  14. QT += xmlpatterns
  15. #QT += console
  16. CONFIG += c++11
  17. # CONFIG += exceptions
  18. # CONFIG -= exceptions
  19. CONFIG += qt warn_on debug
  20. # set to generate static lib
  21. CONFIG+= staticlib
  22. QMAKE_CXXFLAGS += -g -O0 -Wall -Wextra -pedantic
  23. # replace gcc -O2 with -O0 for better debug
  24. QMAKE_CXXFLAGS ~= s/O2/O0/
  25. TARGET = GraphLayoutLibrary
  26. TEMPLATE = lib
  27. DEFINES +=
  28. SOURCES += GraphLayoutLibrary.cpp \
  29. GraphMLReader/GraphMLReader.cpp \
  30. GraphMLReader/dirtynode.cpp \
  31. GraphMLReader/dirtyedge.cpp \
  32. GraphMLWriter/GraphMLWriter.cpp \
  33. LayoutManager/LayoutManager.cpp \
  34. CircularLayout/CircularLayoutGenerator.cpp \
  35. Common/BoostGraphWrapper.cpp \
  36. Common/LayoutUtility.cpp \
  37. RandomLayout/RandomLayoutGenerator.cpp \
  38. Common/GeometryHelper.cpp \
  39. CircularLayout/CircleLayouter.cpp \
  40. HierarchicalLayoutGenerator/HierarchicalLayouter.cpp \
  41. CircularLayout/SpaceUtilizer.cpp \
  42. Common/GraphCycleHandler.cpp \
  43. CircularLayout/SizeManager.cpp \
  44. LayoutException/LayoutException.cpp \
  45. HierarchicalLayoutGenerator/LayerNode.cpp \
  46. HierarchicalLayoutGenerator/NestingTreeSubgraphNode.cpp \
  47. ForceBasedLayout/ForceBasedLayoutGenerator.cpp \
  48. HierarchicalLayoutGenerator/ReducedNestingTreeNode.cpp \
  49. HierarchicalLayoutGenerator/SubgraphOrderingGraph.cpp \
  50. LayoutManager/GraphLayoutErrorCodes.cpp \
  51. HierarchicalLayoutGenerator/HierarchicalLayoutGenerator.cpp \
  52. ForceBasedLayout/Reingold.cpp \
  53. HierarchicalLayoutGenerator/LayersSubgraphSorter.cpp \
  54. ForceBasedLayout/MembershipInitializer.cpp \
  55. GridBasedLayout/GraphPreProcessor.cpp \
  56. GridBasedLayout/GridBasedLayout.cpp \
  57. ForceBasedLayout/SpringEmbedder.cpp \
  58. ForceBasedLayout/ClusteredSpringEmbedder.cpp \
  59. ForceBasedLayout/postprocessing.cpp \
  60. GridBasedLayout/GridLayouter.cpp \
  61. ForceBasedLayout/RelaxInterEdges.cpp \
  62. Common/LayoutEnum.cpp \
  63. LayoutException/LayoutExceptionEnum.cpp \
  64. LayoutException/LayoutFileIOException.cpp \
  65. LayoutException/LayoutMemoryException.cpp \
  66. ForceBasedLayout/VertexOverlapRemoval.cpp
  67. HEADERS += GraphLayoutLibrary.h\
  68. GraphLayoutLibrary_global.h \
  69. GraphMLReader/GraphMLReader.h \
  70. GraphMLReader/dirtyedge.h \
  71. GraphMLReader/dirtynode.h \
  72. GraphMLWriter/GraphMLWriter.h \
  73. ReaderWriterUtilities/AttributeConstants.h \
  74. ReaderWriterUtilities/Attribute.h \
  75. ReaderWriterUtilities/DefaultValues.h \
  76. ReaderWriterUtilities/GraphElementProperties.h \
  77. ReaderWriterUtilities/Typedefs.h \
  78. Common/GraphType.h \
  79. Common/BoostGraphWrapper.h \
  80. LayoutUtilities/LayoutTypes.h \
  81. LayoutUtilities/CommonLayoutConstants.h \
  82. LayoutManager/LayoutManager.h \
  83. CircularLayout/CircularLayoutGenerator.h \
  84. Common/LayoutUtility.h \
  85. RandomLayout/RandomLayoutGenerator.h \
  86. Common/GeometryHelper.h \
  87. CircularLayout/CircleLayouter.h \
  88. HierarchicalLayoutGenerator/HierarchicalLayouter.h \
  89. Common/GraphCycleHandler.h \
  90. CircularLayout/SpaceUtilizer.h \
  91. Common/CustomDFSVisitors.h \
  92. Common/CustomBFSVisitors.h \
  93. GraphMLReader/MessageHandler.h \
  94. CircularLayout/SizeManager.h \
  95. LayoutException/LayoutException.h \
  96. HierarchicalLayoutGenerator/LayerNode.h \
  97. HierarchicalLayoutGenerator/NestingTreeSubgraphNode.h \
  98. Common/ConstantType.h \
  99. HierarchicalLayoutGenerator/HierarchicalLayoutTestingConstants.h \
  100. Common/CommonConstants.h \
  101. ForceBasedLayout/ForceBasedLayoutGenerator.h \
  102. HierarchicalLayoutGenerator/HierarchicalLayoutTypedefs.h \
  103. HierarchicalLayoutGenerator/ReducedNestingTreeNode.h \
  104. HierarchicalLayoutGenerator/SubgraphOrderingGraphType.h \
  105. HierarchicalLayoutGenerator/SubgraphOrderingGraphDFSVisitor.h \
  106. HierarchicalLayoutGenerator/SubgraphOrderingGraph.h \
  107. LayoutManager/GraphLayoutErrorCodes.h \
  108. ForceBasedLayout/ForceIterator.h \
  109. HierarchicalLayoutGenerator/HierarchicalLayoutGenerator.h \
  110. ForceBasedLayout/ForceDirectedLayouter.h \
  111. ForceBasedLayout/Reingold.h \
  112. ForceBasedLayout/MembershipInitializer.h \
  113. HierarchicalLayoutGenerator/LayersSubgraphSorter.h \
  114. GridBasedLayout/GridBasedLayout.h \
  115. GridBasedLayout/GraphPreProcessor.h \
  116. ForceBasedLayout/BeautifyLayout.h \
  117. ForceBasedLayout/SpringEmbedder.h \
  118. GridBasedLayout/GraphPreProcessor.h \
  119. GridBasedLayout/CreateDualGraph.hpp \
  120. GridBasedLayout/MyPlanarFaceTraversal.hpp \
  121. ForceBasedLayout/ClusteredSpringEmbedder.h \
  122. ForceBasedLayout/Postprocessing.h \
  123. GridBasedLayout/GridLayouter.h \
  124. ForceBasedLayout/RelaxInterEdges.h \
  125. ForceBasedLayout/Constants.h \
  126. Common/LayoutEnum.h \
  127. LayoutException/LayoutExceptionConstants.h \
  128. LayoutException/LayoutExceptionEnum.h \
  129. LayoutException/LayoutFileIOException.h \
  130. LayoutException/LayoutMemoryException.h \
  131. ForceBasedLayout/VertexOverlapRemoval.h
  132. symbian {
  133. MMP_RULES += EXPORTUNFROZEN
  134. TARGET.UID3 = 0xE1CBFA86
  135. TARGET.CAPABILITY =
  136. TARGET.EPOCALLOWDLLDATA = 1
  137. addFiles.sources = GraphLayoutLibrary.dll
  138. addFiles.path = !:/sys/bin
  139. DEPLOYMENT += addFiles
  140. }
  141. unix:!symbian {
  142. maemo5 {
  143. target.path = /opt/usr/lib
  144. } else {
  145. target.path = /usr/lib
  146. }
  147. INSTALLS += target
  148. }
  149. INCLUDEPATH += $$PWD
  150. RESOURCES += \
  151. LayoutResources/graphMLSchema.qrc