cmake_minimum_required(VERSION 3.16)

# WebSocket is on by default in the Plexus C SDK. Thread safety is opt-in
# and must be set before project() so defines propagate to all components.
add_compile_definitions(PLEXUS_ENABLE_THREAD_SAFE=1)

# Include the Plexus SDK as a component
set(EXTRA_COMPONENT_DIRS "../../")

include($ENV{IDF_PATH}/tools/cmake/project.cmake)

project(plexus_websocket)
