From ab54bfa0cc98b96a6cffe75e4045ccbd366dbe46 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Fri, 31 Aug 2018 09:07:14 +0900 Subject: [vcpkg] post-build cmake test (#3431) * [vcpkg] post-build cmake test - test for applications with cmake build system - Add a test feature to vcpkg core, make progress for #72 - Tests for zlib, bzip2, libiconv and openssl for example - Test for curl will be failed, because of a bug #3053 It can detect a this type of problems * [vcpkg_test_cmake] Add MODULE parameter to explicitly specify which type of integration to test. * [bzip2] Fix casing of cmake module name --- scripts/templates/portfile.in.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/templates') diff --git a/scripts/templates/portfile.in.cmake b/scripts/templates/portfile.in.cmake index e89ad4640..e44f53aa8 100644 --- a/scripts/templates/portfile.in.cmake +++ b/scripts/templates/portfile.in.cmake @@ -31,3 +31,6 @@ vcpkg_install_cmake() # Handle copyright # file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/@PORT@ RENAME copyright) + +# Post-build test for cmake libraries +# vcpkg_test_cmake(PACKAGE_NAME @PORT@) -- cgit v1.2.3