file(GLOB_RECURSE VOICECAT_ADMIN_SOURCES CONFIGURE_DEPENDS
     "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")

add_executable(voicecat-admin ${VOICECAT_ADMIN_SOURCES})
target_compile_features(voicecat-admin PRIVATE cxx_std_20)
target_include_directories(voicecat-admin PRIVATE
    ${CMAKE_CURRENT_SOURCE_DIR}/src)

# Links voicecat::server which transitively brings in voicecat::voicecat,
# sodium, sqlite3, mbedtls, and all server headers.
target_link_libraries(voicecat-admin PRIVATE voicecat::server)
