mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 16:43:02 +08:00
Don't copy svm-toy if not on Windows (#16501)
* Don't copy svm-toy if not on Windows svm-toy is only compiled on Windows, so should only be copied on Windows. * Bump port version on libsvm. Switch to new manifest file format. * [libsvm] Format manifest * update version record Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
This commit is contained in:
parent
d3c432d955
commit
77cb26919d
@ -1,7 +0,0 @@
|
||||
Source: libsvm
|
||||
Version: 323-1
|
||||
Description: A library for Support Vector Machines
|
||||
Homepage: https://www.csie.ntu.edu.tw/~cjlin/libsvm/
|
||||
|
||||
Feature: tools
|
||||
Description: Build libsvm tools
|
@ -29,7 +29,11 @@ vcpkg_copy_pdbs()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH share/unofficial-${PORT} TARGET_PATH share/unofficial-${PORT})
|
||||
|
||||
if ("tools" IN_LIST FEATURES)
|
||||
vcpkg_copy_tools(TOOL_NAMES svm-predict svm-scale svm-toy svm-train AUTO_CLEAN)
|
||||
if (WIN32)
|
||||
vcpkg_copy_tools(TOOL_NAMES svm-predict svm-scale svm-toy svm-train AUTO_CLEAN)
|
||||
else ()
|
||||
vcpkg_copy_tools(TOOL_NAMES svm-predict svm-scale svm-train AUTO_CLEAN)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
12
ports/libsvm/vcpkg.json
Normal file
12
ports/libsvm/vcpkg.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "libsvm",
|
||||
"version-string": "323",
|
||||
"port-version": 2,
|
||||
"description": "A library for Support Vector Machines.",
|
||||
"homepage": "https://www.csie.ntu.edu.tw/~cjlin/libsvm/",
|
||||
"features": {
|
||||
"tools": {
|
||||
"description": "build libsvm CLI tools."
|
||||
}
|
||||
}
|
||||
}
|
@ -3445,8 +3445,8 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"libsvm": {
|
||||
"baseline": "323-1",
|
||||
"port-version": 0
|
||||
"baseline": "323",
|
||||
"port-version": 2
|
||||
},
|
||||
"libtheora": {
|
||||
"baseline": "1.2.0alpha1-20170719",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "14f75f50d38f27beddb27fb54bf0927942db9954",
|
||||
"version-string": "323",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "81c8a12b8a8abcbfe0eefa7ea1643ea3118b49a2",
|
||||
"version-string": "323-1",
|
||||
|
Loading…
Reference in New Issue
Block a user