mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Additional Windows Updates
This commit is contained in:
parent
a4e2468929
commit
b5d685fccf
2 changed files with 8 additions and 8 deletions
|
@ -72,11 +72,11 @@ ENDIF()
|
|||
ELSE()
|
||||
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -W4 -WX -Zi -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS -I${CMAKE_CURRENT_SOURCE_DIR}/wincompat")
|
||||
IF(DEVEL_MODE EQUAL 1)
|
||||
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -Od ")
|
||||
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -Od")
|
||||
#SET (MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -DFIU_ENABLE=1")
|
||||
#SET (FIULIB "fiu")
|
||||
ELSE()
|
||||
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -OX")
|
||||
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -Ox")
|
||||
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -DNDEBUG")
|
||||
# Comment out the following line to compile out debug messages:
|
||||
#SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -DLSQUIC_LOWEST_LOG_LEVEL=LSQ_LOG_INFO")
|
||||
|
@ -84,9 +84,9 @@ ENDIF()
|
|||
|
||||
SET (BORINGSSL_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/../boringssl/include)
|
||||
SET (VCPKG_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/../vcpkg/installed/x64-windows-static/include )
|
||||
set (BORINGSSL_BASE_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../boringssl)
|
||||
|
||||
SET (VCPKG_BASE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../vcpkg/installed/x64-windows-static)
|
||||
set (BORINGSSL_BASE_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../boringssl/build/x64)
|
||||
|
||||
ENDIF() #MSVC
|
||||
|
||||
|
@ -137,14 +137,14 @@ target_link_libraries(http_client
|
|||
debug $(SolutionDir)src/liblsquic/debug/lsquic.lib
|
||||
debug ${VCPKG_BASE_DIR}/debug/lib/event.lib
|
||||
debug ${VCPKG_BASE_DIR}/debug/lib/zlibd.lib
|
||||
debug ${BORINGSSL_BASE_LIB_DIR}/debug/ssl.lib
|
||||
debug ${BORINGSSL_BASE_LIB_DIR}/debug/crypto.lib
|
||||
debug ${BORINGSSL_BASE_LIB_DIR}/ssl/debug/ssl.lib
|
||||
debug ${BORINGSSL_BASE_LIB_DIR}/crypto/debug/crypto.lib
|
||||
ws2_32
|
||||
optimized $(SolutionDir)src/liblsquic/release/lsquic.lib
|
||||
optimized ${VCPKG_BASE_DIR}/lib/event.lib
|
||||
optimized ${VCPKG_BASE_DIR}/lib/zlib.lib
|
||||
optimized ${BORINGSSL_BASE_LIB_DIR}/ssl.lib
|
||||
optimized ${BORINGSSL_BASE_LIB_DIR}/crypto.lib
|
||||
optimized ${BORINGSSL_BASE_LIB_DIR}/ssl/release/ssl.lib
|
||||
optimized ${BORINGSSL_BASE_LIB_DIR}/crypto/release/crypto.lib
|
||||
${FIULIB} )
|
||||
|
||||
ENDIF()
|
||||
|
|
|
@ -243,7 +243,7 @@ target_link_libraries(test_dec libssl.a libcrypto.a z m pthread ${FIULIB})
|
|||
#MSVC
|
||||
ELSE()
|
||||
|
||||
SET (UGH_LIB_LIST debug $(SolutionDir)src/liblsquic/debug/lsquic.lib debug ${VCPKG_BASE_DIR}/debug/lib/event.lib debug ${VCPKG_BASE_DIR}/debug/lib/zlibd.lib debug ${BORINGSSL_BASE_LIB_DIR}/debug/ssl.lib debug ${BORINGSSL_BASE_LIB_DIR}/debug/crypto.lib optimized $(SolutionDir)src/liblsquic/release/lsquic.lib optimized ${VCPKG_BASE_DIR}/lib/event.lib optimized ${VCPKG_BASE_DIR}/lib/zlib.lib optimized ${BORINGSSL_BASE_LIB_DIR}/ssl.lib optimized ${BORINGSSL_BASE_LIB_DIR}/crypto.lib)
|
||||
SET (UGH_LIB_LIST debug $(SolutionDir)src/liblsquic/debug/lsquic.lib debug ${VCPKG_BASE_DIR}/debug/lib/event.lib debug ${VCPKG_BASE_DIR}/debug/lib/zlibd.lib debug ${BORINGSSL_BASE_LIB_DIR}/ssl/debug/ssl.lib debug ${BORINGSSL_BASE_LIB_DIR}/crypto/debug/crypto.lib optimized $(SolutionDir)src/liblsquic/release/lsquic.lib optimized ${VCPKG_BASE_DIR}/lib/event.lib optimized ${VCPKG_BASE_DIR}/lib/zlib.lib optimized ${BORINGSSL_BASE_LIB_DIR}/ssl/Release/ssl.lib optimized ${BORINGSSL_BASE_LIB_DIR}/crypto/Release/crypto.lib)
|
||||
|
||||
set(MIN_LIBS_LIST ${FIULIB} ws2_32)
|
||||
set(LIBS_LIST ${UGH_LIB_LIST} ${MIN_LIBS_LIST})
|
||||
|
|
Loading…
Reference in a new issue