File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ set (VCPKG_BUILD_TYPE "release" )
2+ set (VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
3+
4+ vcpkg_from_github(
5+ OUT_SOURCE_PATH SOURCE_PATH
6+ REPO swig/swig
7+ REF "v${VERSION} "
8+ SHA512 0a9bdcc4a28f1374f9e564fdb372f684bd277bf7b590491218c3538c230bcacd8de32365717a37cf5d7d02165dec9f3955e1bb1207181885fb5b7fbc7476ff04
9+ HEAD_REF master
10+ )
11+
12+ vcpkg_find_acquire_program(BISON)
13+ vcpkg_cmake_configure(
14+ SOURCE_PATH "${SOURCE_PATH} "
15+ OPTIONS
16+ "-DBISON_EXECUTABLE=${BISON} "
17+ )
18+
19+ vcpkg_cmake_install()
20+ vcpkg_fixup_pkgconfig()
21+
22+ vcpkg_copy_tools(
23+ TOOL_NAMES swig
24+ DESTINATION "${CURRENT_PACKAGES_DIR} /tools/swig"
25+ )
26+
27+ file (COPY "${CURRENT_PACKAGES_DIR} /bin/" DESTINATION "${CURRENT_PACKAGES_DIR} /tools/swig" )
28+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /bin" )
29+
30+ vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH} /LICENSE" )
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " vcpkg-tool-swig" ,
3+ "version" : " 4.3.0" ,
4+ "description" : " A software development tool that connects programs written in C and C++ with a variety of high-level programming languages." ,
5+ "homepage" : " https://www.swig.org/" ,
6+ "license" : " GPL-3.0-only" ,
7+ "supports" : " !uwp" ,
8+ "dependencies" : [
9+ " pcre2" ,
10+ {
11+ "name" : " vcpkg-cmake" ,
12+ "host" : true
13+ },
14+ {
15+ "name" : " vcpkg-cmake-config" ,
16+ "host" : true
17+ }
18+ ]
19+ }
You can’t perform that action at this time.
0 commit comments