CMakeLists.txt 949 B

12345678910111213141516171819202122232425262728293031323334
  1. INCLUDE_DIRECTORIES(
  2. ${CMAKE_SOURCE_DIR}/src
  3. ${PARADEVS_INCLUDE_DIRS}
  4. ${Boost_INCLUDE_DIRS}
  5. ${GLIBMM_INCLUDE_DIRS}
  6. ${LIBXML_INCLUDE_DIRS})
  7. LINK_DIRECTORIES(
  8. ${GLIBMM_LIBRARY_DIRS}
  9. ${LIBXML_LIBRARY_DIR})
  10. # graph tests
  11. ADD_EXECUTABLE(graph-tests graph_builder.hpp graph_generator.hpp
  12. graph_defs.hpp graph_manager.hpp graph_partitioning.hpp tests.cpp models.hpp
  13. partitioning/utils.hpp partitioning/gggp.hpp partitioning/graph_build.hpp)
  14. # file generator
  15. #ADD_EXECUTABLE(file-generator graph_generator.hpp graph_defs.hpp
  16. # graph_partitioning.hpp file_generator.cpp
  17. # partitioning/utils.hpp partitioning/gggp.hpp partitioning/graph_build.hpp)
  18. TARGET_LINK_LIBRARIES(graph-tests
  19. ${Boost_LIBRARIES}
  20. ${GLIBMM_LIBRARIES}
  21. ${LIBXML_LIBRARIES}
  22. ${GTHREAD_LIBRARIES})
  23. #TARGET_LINK_LIBRARIES(file-generator
  24. # ${Boost_LIBRARIES}
  25. # ${GLIBMM_LIBRARIES}
  26. # ${LIBXML_LIBRARIES}
  27. # ${GTHREAD_LIBRARIES})
  28. ADD_SUBDIRECTORY(partitioning)