Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
10 changes: 8 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,14 @@ set(BUILDTARGET "all" CACHE STRING "Compilation target ([all]/congestion_unaware
# Can be compiled into either library or executable
option(NETWORK_BACKEND_BUILD_AS_LIBRARY "Build as a library" OFF)

# Compile external libraries
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/extern/yaml-cpp yaml-cpp)
# Add external libraries
include(FetchContent)
FetchContent_Declare(
yaml-cpp
GIT_REPOSITORY https://github.com/jbeder/yaml-cpp.git
GIT_TAG a83cd31 # Current as of 2025-10-01
)
FetchContent_MakeAvailable(yaml-cpp)

# Include src files to compile
file(GLOB srcs_common
Expand Down
1 change: 0 additions & 1 deletion extern/googletest
Submodule googletest deleted from 1204d6
1 change: 0 additions & 1 deletion extern/yaml-cpp
Submodule yaml-cpp deleted from 3d2888
8 changes: 7 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ option(NETWORK_BACKEND_BUILD_AS_LIBRARY "Build as a library" ON)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/.. analytical)

# Compile GoogleTest
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../extern/googletest googletest)
include(FetchContent)
FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG 1204d63 # Commit of 2024-10-31
)
FetchContent_MakeAvailable(googletest)
include(GoogleTest)

# Compile Congestion Unaware Backend
Expand Down
Loading