aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-31 12:34:04 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-31 12:34:04 -0700
commit71594b6bef76b3510265cf508b24d9221ceede4b (patch)
tree64007d5e3d4bc26bc5e8f14ca09f406f6990e5fd
parent600e11d83cc8d66dc15f871ffa0b973978871910 (diff)
downloadvcpkg-71594b6bef76b3510265cf508b24d9221ceede4b.tar.gz
vcpkg-71594b6bef76b3510265cf508b24d9221ceede4b.zip
Remove portfile branching of vcpkg_copy_pdbs()
-rw-r--r--ports/assimp/portfile.cmake5
-rw-r--r--ports/bullet3/portfile.cmake4
-rw-r--r--ports/cpprestsdk/portfile.cmake4
-rw-r--r--ports/geos/portfile.cmake5
-rw-r--r--ports/jxrlib/portfile.cmake6
-rw-r--r--ports/libccd/portfile.cmake8
-rw-r--r--ports/libpng/portfile.cmake5
-rw-r--r--ports/libwebp/portfile.cmake6
-rw-r--r--ports/openjpeg/portfile.cmake6
-rw-r--r--ports/openssl/portfile.cmake6
-rw-r--r--ports/zlib/portfile.cmake3
11 files changed, 23 insertions, 35 deletions
diff --git a/ports/assimp/portfile.cmake b/ports/assimp/portfile.cmake
index fd6cc1c0c..e53384ff1 100644
--- a/ports/assimp/portfile.cmake
+++ b/ports/assimp/portfile.cmake
@@ -36,6 +36,5 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
# Handle copyright
file(COPY ${CURRENT_BUILDTREES_DIR}/src/assimp-3.3.1/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/assimp)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/assimp/LICENSE ${CURRENT_PACKAGES_DIR}/share/assimp/copyright)
-if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- vcpkg_copy_pdbs()
-endif() \ No newline at end of file
+
+vcpkg_copy_pdbs() \ No newline at end of file
diff --git a/ports/bullet3/portfile.cmake b/ports/bullet3/portfile.cmake
index 5face2c0b..7b530ec07 100644
--- a/ports/bullet3/portfile.cmake
+++ b/ports/bullet3/portfile.cmake
@@ -33,6 +33,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/bullet3)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/bullet3/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/bullet3/copyright)
-if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- vcpkg_copy_pdbs()
-endif()
+vcpkg_copy_pdbs() \ No newline at end of file
diff --git a/ports/cpprestsdk/portfile.cmake b/ports/cpprestsdk/portfile.cmake
index c10f2b065..ed0a2176b 100644
--- a/ports/cpprestsdk/portfile.cmake
+++ b/ports/cpprestsdk/portfile.cmake
@@ -32,7 +32,5 @@ file(INSTALL
${SOURCE_PATH}/license.txt
DESTINATION ${CURRENT_PACKAGES_DIR}/share/cpprestsdk RENAME copyright)
-if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- vcpkg_copy_pdbs()
-endif()
+vcpkg_copy_pdbs()
diff --git a/ports/geos/portfile.cmake b/ports/geos/portfile.cmake
index 554015937..b539b3f6f 100644
--- a/ports/geos/portfile.cmake
+++ b/ports/geos/portfile.cmake
@@ -36,10 +36,11 @@ file(COPY ${CURRENT_BUILDTREES_DIR}/src/3.5/COPYING DESTINATION ${CURRENT_PACKAG
file(RENAME ${CURRENT_PACKAGES_DIR}/share/geos/COPYING ${CURRENT_PACKAGES_DIR}/share/geos/copyright)
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/libgeos.lib ${CURRENT_PACKAGES_DIR}/debug/lib/libgeos.lib)
- vcpkg_copy_pdbs()
else()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/geos.lib ${CURRENT_PACKAGES_DIR}/debug/lib/geos.lib)
file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/geos_c.lib ${CURRENT_PACKAGES_DIR}/debug/lib/geos_c.lib)
-endif() \ No newline at end of file
+endif()
+
+vcpkg_copy_pdbs() \ No newline at end of file
diff --git a/ports/jxrlib/portfile.cmake b/ports/jxrlib/portfile.cmake
index 0fce5b9ba..53bf30bb5 100644
--- a/ports/jxrlib/portfile.cmake
+++ b/ports/jxrlib/portfile.cmake
@@ -19,10 +19,8 @@ vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- vcpkg_copy_pdbs()
-endif()
-
# Handle copyright
file(COPY ${CMAKE_CURRENT_LIST_DIR}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/jxrlib)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/jxrlib/LICENSE ${CURRENT_PACKAGES_DIR}/share/jxrlib/copyright)
+
+vcpkg_copy_pdbs() \ No newline at end of file
diff --git a/ports/libccd/portfile.cmake b/ports/libccd/portfile.cmake
index 5b99d6c42..67eda1ccb 100644
--- a/ports/libccd/portfile.cmake
+++ b/ports/libccd/portfile.cmake
@@ -25,10 +25,6 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
-if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- vcpkg_copy_pdbs()
-endif()
-
# Avoid a copy of file in debug
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
@@ -41,4 +37,6 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/doc)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/ccd)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/pkgconfig)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/ccd)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig) \ No newline at end of file
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig)
+
+vcpkg_copy_pdbs() \ No newline at end of file
diff --git a/ports/libpng/portfile.cmake b/ports/libpng/portfile.cmake
index 3b6768560..61500e680 100644
--- a/ports/libpng/portfile.cmake
+++ b/ports/libpng/portfile.cmake
@@ -36,9 +36,7 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
-if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- vcpkg_copy_pdbs()
-else()
+if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/libpng16_static.lib ${CURRENT_PACKAGES_DIR}/lib/libpng16.lib)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/libpng16_staticd.lib ${CURRENT_PACKAGES_DIR}/debug/lib/libpng16d.lib)
endif()
@@ -51,3 +49,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/libpng)
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/libpng)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/libpng/LICENSE ${CURRENT_PACKAGES_DIR}/share/libpng/copyright)
+vcpkg_copy_pdbs()
diff --git a/ports/libwebp/portfile.cmake b/ports/libwebp/portfile.cmake
index 71262f1ba..b9d77c6f6 100644
--- a/ports/libwebp/portfile.cmake
+++ b/ports/libwebp/portfile.cmake
@@ -23,10 +23,8 @@ vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- vcpkg_copy_pdbs()
-endif()
-
# Handle copyright
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libwebp)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/libwebp/COPYING ${CURRENT_PACKAGES_DIR}/share/libwebp/copyright)
+
+vcpkg_copy_pdbs() \ No newline at end of file
diff --git a/ports/openjpeg/portfile.cmake b/ports/openjpeg/portfile.cmake
index 80f18cd86..718ca6ca1 100644
--- a/ports/openjpeg/portfile.cmake
+++ b/ports/openjpeg/portfile.cmake
@@ -30,10 +30,8 @@ file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/vcruntime140.dll)
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/msvcp140.dll)
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/vcruntime140.dll)
-if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- vcpkg_copy_pdbs()
-endif()
-
# Handle copyright
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/openjpeg)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/openjpeg/LICENSE ${CURRENT_PACKAGES_DIR}/share/openjpeg/copyright)
+
+vcpkg_copy_pdbs() \ No newline at end of file
diff --git a/ports/openssl/portfile.cmake b/ports/openssl/portfile.cmake
index 7d693cb59..49d322095 100644
--- a/ports/openssl/portfile.cmake
+++ b/ports/openssl/portfile.cmake
@@ -60,10 +60,10 @@ file(REMOVE
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/openssl RENAME copyright)
-if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- vcpkg_copy_pdbs()
-else()
+if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
# They should be empty, only the exes deleted above were in these directories
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin/)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin/)
endif()
+
+vcpkg_copy_pdbs() \ No newline at end of file
diff --git a/ports/zlib/portfile.cmake b/ports/zlib/portfile.cmake
index ef42536dc..35ca5ff6d 100644
--- a/ports/zlib/portfile.cmake
+++ b/ports/zlib/portfile.cmake
@@ -20,7 +20,6 @@ vcpkg_install_cmake()
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/zlibstatic.lib ${CURRENT_PACKAGES_DIR}/debug/lib/zlibstaticd.lib)
- vcpkg_copy_pdbs()
else()
file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/zlib.lib ${CURRENT_PACKAGES_DIR}/debug/lib/zlibd.lib)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
@@ -29,3 +28,5 @@ else()
endif()
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/zlib RENAME copyright)
+
+vcpkg_copy_pdbs() \ No newline at end of file