- Added cryptopp debug lib.

- Reduced cryptopp release lib size.
- Added condition to choose lib based on build type.
This commit is contained in:
Younes 2024-02-09 22:59:55 -07:00 committed by Jonah
parent c1c08762f0
commit 0dd224c681
3 changed files with 6 additions and 1 deletions

View File

@ -1,2 +1,7 @@
add_library(cryptoppwin SHARED IMPORTED GLOBAL)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set_target_properties(cryptoppwin PROPERTIES IMPORTED_IMPLIB "${CMAKE_CURRENT_SOURCE_DIR}/lib/cryptlibd.lib")
else()
set_target_properties(cryptoppwin PROPERTIES IMPORTED_IMPLIB "${CMAKE_CURRENT_SOURCE_DIR}/lib/cryptlib.lib")
endif()

Binary file not shown.

BIN
lib/cryptlibd.lib Normal file

Binary file not shown.