add_subdirectory(catalog_entry)
add_subdirectory(default)

if(${BUILD_CORE_FUNCTIONS_EXTENSION})

else()
  add_definitions(-DDISABLE_CORE_FUNCTIONS_EXTENSION=1)
endif()
add_library_unity(
  duckdb_catalog
  OBJECT
  catalog_entry.cpp
  catalog_entry_retriever.cpp
  catalog.cpp
  catalog_search_path.cpp
  catalog_set.cpp
  catalog_transaction.cpp
  duck_catalog.cpp
  dependency_manager.cpp
  dependency_list.cpp
  dependency_catalog_set.cpp
  entry_lookup_info.cpp
  similar_catalog_entry.cpp)
set(ALL_OBJECT_FILES
    ${ALL_OBJECT_FILES} $<TARGET_OBJECTS:duckdb_catalog>
    PARENT_SCOPE)
