The source code and dockerfile for the GSW2024 AI Lab.
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

27 lines
717 B

2 months ago
  1. include(CMakeDependentOption)
  2. option(BUILD_ADDONS "Build addons" OFF)
  3. cmake_dependent_option(BUILD_ADDON_PARSER "Build parser addon" OFF "BUILD_ADDONS" OFF)
  4. cmake_dependent_option(BUILD_ADDON_PYCARL "Build python binding addon" OFF "BUILD_ADDONS" OFF)
  5. if(BUILD_ADDONS)
  6. add_custom_target(addons)
  7. add_dependencies(addons lib_carl)
  8. set_directory_properties(PROPERTIES EP_PREFIX ${CMAKE_BINARY_DIR}/addons)
  9. if(BUILD_ADDON_PYCARL)
  10. set(BUILD_ADDON_PARSER ON)
  11. endif()
  12. if(BUILD_ADDON_PARSER)
  13. if(NOT USE_GINAC)
  14. message(WARNING "Parser addon requires ginac!")
  15. endif()
  16. include(resources/addons/carl-parser.cmake)
  17. endif()
  18. if(BUILD_ADDON_PYCARL)
  19. include(resources/addons/pycarl.cmake)
  20. endif()
  21. endif()