[MSbuild] Extend support to v142 toolset

- Added support for current default toolset, explitly specified c++17 standard and 8.1 win sdk.
  - properties were defined via `common_default.props` and `common_default_macros.props`
 Note: There are 2 files because some properties need to be imported before `Microsoft.Cpp.Default.props` , but other common properties can be imported after but they require marco defined in `Microsoft.Cpp.Default.props`.
- Added hidapi and libusb project files to repository to simplify msbuild changes.
This commit is contained in:
max 2019-07-24 19:01:55 +03:00 committed by Ivan
parent 4cfff8ea4a
commit c5440c95c8
22 changed files with 290 additions and 47 deletions

View file

@ -19,7 +19,7 @@
<SDLCheck>false</SDLCheck>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<AdditionalOptions>/Zc:throwingNew /std:c++latest</AdditionalOptions>
<AdditionalOptions>/Zc:throwingNew</AdditionalOptions>
</ClCompile>
<Link>
<AdditionalDependencies>xxhash.lib;ws2_32.lib;avcodec.lib;avformat.lib;avutil.lib;swresample.lib;swscale.lib</AdditionalDependencies>