mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
[mlpack] Change the header file directory structure (#40223)
This commit is contained in:
parent
c44d3b5b36
commit
6c2141103d
@ -8,8 +8,10 @@ vcpkg_from_github(
|
||||
)
|
||||
|
||||
# Copy the header files
|
||||
file(GLOB HEADERS "${SOURCE_PATH}/src/*.hpp" "${SOURCE_PATH}/src/mlpack/*.hpp")
|
||||
file(COPY ${HEADERS} DESTINATION "${CURRENT_PACKAGES_DIR}/include/mlpack")
|
||||
file(GLOB HEADERS_SRC "${SOURCE_PATH}/src/*.hpp")
|
||||
file(GLOB HEADERS_MLPACK "${SOURCE_PATH}/src/mlpack/*.hpp")
|
||||
file(COPY ${HEADERS_SRC} DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
||||
file(COPY ${HEADERS_MLPACK} DESTINATION "${CURRENT_PACKAGES_DIR}/include/mlpack")
|
||||
file(COPY "${SOURCE_PATH}/src/mlpack/methods/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/mlpack/methods")
|
||||
file(COPY "${SOURCE_PATH}/src/mlpack/core/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/mlpack/core")
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
The package mlpack is header only and can be used from CMake via:
|
||||
|
||||
find_path(MLPACK_INCLUDE_DIRS "mlpack/mlpack.hpp")
|
||||
find_path(MLPACK_INCLUDE_DIRS "mlpack.hpp")
|
||||
target_include_directories(main PRIVATE ${MLPACK_INCLUDE_DIRS})
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "mlpack",
|
||||
"version": "4.3.0",
|
||||
"port-version": 1,
|
||||
"description": "mlpack is an intuitive, fast, and flexible header-only C++ machine learning library with bindings to other languages.",
|
||||
"homepage": "https://github.com/mlpack/mlpack",
|
||||
"license": "BSD-3-Clause",
|
||||
|
@ -5874,7 +5874,7 @@
|
||||
},
|
||||
"mlpack": {
|
||||
"baseline": "4.3.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"mman": {
|
||||
"baseline": "git-f5ff813",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "f3c84cbe875f9fb8e012180e81ef11b5d3c012b2",
|
||||
"version": "4.3.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "7439b5dbdc37394f6bb291343d634642d919f9d1",
|
||||
"version": "4.3.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user