Main Lemma Repository
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

1234567891011121314151617181920212223242526272829303132333435
  1. add_subdirectory("src")
  2. add_library( tem1d ${TEM1DSOURCE} )
  3. target_include_directories( tem1d PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )
  4. set_target_properties(tem1d PROPERTIES
  5. VERSION "${LEMMA_VERSION_NOQUOTES}"
  6. SOVERSION "${LEMMA_VERSION_MAJOR}.${LEMMA_VERSION_MINOR}"
  7. PROJECT_LABEL "TEM1D ${LABEL_SUFFIX}"
  8. CXX_STANDARD 14
  9. CXX_STANDARD_REQUIRED ON
  10. )
  11. # Linking
  12. target_link_libraries(tem1d "lemmacore")
  13. target_link_libraries(tem1d "fdem1d")
  14. # Testing
  15. if (LEMMA_ENABLE_TESTING)
  16. add_subdirectory(testing)
  17. endif()
  18. # Install
  19. install ( TARGETS tem1d DESTINATION ${CMAKE_INSTALL_PREFIX}/lib )
  20. install ( FILES include/TEM1D DESTINATION ${CMAKE_INSTALL_PREFIX}/include/Lemma )
  21. install ( DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/Lemma FILES_MATCHING PATTERN "*.h")
  22. #install ( DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/Lemma/ FILES_MATCHING PATTERN "FDEM1D")
  23. #install ( DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/Lemma/FDEM1D FILES_MATCHING PATTERN "*.h")
  24. install ( FILES include/TEM1D DESTINATION ${CMAKE_INSTALL_PREFIX}/include/Lemma )
  25. # Examples
  26. if (LEMMA_BUILD_EXAMPLES)
  27. add_subdirectory(examples)
  28. endif()