Skip to content

Commit 13bd3a4

Browse files
committed
added library and pdb output as well
1 parent e3bdeb6 commit 13bd3a4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ install:
4141
- powershell -exec bypass scripts\bootstrap.ps1
4242
- .\vcpkg integrate install
4343
- .\vcpkg install zlib:%PLATFORM%-windows%POSTVCPKGNAME% openssl:%PLATFORM%-windows%POSTVCPKGNAME%
44+
- if %POSTFIXNAME%==MD set VCPKGLIBS=vcpkg export zlib:%PLATFORM%-windows%POSTVCPKGNAME% openssl:%PLATFORM%-windows%POSTVCPKGNAME% --raw && move vcpkg-export-* vcpkg-export && 7z a vc140_%configuration%_%PLATFORM%_%POSTFIXNAME%_libs.zip -i!vcpkg-export\installed\%PLATFORM%-windows%POSTVCPKGNAME%\* && appveyor PushArtifact vc140_%configuration%_%PLATFORM%_%POSTFIXNAME%_libs.zip
45+
- cmd: %VCPKGLIBS%
4446
- cd ..
4547

4648
build_script:

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,13 @@ if(${BUILD_SHARED_LIBS})
4848
endif()
4949
endif()
5050

51-
install (TARGETS ${PROJECT_NAME}
51+
install (TARGETS ${PROJECT_NAME}
5252
RUNTIME DESTINATION bin
5353
ARCHIVE DESTINATION lib
5454
LIBRARY DESTINATION lib)
55-
55+
56+
install (FILES $<TARGET_PDB_FILE:${PROJECT_NAME}> DESTINATION bin OPTIONAL)
57+
5658

5759
install (FILES
5860
include/WS_Lite.h

0 commit comments

Comments
 (0)