Main Lemma Repository
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

CMakeLists.txt 442B

1234567891011121314151617181920
  1. include_directories(${CMAKE_INSTALL_PREFIX}/include)
  2. add_subdirectory("src")
  3. add_library( lemmacore ${SOURCE} )
  4. # Linking
  5. add_dependencies(lemmacore YAML-CPP)
  6. if (TINYXML_SUPPORT)
  7. add_dependencies(lemmacore TINYXML2)
  8. endif()
  9. if (MATIO_SUPPORT)
  10. add_dependencies(lemmacore MATIO)
  11. endif()
  12. if (VTK_SUPPORT)
  13. target_link_libraries(lemmacore ${VTK_LIBRARIES})
  14. endif()
  15. target_link_libraries(lemmacore "yaml-cpp")
  16. add_subdirectory(examples)