set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)

qt_add_plugin(echo_noprivate_simulator)
set_target_properties(echo_noprivate_simulator PROPERTIES LIBRARY_OUTPUT_DIRECTORY ../interfaceframework)
target_sources(echo_noprivate_simulator PRIVATE
    backend_simulator.cpp
)

# Interface Framework Generator:
qt_ifcodegen_extend_target(echo_noprivate_simulator
    IDL_FILES ../../org.example.echo.qface
    TEMPLATE backend_simulator
    ANNOTATION_FILES ../../no-private.yaml
)

target_link_libraries(echo_noprivate_simulator PUBLIC
    echo_noprivate_frontend
)
