mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
3f84d2133f
* new file: projects/facebook.com/mvfst/CMakeLists.txt new file: projects/facebook.com/mvfst/package.yml * maybe with llvm * CMAKE_ARGS * -latomic * wip
17 lines
552 B
CMake
17 lines
552 B
CMake
cmake_minimum_required(VERSION 3.20)
|
|
project(echo CXX)
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
list(PREPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
|
find_package(fizz REQUIRED)
|
|
find_package(gflags REQUIRED)
|
|
find_package(GTest REQUIRED)
|
|
find_package(mvfst REQUIRED)
|
|
|
|
add_executable(echo
|
|
quic/samples/echo/main.cpp
|
|
quic/common/test/TestUtils.cpp
|
|
quic/common/test/TestPacketBuilders.cpp
|
|
)
|
|
target_link_libraries(echo ${mvfst_LIBRARIES} fizz::fizz_test_support GTest::gmock)
|
|
target_include_directories(echo PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) |