add_subdirectory(qt)

set(windtunnel_sources
  Metadata.cxx
  Registrar.cxx
  # Task.cxx
  # TaskFlow.cxx
)

set(windtunnel_headers
  Metadata.h
  Registrar.h
  # Task.h
  # TaskFlow.h
)

# Note: there are no generated headers because all operations are python

add_library(smtkWindTunnel ${windtunnel_sources})

target_compile_definitions(smtkWindTunnel PRIVATE QT_NO_KEYWORDS)

target_link_libraries(smtkWindTunnel
  LINK_PUBLIC
    smtkCore
    ${__dependencies}
    nlohmann_json
    ${Boost_LIBRARIES})

target_include_directories(smtkWindTunnel
  PUBLIC
    $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
    $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}>
    $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}/${PROJECT_VERSION}>
  PRIVATE
    ${Boost_INCLUDE_DIRS}
)

generate_export_header(smtkWindTunnel EXPORT_FILE_NAME Exports.h)

# Install the header files
smtk_get_kit_name(name dir_prefix)

smtk_export_header(smtkWindTunnel Exports.h)

smtk_install_library(smtkWindTunnel)

# if (SMTK_ENABLE_PYTHON_WRAPPING)
#   add_subdirectory(pybind11)
# endif ()

if (ENABLE_TESTING)
  add_subdirectory(testing)
endif ()

# if (BUILD_EXAMPLES)
#   add_subdirectory(examples)
# endif ()
