add_subdirectory(selection)

SET(HDRS
    ${HDRS}
    ${CMAKE_CURRENT_SOURCE_DIR}/VisualsConfig.h
    ${CMAKE_CURRENT_SOURCE_DIR}/VisualsLoader.h
    ${CMAKE_CURRENT_SOURCE_DIR}/MainWindow.h
    ${CMAKE_CURRENT_SOURCE_DIR}/ModalDimOverlay.h
    ${CMAKE_CURRENT_SOURCE_DIR}/ModalPauseScope.h
    ${CMAKE_CURRENT_SOURCE_DIR}/GameWorldView.h
    ${CMAKE_CURRENT_SOURCE_DIR}/InputMapper.h
    ${CMAKE_CURRENT_SOURCE_DIR}/WorldPrimitives.h
    ${CMAKE_CURRENT_SOURCE_DIR}/WorldRenderer.h
    ${CMAKE_CURRENT_SOURCE_DIR}/HeaderBar.h
    ${CMAKE_CURRENT_SOURCE_DIR}/FloatingPanel.h
    ${CMAKE_CURRENT_SOURCE_DIR}/BuildButtonBar.h
    ${CMAKE_CURRENT_SOURCE_DIR}/SelectionPanel.h
    ${CMAKE_CURRENT_SOURCE_DIR}/SelectionBounds.h
    ${CMAKE_CURRENT_SOURCE_DIR}/ControlsPanel.h
    ${CMAKE_CURRENT_SOURCE_DIR}/ControlActionText.h
    ${CMAKE_CURRENT_SOURCE_DIR}/BlueprintLibrary.h
    ${CMAKE_CURRENT_SOURCE_DIR}/BlueprintSelectionDialog.h
    ${CMAKE_CURRENT_SOURCE_DIR}/ShipLayoutDialog.h
    ${CMAKE_CURRENT_SOURCE_DIR}/ShipLayoutPreview.h
    ${CMAKE_CURRENT_SOURCE_DIR}/ShipStatsPanel.h
    ${CMAKE_CURRENT_SOURCE_DIR}/SchematicChoiceDialog.h
    ${CMAKE_CURRENT_SOURCE_DIR}/RecipeSelectionDialog.h
    ${CMAKE_CURRENT_SOURCE_DIR}/RecipeLineRow.h
    ${CMAKE_CURRENT_SOURCE_DIR}/OptionButton.h
    ${CMAKE_CURRENT_SOURCE_DIR}/ItemProducers.h
    ${CMAKE_CURRENT_SOURCE_DIR}/ItemIconCache.h
    ${CMAKE_CURRENT_SOURCE_DIR}/BuildingIconCache.h
    ${CMAKE_CURRENT_SOURCE_DIR}/IconCaption.h
    PARENT_SCOPE
)

set(UI_INCLUDE_PATH
    ${UI_INCLUDE_PATH}
    PARENT_SCOPE
)

SET(SRCS
    ${SRCS}
    ${CMAKE_CURRENT_SOURCE_DIR}/VisualsLoader.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/MainWindow.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/ModalDimOverlay.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/GameWorldView.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/InputMapper.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/WorldPrimitives.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/WorldRenderer.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/HeaderBar.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/BuildButtonBar.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/SelectionPanel.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/SelectionBounds.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/ControlsPanel.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/ControlActionText.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/BlueprintLibrary.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/BlueprintSelectionDialog.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/ShipLayoutDialog.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/ShipLayoutPreview.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/ShipStatsPanel.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/SchematicChoiceDialog.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/RecipeSelectionDialog.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/RecipeLineRow.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/OptionButton.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/ItemProducers.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/ItemIconCache.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/BuildingIconCache.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/IconCaption.cpp
    PARENT_SCOPE
)
