Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
url = git@github.com:openmoq/moxygen.git
branch = main
ignore = untracked
[submodule "deps/catapult"]
path = deps/catapult
url = https://github.com/Quicr/catapult.git
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ add_compile_definitions(
"FOLLY_XLOG_STRIP_PREFIXES=\"${CMAKE_SOURCE_DIR}:${CMAKE_BINARY_DIR}\""
)

# --- catapult (CAT/CWT/MOQT auth implementation) ---

set(ENABLE_LOGGING OFF CACHE BOOL "" FORCE)
set(CATAPULT_ENABLE_JSON OFF CACHE BOOL "" FORCE)
add_subdirectory(deps/catapult EXCLUDE_FROM_ALL)

# --- Cache library (forked from moxygen) ---

add_library(moqx_cache STATIC
Expand Down Expand Up @@ -164,6 +170,7 @@ target_link_libraries(moqx_core PUBLIC
Folly::folly_io_async_fdsock_async_fd_socket
moxygen::moxygen_moqclient
OpenSSL::Crypto
catapult
)

target_compile_options(moqx_core PRIVATE -Wall -Wextra -Wpedantic)
Expand Down
1 change: 1 addition & 0 deletions deps/catapult
Submodule catapult added at 7e8186
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ COPY .docker-deps/moxygen /opt/moxygen
COPY CMakeLists.txt CMakePresets.json ./
COPY cmake/ cmake/
COPY src/ src/
COPY deps/catapult/ deps/catapult/
COPY deps/moxygen/build/fbcode_builder/CMake deps/moxygen/build/fbcode_builder/CMake

RUN cmake -S . -B _build --preset default \
Expand Down
Loading
Loading