Discrete Element Methods (Alpha)
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.

CMakeLists.txt 627B

12345678910111213141516171819202122232425
  1. if (LEMMA_VTK6_SUPPORT OR LEMMA_VTK7_SUPPORT)
  2. include_directories(${CMAKE_INSTALL_PREFIX}/include)
  3. include_directories( "${CMAKE_CURRENT_SOURCE_DIR}/include" )
  4. add_subdirectory("src")
  5. add_library( dem4core ${DEMSOURCE} )
  6. target_link_libraries(dem4core "lemmacore")
  7. install ( TARGETS dem4core DESTINATION ${CMAKE_INSTALL_PREFIX}/lib )
  8. if (LEMMA_BUILD_EXAMPLES)
  9. add_subdirectory(examples)
  10. endif()
  11. if (LEMMA_ENABLE_TESTING)
  12. add_subdirectory(testing)
  13. endif()
  14. install ( TARGETS dem4core DESTINATION ${CMAKE_INSTALL_PREFIX}/lib )
  15. else()
  16. message( STATUS "DEM requires Lemma to be build with VTK" )
  17. endif()