-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add NuGet build config files #2
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
nuget{ | ||
nuspec{ | ||
id=mlpack; | ||
version: ${BUILD}; | ||
licenseUrl: "https://github.com/mlpack/mlpack/blob/master/LICENSE.txt"; | ||
iconUrl: "http://www.mlpack.org/mlpack.png"; | ||
projectUrl: "https://github.com/mlpack/mlpack"; | ||
title: "mlpack"; | ||
description: "mlpack is an intuitive, fast, scalable C++ machine learning library, meant to be a machine learning analog to LAPACK. It aims to implement a wide array of machine learning methods and functions as a "swiss army knife" for machine learning researchers."; | ||
summary: "Bugs Fixed"; | ||
releaseNotes: ""; | ||
authors: {mlpack Contributors}; | ||
copyright: "Copyright (c) 2007-2017, mlpack contributors"; | ||
tags: {native, nativepackage, mlpack, windows, machine learning, ml, machine, learning}; | ||
} | ||
dependencies { | ||
packages : { | ||
OpenBLAS/0.2.14.1, | ||
armadillo-code/7.800.2, | ||
boost/1.60.0, | ||
boost_unit_test_framework-vc140/1.60.0, | ||
boost_program_options-vc140/1.60.0, | ||
boost_random-vc140/1.60.0, | ||
boost_serialization-vc140/1.60.0, | ||
boost_math_c99-vc140/1.60.0 | ||
}; | ||
} | ||
files{ | ||
nestedInclude:{ | ||
#destination = ${d_include}mlpack; | ||
"build/include/**/*.hpp" | ||
}; | ||
[x64]{ | ||
lib: "build/release/mlpack.lib"; | ||
my_bin: { | ||
#destination:${d_bin}/.; | ||
#add-each-file : ::nuget.[default]targets.[${condition}].CopyToOutput; | ||
"build/release/mlpack.dll" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't this be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CoApp handles *.lib automatically but for bin it creates extra package called mlpack-redist. So, I had to use this simple hack trick. |
||
}; | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove destination here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we remove destination then include folder in NuGet package doesn't get proper structure!