mirror of
https://github.com/nholthaus/units.git
synced 2026-01-14 00:19:27 +01:00
* added compound assignment operators: +=, -=, *=, /=. Closes #44. * print undefined unit types in SI base units. Closes #38. Update constants to NIST 2014 CODATA recommendations. * Reduce metaprogramming boilerplate * workaround for vs2013 internal compiler error * added data and data transfer units. Closes #46. * update doxyfile.in to v2.2.0 * add constexpr std::array test * add julian and gregorian year definitions. Closes #29. * added `value()` and `value_type` trait. Closes #56. * fixes constexpr relational operator bug. Closes #63. * improve compile time. * removed some debug code. * measure compile time * Friend the linear scale units. Reduces compile time. * add inline to pow() and abs() for being able to use units.h in different compilation units * Revert "Friend the linear scale units. Reduces compile time." This reverts commite26fcd7d9b. * Revert "add inline to pow() and abs() for being able to use units.h in different compilation units" This reverts commitd42020e1de. * add inline to pow() and abs() for being able to use units.h in different compilation units * Test with Visual Studio 2017 * Another attempt at using Visual Studio 2017 in appveyor * Build with VS2017 * add MSVC2017 badge * started min/max * fixes #65, fixes #71, fixes #76, fixes #79, fixes #80. Adds documentation. * fix for vs2013, gcc * updated docs * fix for vs2013 * remove gcc warnings, add prefined unit defines * min/max shouldn't be constexpr * fix cmake * more cmake fixes * numeric_limits namespace * fixes #77. * fixes #75 & documentation * fixed merge issues * for Morwenn * Make the project work with both ninja and msvc generators on windows * Fixes #106. Locale aware `to_string` conversions. * Fixes #105. Unary operators. Also removes VS 2013 testing (and support) * Fixes #87. Don't include `to_string()` when iostream is disabled. * fix a mistake in the unary +/- * Add constexpr name/abbreviation member functions which don't require iostream. * Fixes for linux build
27 lines
975 B
JSON
27 lines
975 B
JSON
{
|
|
// See https://go.microsoft.com//fwlink//?linkid=834763 for more information about this file.
|
|
"configurations": [
|
|
{
|
|
"name": "Debug",
|
|
"generator": "Ninja",
|
|
"configurationType": "Debug",
|
|
"inheritEnvironments": [ "msvc_x64_x64" ],
|
|
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
|
|
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}",
|
|
"cmakeCommandArgs": "",
|
|
"buildCommandArgs": "-v",
|
|
"ctestCommandArgs": ""
|
|
},
|
|
{
|
|
"name": "Release",
|
|
"generator": "Ninja",
|
|
"configurationType": "RelWithDebInfo",
|
|
"inheritEnvironments": [ "msvc_x64_x64" ],
|
|
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
|
|
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}",
|
|
"cmakeCommandArgs": "",
|
|
"buildCommandArgs": "-v",
|
|
"ctestCommandArgs": ""
|
|
}
|
|
]
|
|
} |