You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
638 B

  1. # Include the modules that we'll build
  2. # The list of modules is ordered so that each module occurs after any others
  3. # that it depends on
  4. set( MODULES
  5. mod-script-pipe
  6. )
  7. if( NOT CMAKE_SYSTEM_NAME MATCHES "Windows" )
  8. list( APPEND MODULES
  9. mod-null
  10. mod-nyq-bench
  11. )
  12. endif()
  13. foreach( MODULE ${MODULES} )
  14. add_subdirectory("${MODULE}")
  15. endforeach()
  16. if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwin" )
  17. if( NOT WIN32)
  18. install( DIRECTORY "${_DEST}/modules"
  19. DESTINATION "${_PKGLIB}" )
  20. endif()
  21. endif()
  22. #propagate collected edges up to root CMakeLists.txt
  23. set( GRAPH_EDGES "${GRAPH_EDGES}" PARENT_SCOPE )