From 252bd7dd4596ebf4acaa084438b2320a344ad737 Mon Sep 17 00:00:00 2001 From: Nick Banks Date: Sun, 6 Nov 2016 22:31:54 -0800 Subject: [PATCH] Add Windows ARM Build Support (#935) * Clean up and move project files to universal platform. Adds arm to appveyor * A couple of project file fixes * Use props file for common configuration --- .appveyor.yml | 3 +- .appveyor/run_unit_tests.cmd | 31 +++ etc/visual-studio/UnitTests.vcxproj | 172 ++++----------- etc/visual-studio/libopenthread-cli.vcxproj | 206 +++++------------ .../libopenthread-ncp-spi.vcxproj | 207 +++++------------- .../libopenthread-ncp-uart.vcxproj | 207 +++++------------- .../libopenthread-windows.vcxproj | 207 +++++------------- etc/visual-studio/libopenthread.vcxproj | 202 +++++------------ etc/visual-studio/libopenthread_k.vcxproj | 33 +-- .../libopenthread_k.vcxproj.filters | 23 +- etc/visual-studio/mbedtls.vcxproj | 198 +++++------------ etc/visual-studio/mbedtls_k.vcxproj | 31 +-- .../openthread.configuration.props | 29 +++ etc/visual-studio/openthread.sln | 64 ++++++ etc/visual-studio/ot-cli.vcxproj | 163 +++----------- etc/visual-studio/ot-ncp-spi.vcxproj | 164 +++----------- etc/visual-studio/ot-ncp-uart.vcxproj | 164 +++----------- etc/visual-studio/otApi.vcxproj | 186 +++------------- etc/visual-studio/otLwf.vcxproj | 38 +--- examples/drivers/windows/otLwf/otLwf.inf | 50 +++-- 20 files changed, 668 insertions(+), 1710 deletions(-) create mode 100644 .appveyor/run_unit_tests.cmd create mode 100644 etc/visual-studio/openthread.configuration.props diff --git a/.appveyor.yml b/.appveyor.yml index 34a6cdbf4..bf7d74102 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -34,6 +34,7 @@ configuration: platform: - x64 - x86 +- arm clone_depth: 10 install: - cmd: Bcdedit.exe -set TESTSIGNING ON @@ -53,7 +54,7 @@ after_build: - cmd: .appveyor\install_driver.cmd test_script: # Run the unit tests - - cmd: vstest.console /logger:Appveyor /inIsolation /platform:%Platform% build\bin\%Platform2%\%Configuration%\dll\UnitTests.dll + - cmd: .appveyor\run_unit_tests.cmd # Run the tests for the driver (only runs on x64) - cmd: .appveyor\test_driver.cmd artifacts: diff --git a/.appveyor/run_unit_tests.cmd b/.appveyor/run_unit_tests.cmd new file mode 100644 index 000000000..c4f496c06 --- /dev/null +++ b/.appveyor/run_unit_tests.cmd @@ -0,0 +1,31 @@ +REM +REM Copyright (c) 2016, The OpenThread Authors. +REM All rights reserved. +REM +REM Redistribution and use in source and binary forms, with or without +REM modification, are permitted provided that the following conditions are met: +REM 1. Redistributions of source code must retain the above copyright +REM notice, this list of conditions and the following disclaimer. +REM 2. Redistributions in binary form must reproduce the above copyright +REM notice, this list of conditions and the following disclaimer in the +REM documentation and/or other materials provided with the distribution. +REM 3. Neither the name of the copyright holder nor the +REM names of its contributors may be used to endorse or promote products +REM derived from this software without specific prior written permission. +REM +REM THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +REM AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +REM IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +REM ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +REM LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +REM CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +REM SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +REM INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +REM CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +REM ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +REM POSSIBILITY OF SUCH DAMAGE. +REM + +IF "%Platform%"=="arm" GOTO :EOF + +vstest.console /logger:Appveyor /inIsolation /platform:%Platform% build\bin\%Platform2%\%Configuration%\dll\UnitTests.dll \ No newline at end of file diff --git a/etc/visual-studio/UnitTests.vcxproj b/etc/visual-studio/UnitTests.vcxproj index 0dc711ee5..03403e498 100644 --- a/etc/visual-studio/UnitTests.vcxproj +++ b/etc/visual-studio/UnitTests.vcxproj @@ -1,164 +1,70 @@  - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - + {FD64BF17-8D36-4578-8D13-77B123BE30D3} Win32Proj - UnitTests - 8.1 + Thread + Windows Store + 14.0 + 10.0.10586.0 + 10.0.10240.0 + 10.0 - + DynamicLibrary true v140 - Unicode - false - + DynamicLibrary false v140 true - Unicode - false - - - DynamicLibrary - true - v140 - Unicode - false - - - DynamicLibrary - false - v140 - true - Unicode - false - - - - - - - - - - - - - - + + + - - true - ..\..\build\bin\$(Platform)\$(Configuration)\dll\ + ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - - - true ..\..\build\bin\$(Platform)\$(Configuration)\dll\ - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - - false - ..\..\build\bin\$(Platform)\$(Configuration)\dll\ - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - - - false - ..\..\build\bin\$(Platform)\$(Configuration)\dll\ - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - - + + + %(AdditionalIncludeDirectories); + $(VCInstallDir)UnitTest\include; + ..\..\include; + ..\..\src; + ..\..\src\core; + ..\..\third_party\mbedtls; + ..\..\third_party\mbedtls\repo\include; + + + %(PreprocessorDefinitions) + MBEDTLS_CONFIG_FILE="mbedtls-config.h"; + OPENTHREAD_CONFIG_FILE="openthread-windows-config.h"; + Level3 - Disabled - $(VCInstallDir)UnitTest\include;..\..\include;..\..\src;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) true Windows - $(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories) - ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-ncp-uart.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib;%(AdditionalDependencies) - - - - - Level3 - Disabled - $(VCInstallDir)UnitTest\include;..\..\include;..\..\src;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - _DEBUG;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - - - - - Windows - $(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories) - ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-ncp-uart.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib;%(AdditionalDependencies) - - - - - Level3 - MaxSpeed - true - true - $(VCInstallDir)UnitTest\include;..\..\include;..\..\src;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - - - Windows - true - true - $(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories) - ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-ncp-uart.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib;%(AdditionalDependencies) - - - - - Level3 - MaxSpeed - true - true - $(VCInstallDir)UnitTest\include;..\..\include;..\..\src;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - NDEBUG;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - - - - - Windows - true - true - $(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories) - ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-ncp-uart.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib;%(AdditionalDependencies) + + %(AdditionalLibraryDirectories); + $(VCInstallDir)UnitTest\lib; + + + %(AdditionalDependencies); + ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib; + ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-ncp-uart.lib; + ..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib; + @@ -197,4 +103,4 @@ - + \ No newline at end of file diff --git a/etc/visual-studio/libopenthread-cli.vcxproj b/etc/visual-studio/libopenthread-cli.vcxproj index 3d6f976ad..9171ca4e9 100644 --- a/etc/visual-studio/libopenthread-cli.vcxproj +++ b/etc/visual-studio/libopenthread-cli.vcxproj @@ -1,164 +1,64 @@  - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - + + + {41B32069-632E-4578-855B-A36EBFA80B56} + StaticLibrary + Thread + Windows Store + 14.0 + 10.0.10586.0 + 10.0.10240.0 + 10.0 + + + + StaticLibrary + true + v140 + + + StaticLibrary + false + v140 + true + + + + + + + + + + ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ + ..\..\build\bin\$(Platform)\$(Configuration)\lib\ + + + + + %(PreprocessorDefinitions); + MBEDTLS_CONFIG_FILE="mbedtls-config.h"; + OPENTHREAD_CONFIG_FILE="openthread-windows-config.h"; + + + %(AdditionalIncludeDirectories); + ..\..\include; + ..\..\src; + ..\..\src\core; + ..\..\third_party\mbedtls; + ..\..\third_party\mbedtls\repo\include; + + Level3 + true + + - - {41B32069-632E-4578-855B-A36EBFA80B56} - Win32Proj - Thread - 8.1 - - - - StaticLibrary - true - v140 - Unicode - - - StaticLibrary - false - v140 - true - Unicode - - - StaticLibrary - true - v140 - Unicode - - - StaticLibrary - false - v140 - true - Unicode - - - - - - - - - - - - - - - - - - - - - true - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - true - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - false - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - false - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - - - - Level3 - Disabled - WIN32;_DEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - - - Windows - - - - - - - Level3 - Disabled - _DEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - - - Windows - - - - - Level3 - - - MaxSpeed - true - true - WIN32;NDEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - - - Windows - true - true - - - - - Level3 - - - MaxSpeed - true - true - NDEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - - - Windows - true - true - - diff --git a/etc/visual-studio/libopenthread-ncp-spi.vcxproj b/etc/visual-studio/libopenthread-ncp-spi.vcxproj index 8cdd7493a..9009a4d42 100644 --- a/etc/visual-studio/libopenthread-ncp-spi.vcxproj +++ b/etc/visual-studio/libopenthread-ncp-spi.vcxproj @@ -1,23 +1,58 @@  - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - + + + {B92F449E-0FD9-44FC-ACFA-6521A3240CA2} + StaticLibrary + Thread + Windows Store + 14.0 + 10.0.10586.0 + 10.0.10240.0 + 10.0 + + + + StaticLibrary + true + v140 + + + StaticLibrary + false + v140 + true + + + + + + + + + + ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ + ..\..\build\bin\$(Platform)\$(Configuration)\lib\ + + + + + %(PreprocessorDefinitions); + MBEDTLS_CONFIG_FILE="mbedtls-config.h"; + OPENTHREAD_CONFIG_FILE="openthread-windows-config.h"; + + + %(AdditionalIncludeDirectories); + ..\..\include; + ..\..\src; + ..\..\src\core; + ..\..\third_party\mbedtls; + ..\..\third_party\mbedtls\repo\include; + + Level3 + true + + @@ -30,142 +65,6 @@ - - {B92F449E-0FD9-44FC-ACFA-6521A3240CA2} - Win32Proj - Thread - 8.1 - libopenthread-ncp-spi - - - - StaticLibrary - true - v140 - Unicode - - - StaticLibrary - false - v140 - true - Unicode - - - StaticLibrary - true - v140 - Unicode - - - StaticLibrary - false - v140 - true - Unicode - - - - - - - - - - - - - - - - - - - - - true - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - true - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - false - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - false - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - - - - Level3 - Disabled - WIN32;_DEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - - - Windows - - - - - - - Level3 - Disabled - _DEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - - - Windows - - - - - Level3 - - - MaxSpeed - true - true - WIN32;NDEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - - - Windows - true - true - - - - - Level3 - - - MaxSpeed - true - true - NDEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - - - Windows - true - true - - diff --git a/etc/visual-studio/libopenthread-ncp-uart.vcxproj b/etc/visual-studio/libopenthread-ncp-uart.vcxproj index f86282fb4..2028a1e1c 100644 --- a/etc/visual-studio/libopenthread-ncp-uart.vcxproj +++ b/etc/visual-studio/libopenthread-ncp-uart.vcxproj @@ -1,23 +1,58 @@  - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - + + + {D94867D2-6DAE-47E2-962A-5E8E658134D1} + StaticLibrary + Thread + Windows Store + 14.0 + 10.0.10586.0 + 10.0.10240.0 + 10.0 + + + + StaticLibrary + true + v140 + + + StaticLibrary + false + v140 + true + + + + + + + + + + ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ + ..\..\build\bin\$(Platform)\$(Configuration)\lib\ + + + + + %(PreprocessorDefinitions); + MBEDTLS_CONFIG_FILE="mbedtls-config.h"; + OPENTHREAD_CONFIG_FILE="openthread-windows-config.h"; + + + %(AdditionalIncludeDirectories); + ..\..\include; + ..\..\src; + ..\..\src\core; + ..\..\third_party\mbedtls; + ..\..\third_party\mbedtls\repo\include; + + Level3 + true + + @@ -34,142 +69,6 @@ - - {D94867D2-6DAE-47E2-962A-5E8E658134D1} - Win32Proj - Thread - 8.1 - libopenthread-ncp-uart - - - - StaticLibrary - true - v140 - Unicode - - - StaticLibrary - false - v140 - true - Unicode - - - StaticLibrary - true - v140 - Unicode - - - StaticLibrary - false - v140 - true - Unicode - - - - - - - - - - - - - - - - - - - - - true - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - true - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - false - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - false - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - - - - Level3 - Disabled - WIN32;_DEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - - - Windows - - - - - - - Level3 - Disabled - _DEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - - - Windows - - - - - Level3 - - - MaxSpeed - true - true - WIN32;NDEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - - - Windows - true - true - - - - - Level3 - - - MaxSpeed - true - true - NDEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - - - Windows - true - true - - diff --git a/etc/visual-studio/libopenthread-windows.vcxproj b/etc/visual-studio/libopenthread-windows.vcxproj index d759ed142..f9a0acb6f 100644 --- a/etc/visual-studio/libopenthread-windows.vcxproj +++ b/etc/visual-studio/libopenthread-windows.vcxproj @@ -1,23 +1,55 @@  - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - + + + {30723C38-BA3B-44C9-8D64-C5861A26934F} + StaticLibrary + Thread + Windows Store + 14.0 + 10.0.10586.0 + 10.0.10240.0 + 10.0 + + + + StaticLibrary + true + v140 + + + StaticLibrary + false + v140 + true + + + + + + + + + + ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ + ..\..\build\bin\$(Platform)\$(Configuration)\lib\ + + + + Level3 + + %(PreprocessorDefinitions); + OPENTHREAD_CONFIG_FILE="openthread-windows-config.h"; + + + %(AdditionalIncludeDirectories); + ..\..\include; + ..\..\examples\platforms; + ..\..\src\core; + + true + + @@ -34,144 +66,7 @@ - - {30723C38-BA3B-44C9-8D64-C5861A26934F} - Win32Proj - Thread - 8.1 - libopenthread-windows - - - - StaticLibrary - true - v140 - Unicode - - - StaticLibrary - false - v140 - true - Unicode - - - StaticLibrary - true - v140 - Unicode - - - StaticLibrary - false - v140 - true - Unicode - - - - - - - - - - - - - - - - - - - - - true - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - true - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - false - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - false - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - - - - Level3 - Disabled - WIN32;_DEBUG;_WINDOWS;_USRDLL;OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\examples\platforms - - - Windows - true - - - - - - - Level3 - Disabled - _DEBUG;_WINDOWS;_USRDLL;OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\examples\platforms - - - Windows - - - - - Level3 - - - MaxSpeed - true - true - WIN32;NDEBUG;_WINDOWS;_USRDLL;OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\examples\platforms - - - Windows - true - true - - - - - Level3 - - - MaxSpeed - true - true - NDEBUG;_WINDOWS;_USRDLL;OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\examples\platforms - - - Windows - true - true - - - + \ No newline at end of file diff --git a/etc/visual-studio/libopenthread.vcxproj b/etc/visual-studio/libopenthread.vcxproj index e3011643f..984ba09c2 100644 --- a/etc/visual-studio/libopenthread.vcxproj +++ b/etc/visual-studio/libopenthread.vcxproj @@ -1,23 +1,58 @@  - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - + + + {DD5018BE-54C6-4FD4-9F8D-08D52FC0CD40} + StaticLibrary + Thread + Windows Store + 14.0 + 10.0.10586.0 + 10.0.10240.0 + 10.0 + + + + StaticLibrary + true + v140 + + + StaticLibrary + false + v140 + true + + + + + + + + + + ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ + ..\..\build\bin\$(Platform)\$(Configuration)\lib\ + + + + + %(PreprocessorDefinitions); + MBEDTLS_CONFIG_FILE="mbedtls-config.h"; + OPENTHREAD_CONFIG_FILE="openthread-windows-config.h"; + + + %(AdditionalIncludeDirectories); + ..\..\include; + ..\..\src\core; + ..\..\third_party\mbedtls; + ..\..\third_party\mbedtls\repo\include; + + Level3 + true + true + + @@ -151,136 +186,7 @@ - - {DD5018BE-54C6-4FD4-9F8D-08D52FC0CD40} - Win32Proj - libopenthread - 8.1 - - - - StaticLibrary - true - v140 - Unicode - - - StaticLibrary - false - v140 - true - Unicode - - - StaticLibrary - true - v140 - Unicode - - - StaticLibrary - false - v140 - true - Unicode - - - - - - - - - - - - - - - - - - - - - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - - - - Level3 - Disabled - WIN32;_DEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - ProgramDatabase - true - - - Windows - - - - - Level3 - Disabled - _DEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - ProgramDatabase - true - - - Windows - - - - - Level3 - MaxSpeed - true - true - WIN32;NDEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - true - - - Windows - true - true - - - - - Level3 - MaxSpeed - true - true - NDEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;%(AdditionalIncludeDirectories) - true - - - Windows - true - true - - - + \ No newline at end of file diff --git a/etc/visual-studio/libopenthread_k.vcxproj b/etc/visual-studio/libopenthread_k.vcxproj index 39f685004..e5753c094 100644 --- a/etc/visual-studio/libopenthread_k.vcxproj +++ b/etc/visual-studio/libopenthread_k.vcxproj @@ -1,46 +1,29 @@  - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - + {9B33C190-5D07-40BF-9536-68843DC5D7AF} - {0a049372-4c4d-4ea0-a64e-dc6ad88ceca1} + {8c0e3d8b-df43-455b-815a-4a0e72973bc6} v4.5 12.0 Debug Win32 Thread KMDF - $(LatestTargetPlatformVersion) + Universal + + + WindowsKernelModeDriver10.0 + StaticLibrary Windows10 true - WindowsKernelModeDriver10.0 - StaticLibrary Windows10 false - WindowsKernelModeDriver10.0 - StaticLibrary @@ -220,4 +203,4 @@ - + \ No newline at end of file diff --git a/etc/visual-studio/libopenthread_k.vcxproj.filters b/etc/visual-studio/libopenthread_k.vcxproj.filters index 6918d38d1..8bd66c267 100644 --- a/etc/visual-studio/libopenthread_k.vcxproj.filters +++ b/etc/visual-studio/libopenthread_k.vcxproj.filters @@ -93,12 +93,6 @@ Source Files\mac - - Source Files\net - - - Source Files\net - Source Files\net @@ -284,15 +278,6 @@ Header Files\mac - - Source Files\net - - - Source Files\net - - - Source Files\net - Header Files\net @@ -458,5 +443,11 @@ Header Files + + + + + + - + \ No newline at end of file diff --git a/etc/visual-studio/mbedtls.vcxproj b/etc/visual-studio/mbedtls.vcxproj index 288b58378..ef36a6c33 100644 --- a/etc/visual-studio/mbedtls.vcxproj +++ b/etc/visual-studio/mbedtls.vcxproj @@ -1,23 +1,57 @@  - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - + + + {4111C8BB-D354-4348-AD3C-EB6832E84831} + Win32Proj + mbedtls + Windows Store + 14.0 + 10.0.10586.0 + 10.0.10240.0 + 10.0 + + + + StaticLibrary + true + v140 + + + StaticLibrary + false + v140 + true + + + + + + + + + + ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ + ..\..\build\bin\$(Platform)\$(Configuration)\lib\ + + + + + ;%(PreprocessorDefinitions); + MBEDTLS_CONFIG_FILE="mbedtls-config.h" + + + ..\..\include; + ..\..\src\core; + ..\..\third_party\mbedtls; + ..\..\third_party\mbedtls\repo\include; + ..\..\third_party\mbedtls\repo\include\mbedtls + + Level3 + true + true + + @@ -44,134 +78,6 @@ - - {4111C8BB-D354-4348-AD3C-EB6832E84831} - Win32Proj - mbedtls - 8.1 - mbedtls - - - - StaticLibrary - true - v140 - Unicode - - - StaticLibrary - false - v140 - true - Unicode - - - StaticLibrary - true - v140 - Unicode - - - StaticLibrary - false - v140 - true - Unicode - - - - - - - - - - - - - - - - - - - - - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - - - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - - - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - - - ..\..\build\bin\$(Platform)\$(Configuration)\lib\ - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - - - - Level3 - Disabled - WIN32;_DEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;..\..\third_party\mbedtls\repo\include\mbedtls - true - - - Windows - - - - - Level3 - Disabled - _DEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;..\..\third_party\mbedtls\repo\include\mbedtls - true - - - Windows - - - - - Level3 - MaxSpeed - true - true - WIN32;NDEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;..\..\third_party\mbedtls\repo\include\mbedtls - true - - - Windows - true - true - - - - - Level3 - MaxSpeed - true - true - NDEBUG;_LIB;MBEDTLS_CONFIG_FILE="mbedtls-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\third_party\mbedtls;..\..\third_party\mbedtls\repo\include;..\..\third_party\mbedtls\repo\include\mbedtls - true - - - Windows - true - true - - diff --git a/etc/visual-studio/mbedtls_k.vcxproj b/etc/visual-studio/mbedtls_k.vcxproj index 266fad723..734631686 100644 --- a/etc/visual-studio/mbedtls_k.vcxproj +++ b/etc/visual-studio/mbedtls_k.vcxproj @@ -1,46 +1,29 @@  - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - + {69BE8E8C-CF1E-46D6-932B-DB435F47059B} - {0a049372-4c4d-4ea0-a64e-dc6ad88ceca1} + {8c0e3d8b-df43-455b-815a-4a0e72973bc6} v4.5 12.0 Debug Win32 Thread KMDF - $(LatestTargetPlatformVersion) + Universal + + + WindowsKernelModeDriver10.0 + StaticLibrary Windows10 true - WindowsKernelModeDriver10.0 - StaticLibrary Windows10 false - WindowsKernelModeDriver10.0 - StaticLibrary diff --git a/etc/visual-studio/openthread.configuration.props b/etc/visual-studio/openthread.configuration.props new file mode 100644 index 000000000..12a29dc1e --- /dev/null +++ b/etc/visual-studio/openthread.configuration.props @@ -0,0 +1,29 @@ + + + + + Debug + ARM + + + Release + ARM + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + \ No newline at end of file diff --git a/etc/visual-studio/openthread.sln b/etc/visual-studio/openthread.sln index bb79d12d3..825fdfd2c 100644 --- a/etc/visual-studio/openthread.sln +++ b/etc/visual-studio/openthread.sln @@ -50,128 +50,192 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "otApi", "otApi.vcxproj", "{ EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|ARM = Debug|ARM Debug|x64 = Debug|x64 Debug|x86 = Debug|x86 + Release|ARM = Release|ARM Release|x64 = Release|x64 Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DD5018BE-54C6-4FD4-9F8D-08D52FC0CD40}.Debug|ARM.ActiveCfg = Debug|ARM + {DD5018BE-54C6-4FD4-9F8D-08D52FC0CD40}.Debug|ARM.Build.0 = Debug|ARM {DD5018BE-54C6-4FD4-9F8D-08D52FC0CD40}.Debug|x64.ActiveCfg = Debug|x64 {DD5018BE-54C6-4FD4-9F8D-08D52FC0CD40}.Debug|x64.Build.0 = Debug|x64 {DD5018BE-54C6-4FD4-9F8D-08D52FC0CD40}.Debug|x86.ActiveCfg = Debug|Win32 {DD5018BE-54C6-4FD4-9F8D-08D52FC0CD40}.Debug|x86.Build.0 = Debug|Win32 + {DD5018BE-54C6-4FD4-9F8D-08D52FC0CD40}.Release|ARM.ActiveCfg = Release|ARM + {DD5018BE-54C6-4FD4-9F8D-08D52FC0CD40}.Release|ARM.Build.0 = Release|ARM {DD5018BE-54C6-4FD4-9F8D-08D52FC0CD40}.Release|x64.ActiveCfg = Release|x64 {DD5018BE-54C6-4FD4-9F8D-08D52FC0CD40}.Release|x64.Build.0 = Release|x64 {DD5018BE-54C6-4FD4-9F8D-08D52FC0CD40}.Release|x86.ActiveCfg = Release|Win32 {DD5018BE-54C6-4FD4-9F8D-08D52FC0CD40}.Release|x86.Build.0 = Release|Win32 + {9B33C190-5D07-40BF-9536-68843DC5D7AF}.Debug|ARM.ActiveCfg = Debug|ARM + {9B33C190-5D07-40BF-9536-68843DC5D7AF}.Debug|ARM.Build.0 = Debug|ARM + {9B33C190-5D07-40BF-9536-68843DC5D7AF}.Debug|ARM.Deploy.0 = Debug|ARM {9B33C190-5D07-40BF-9536-68843DC5D7AF}.Debug|x64.ActiveCfg = Debug|x64 {9B33C190-5D07-40BF-9536-68843DC5D7AF}.Debug|x64.Build.0 = Debug|x64 {9B33C190-5D07-40BF-9536-68843DC5D7AF}.Debug|x86.ActiveCfg = Debug|Win32 {9B33C190-5D07-40BF-9536-68843DC5D7AF}.Debug|x86.Build.0 = Debug|Win32 {9B33C190-5D07-40BF-9536-68843DC5D7AF}.Debug|x86.Deploy.0 = Debug|Win32 + {9B33C190-5D07-40BF-9536-68843DC5D7AF}.Release|ARM.ActiveCfg = Release|ARM + {9B33C190-5D07-40BF-9536-68843DC5D7AF}.Release|ARM.Build.0 = Release|ARM + {9B33C190-5D07-40BF-9536-68843DC5D7AF}.Release|ARM.Deploy.0 = Release|ARM {9B33C190-5D07-40BF-9536-68843DC5D7AF}.Release|x64.ActiveCfg = Release|x64 {9B33C190-5D07-40BF-9536-68843DC5D7AF}.Release|x64.Build.0 = Release|x64 {9B33C190-5D07-40BF-9536-68843DC5D7AF}.Release|x86.ActiveCfg = Release|Win32 {9B33C190-5D07-40BF-9536-68843DC5D7AF}.Release|x86.Build.0 = Release|Win32 {9B33C190-5D07-40BF-9536-68843DC5D7AF}.Release|x86.Deploy.0 = Release|Win32 + {4111C8BB-D354-4348-AD3C-EB6832E84831}.Debug|ARM.ActiveCfg = Debug|ARM + {4111C8BB-D354-4348-AD3C-EB6832E84831}.Debug|ARM.Build.0 = Debug|ARM {4111C8BB-D354-4348-AD3C-EB6832E84831}.Debug|x64.ActiveCfg = Debug|x64 {4111C8BB-D354-4348-AD3C-EB6832E84831}.Debug|x64.Build.0 = Debug|x64 {4111C8BB-D354-4348-AD3C-EB6832E84831}.Debug|x86.ActiveCfg = Debug|Win32 {4111C8BB-D354-4348-AD3C-EB6832E84831}.Debug|x86.Build.0 = Debug|Win32 + {4111C8BB-D354-4348-AD3C-EB6832E84831}.Release|ARM.ActiveCfg = Release|ARM + {4111C8BB-D354-4348-AD3C-EB6832E84831}.Release|ARM.Build.0 = Release|ARM {4111C8BB-D354-4348-AD3C-EB6832E84831}.Release|x64.ActiveCfg = Release|x64 {4111C8BB-D354-4348-AD3C-EB6832E84831}.Release|x64.Build.0 = Release|x64 {4111C8BB-D354-4348-AD3C-EB6832E84831}.Release|x86.ActiveCfg = Release|Win32 {4111C8BB-D354-4348-AD3C-EB6832E84831}.Release|x86.Build.0 = Release|Win32 + {69BE8E8C-CF1E-46D6-932B-DB435F47059B}.Debug|ARM.ActiveCfg = Debug|ARM + {69BE8E8C-CF1E-46D6-932B-DB435F47059B}.Debug|ARM.Build.0 = Debug|ARM + {69BE8E8C-CF1E-46D6-932B-DB435F47059B}.Debug|ARM.Deploy.0 = Debug|ARM {69BE8E8C-CF1E-46D6-932B-DB435F47059B}.Debug|x64.ActiveCfg = Debug|x64 {69BE8E8C-CF1E-46D6-932B-DB435F47059B}.Debug|x64.Build.0 = Debug|x64 {69BE8E8C-CF1E-46D6-932B-DB435F47059B}.Debug|x86.ActiveCfg = Debug|Win32 {69BE8E8C-CF1E-46D6-932B-DB435F47059B}.Debug|x86.Build.0 = Debug|Win32 {69BE8E8C-CF1E-46D6-932B-DB435F47059B}.Debug|x86.Deploy.0 = Debug|Win32 + {69BE8E8C-CF1E-46D6-932B-DB435F47059B}.Release|ARM.ActiveCfg = Release|ARM + {69BE8E8C-CF1E-46D6-932B-DB435F47059B}.Release|ARM.Build.0 = Release|ARM + {69BE8E8C-CF1E-46D6-932B-DB435F47059B}.Release|ARM.Deploy.0 = Release|ARM {69BE8E8C-CF1E-46D6-932B-DB435F47059B}.Release|x64.ActiveCfg = Release|x64 {69BE8E8C-CF1E-46D6-932B-DB435F47059B}.Release|x64.Build.0 = Release|x64 {69BE8E8C-CF1E-46D6-932B-DB435F47059B}.Release|x86.ActiveCfg = Release|Win32 {69BE8E8C-CF1E-46D6-932B-DB435F47059B}.Release|x86.Build.0 = Release|Win32 {69BE8E8C-CF1E-46D6-932B-DB435F47059B}.Release|x86.Deploy.0 = Release|Win32 + {FD64BF17-8D36-4578-8D13-77B123BE30D3}.Debug|ARM.ActiveCfg = Debug|ARM + {FD64BF17-8D36-4578-8D13-77B123BE30D3}.Debug|ARM.Build.0 = Debug|ARM {FD64BF17-8D36-4578-8D13-77B123BE30D3}.Debug|x64.ActiveCfg = Debug|x64 {FD64BF17-8D36-4578-8D13-77B123BE30D3}.Debug|x64.Build.0 = Debug|x64 {FD64BF17-8D36-4578-8D13-77B123BE30D3}.Debug|x86.ActiveCfg = Debug|Win32 {FD64BF17-8D36-4578-8D13-77B123BE30D3}.Debug|x86.Build.0 = Debug|Win32 + {FD64BF17-8D36-4578-8D13-77B123BE30D3}.Release|ARM.ActiveCfg = Release|ARM + {FD64BF17-8D36-4578-8D13-77B123BE30D3}.Release|ARM.Build.0 = Release|ARM {FD64BF17-8D36-4578-8D13-77B123BE30D3}.Release|x64.ActiveCfg = Release|x64 {FD64BF17-8D36-4578-8D13-77B123BE30D3}.Release|x64.Build.0 = Release|x64 {FD64BF17-8D36-4578-8D13-77B123BE30D3}.Release|x86.ActiveCfg = Release|Win32 {FD64BF17-8D36-4578-8D13-77B123BE30D3}.Release|x86.Build.0 = Release|Win32 + {30723C38-BA3B-44C9-8D64-C5861A26934F}.Debug|ARM.ActiveCfg = Debug|ARM + {30723C38-BA3B-44C9-8D64-C5861A26934F}.Debug|ARM.Build.0 = Debug|ARM {30723C38-BA3B-44C9-8D64-C5861A26934F}.Debug|x64.ActiveCfg = Debug|x64 {30723C38-BA3B-44C9-8D64-C5861A26934F}.Debug|x64.Build.0 = Debug|x64 {30723C38-BA3B-44C9-8D64-C5861A26934F}.Debug|x86.ActiveCfg = Debug|Win32 {30723C38-BA3B-44C9-8D64-C5861A26934F}.Debug|x86.Build.0 = Debug|Win32 + {30723C38-BA3B-44C9-8D64-C5861A26934F}.Release|ARM.ActiveCfg = Release|ARM + {30723C38-BA3B-44C9-8D64-C5861A26934F}.Release|ARM.Build.0 = Release|ARM {30723C38-BA3B-44C9-8D64-C5861A26934F}.Release|x64.ActiveCfg = Release|x64 {30723C38-BA3B-44C9-8D64-C5861A26934F}.Release|x64.Build.0 = Release|x64 {30723C38-BA3B-44C9-8D64-C5861A26934F}.Release|x86.ActiveCfg = Release|Win32 {30723C38-BA3B-44C9-8D64-C5861A26934F}.Release|x86.Build.0 = Release|Win32 + {41B32069-632E-4578-855B-A36EBFA80B56}.Debug|ARM.ActiveCfg = Debug|ARM + {41B32069-632E-4578-855B-A36EBFA80B56}.Debug|ARM.Build.0 = Debug|ARM {41B32069-632E-4578-855B-A36EBFA80B56}.Debug|x64.ActiveCfg = Debug|x64 {41B32069-632E-4578-855B-A36EBFA80B56}.Debug|x64.Build.0 = Debug|x64 {41B32069-632E-4578-855B-A36EBFA80B56}.Debug|x86.ActiveCfg = Debug|Win32 {41B32069-632E-4578-855B-A36EBFA80B56}.Debug|x86.Build.0 = Debug|Win32 + {41B32069-632E-4578-855B-A36EBFA80B56}.Release|ARM.ActiveCfg = Release|ARM + {41B32069-632E-4578-855B-A36EBFA80B56}.Release|ARM.Build.0 = Release|ARM {41B32069-632E-4578-855B-A36EBFA80B56}.Release|x64.ActiveCfg = Release|x64 {41B32069-632E-4578-855B-A36EBFA80B56}.Release|x64.Build.0 = Release|x64 {41B32069-632E-4578-855B-A36EBFA80B56}.Release|x86.ActiveCfg = Release|Win32 {41B32069-632E-4578-855B-A36EBFA80B56}.Release|x86.Build.0 = Release|Win32 + {91D3ADEA-F1FE-4433-95B6-F8F6A7CF7BAF}.Debug|ARM.ActiveCfg = Debug|ARM + {91D3ADEA-F1FE-4433-95B6-F8F6A7CF7BAF}.Debug|ARM.Build.0 = Debug|ARM {91D3ADEA-F1FE-4433-95B6-F8F6A7CF7BAF}.Debug|x64.ActiveCfg = Debug|x64 {91D3ADEA-F1FE-4433-95B6-F8F6A7CF7BAF}.Debug|x64.Build.0 = Debug|x64 {91D3ADEA-F1FE-4433-95B6-F8F6A7CF7BAF}.Debug|x86.ActiveCfg = Debug|Win32 {91D3ADEA-F1FE-4433-95B6-F8F6A7CF7BAF}.Debug|x86.Build.0 = Debug|Win32 + {91D3ADEA-F1FE-4433-95B6-F8F6A7CF7BAF}.Release|ARM.ActiveCfg = Release|ARM + {91D3ADEA-F1FE-4433-95B6-F8F6A7CF7BAF}.Release|ARM.Build.0 = Release|ARM {91D3ADEA-F1FE-4433-95B6-F8F6A7CF7BAF}.Release|x64.ActiveCfg = Release|x64 {91D3ADEA-F1FE-4433-95B6-F8F6A7CF7BAF}.Release|x64.Build.0 = Release|x64 {91D3ADEA-F1FE-4433-95B6-F8F6A7CF7BAF}.Release|x86.ActiveCfg = Release|Win32 {91D3ADEA-F1FE-4433-95B6-F8F6A7CF7BAF}.Release|x86.Build.0 = Release|Win32 + {B92F449E-0FD9-44FC-ACFA-6521A3240CA2}.Debug|ARM.ActiveCfg = Debug|ARM + {B92F449E-0FD9-44FC-ACFA-6521A3240CA2}.Debug|ARM.Build.0 = Debug|ARM {B92F449E-0FD9-44FC-ACFA-6521A3240CA2}.Debug|x64.ActiveCfg = Debug|x64 {B92F449E-0FD9-44FC-ACFA-6521A3240CA2}.Debug|x64.Build.0 = Debug|x64 {B92F449E-0FD9-44FC-ACFA-6521A3240CA2}.Debug|x86.ActiveCfg = Debug|Win32 {B92F449E-0FD9-44FC-ACFA-6521A3240CA2}.Debug|x86.Build.0 = Debug|Win32 + {B92F449E-0FD9-44FC-ACFA-6521A3240CA2}.Release|ARM.ActiveCfg = Release|ARM + {B92F449E-0FD9-44FC-ACFA-6521A3240CA2}.Release|ARM.Build.0 = Release|ARM {B92F449E-0FD9-44FC-ACFA-6521A3240CA2}.Release|x64.ActiveCfg = Release|x64 {B92F449E-0FD9-44FC-ACFA-6521A3240CA2}.Release|x64.Build.0 = Release|x64 {B92F449E-0FD9-44FC-ACFA-6521A3240CA2}.Release|x86.ActiveCfg = Release|Win32 {B92F449E-0FD9-44FC-ACFA-6521A3240CA2}.Release|x86.Build.0 = Release|Win32 + {D94867D2-6DAE-47E2-962A-5E8E658134D1}.Debug|ARM.ActiveCfg = Debug|ARM + {D94867D2-6DAE-47E2-962A-5E8E658134D1}.Debug|ARM.Build.0 = Debug|ARM {D94867D2-6DAE-47E2-962A-5E8E658134D1}.Debug|x64.ActiveCfg = Debug|x64 {D94867D2-6DAE-47E2-962A-5E8E658134D1}.Debug|x64.Build.0 = Debug|x64 {D94867D2-6DAE-47E2-962A-5E8E658134D1}.Debug|x86.ActiveCfg = Debug|Win32 {D94867D2-6DAE-47E2-962A-5E8E658134D1}.Debug|x86.Build.0 = Debug|Win32 + {D94867D2-6DAE-47E2-962A-5E8E658134D1}.Release|ARM.ActiveCfg = Release|ARM + {D94867D2-6DAE-47E2-962A-5E8E658134D1}.Release|ARM.Build.0 = Release|ARM {D94867D2-6DAE-47E2-962A-5E8E658134D1}.Release|x64.ActiveCfg = Release|x64 {D94867D2-6DAE-47E2-962A-5E8E658134D1}.Release|x64.Build.0 = Release|x64 {D94867D2-6DAE-47E2-962A-5E8E658134D1}.Release|x86.ActiveCfg = Release|Win32 {D94867D2-6DAE-47E2-962A-5E8E658134D1}.Release|x86.Build.0 = Release|Win32 + {B4C744EC-B662-46C6-A076-FB58FA8FDF1B}.Debug|ARM.ActiveCfg = Debug|ARM + {B4C744EC-B662-46C6-A076-FB58FA8FDF1B}.Debug|ARM.Build.0 = Debug|ARM {B4C744EC-B662-46C6-A076-FB58FA8FDF1B}.Debug|x64.ActiveCfg = Debug|x64 {B4C744EC-B662-46C6-A076-FB58FA8FDF1B}.Debug|x64.Build.0 = Debug|x64 {B4C744EC-B662-46C6-A076-FB58FA8FDF1B}.Debug|x86.ActiveCfg = Debug|Win32 {B4C744EC-B662-46C6-A076-FB58FA8FDF1B}.Debug|x86.Build.0 = Debug|Win32 + {B4C744EC-B662-46C6-A076-FB58FA8FDF1B}.Release|ARM.ActiveCfg = Release|ARM + {B4C744EC-B662-46C6-A076-FB58FA8FDF1B}.Release|ARM.Build.0 = Release|ARM {B4C744EC-B662-46C6-A076-FB58FA8FDF1B}.Release|x64.ActiveCfg = Release|x64 {B4C744EC-B662-46C6-A076-FB58FA8FDF1B}.Release|x64.Build.0 = Release|x64 {B4C744EC-B662-46C6-A076-FB58FA8FDF1B}.Release|x86.ActiveCfg = Release|Win32 {B4C744EC-B662-46C6-A076-FB58FA8FDF1B}.Release|x86.Build.0 = Release|Win32 + {9EEF9DCD-EA8F-4154-BD02-AB2B31CEC324}.Debug|ARM.ActiveCfg = Debug|ARM + {9EEF9DCD-EA8F-4154-BD02-AB2B31CEC324}.Debug|ARM.Build.0 = Debug|ARM {9EEF9DCD-EA8F-4154-BD02-AB2B31CEC324}.Debug|x64.ActiveCfg = Debug|x64 {9EEF9DCD-EA8F-4154-BD02-AB2B31CEC324}.Debug|x64.Build.0 = Debug|x64 {9EEF9DCD-EA8F-4154-BD02-AB2B31CEC324}.Debug|x86.ActiveCfg = Debug|Win32 {9EEF9DCD-EA8F-4154-BD02-AB2B31CEC324}.Debug|x86.Build.0 = Debug|Win32 + {9EEF9DCD-EA8F-4154-BD02-AB2B31CEC324}.Release|ARM.ActiveCfg = Release|ARM + {9EEF9DCD-EA8F-4154-BD02-AB2B31CEC324}.Release|ARM.Build.0 = Release|ARM {9EEF9DCD-EA8F-4154-BD02-AB2B31CEC324}.Release|x64.ActiveCfg = Release|x64 {9EEF9DCD-EA8F-4154-BD02-AB2B31CEC324}.Release|x64.Build.0 = Release|x64 {9EEF9DCD-EA8F-4154-BD02-AB2B31CEC324}.Release|x86.ActiveCfg = Release|Win32 {9EEF9DCD-EA8F-4154-BD02-AB2B31CEC324}.Release|x86.Build.0 = Release|Win32 + {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Debug|ARM.ActiveCfg = Debug|ARM + {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Debug|ARM.Build.0 = Debug|ARM + {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Debug|ARM.Deploy.0 = Debug|ARM {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Debug|x64.ActiveCfg = Debug|x64 {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Debug|x64.Build.0 = Debug|x64 {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Debug|x64.Deploy.0 = Debug|x64 {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Debug|x86.ActiveCfg = Debug|Win32 {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Debug|x86.Build.0 = Debug|Win32 {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Debug|x86.Deploy.0 = Debug|Win32 + {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Release|ARM.ActiveCfg = Release|ARM + {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Release|ARM.Build.0 = Release|ARM + {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Release|ARM.Deploy.0 = Release|ARM {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Release|x64.ActiveCfg = Release|x64 {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Release|x64.Build.0 = Release|x64 {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Release|x64.Deploy.0 = Release|x64 {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Release|x86.ActiveCfg = Release|Win32 {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Release|x86.Build.0 = Release|Win32 {3F1F7F6C-2A33-4635-9880-08FC5BC4E435}.Release|x86.Deploy.0 = Release|Win32 + {ED0EA262-C222-42C7-98D3-E70C72978ED2}.Debug|ARM.ActiveCfg = Debug|ARM + {ED0EA262-C222-42C7-98D3-E70C72978ED2}.Debug|ARM.Build.0 = Debug|ARM {ED0EA262-C222-42C7-98D3-E70C72978ED2}.Debug|x64.ActiveCfg = Debug|x64 {ED0EA262-C222-42C7-98D3-E70C72978ED2}.Debug|x64.Build.0 = Debug|x64 {ED0EA262-C222-42C7-98D3-E70C72978ED2}.Debug|x86.ActiveCfg = Debug|Win32 {ED0EA262-C222-42C7-98D3-E70C72978ED2}.Debug|x86.Build.0 = Debug|Win32 + {ED0EA262-C222-42C7-98D3-E70C72978ED2}.Release|ARM.ActiveCfg = Release|ARM + {ED0EA262-C222-42C7-98D3-E70C72978ED2}.Release|ARM.Build.0 = Release|ARM {ED0EA262-C222-42C7-98D3-E70C72978ED2}.Release|x64.ActiveCfg = Release|x64 {ED0EA262-C222-42C7-98D3-E70C72978ED2}.Release|x64.Build.0 = Release|x64 {ED0EA262-C222-42C7-98D3-E70C72978ED2}.Release|x86.ActiveCfg = Release|Win32 diff --git a/etc/visual-studio/ot-cli.vcxproj b/etc/visual-studio/ot-cli.vcxproj index 56a0cb642..10c7073e2 100644 --- a/etc/visual-studio/ot-cli.vcxproj +++ b/etc/visual-studio/ot-cli.vcxproj @@ -1,165 +1,64 @@  - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - + {91D3ADEA-F1FE-4433-95B6-F8F6A7CF7BAF} Win32Proj Thread - 8.1 - ot-cli + Windows Store + 14.0 + 10.0.10586.0 + 10.0.10240.0 + 10.0 - + Application true v140 - Unicode - + Application false v140 true - Unicode - - - Application - true - v140 - Unicode - - - Application - false - v140 - true - Unicode - - - - - - - - - - - - - - + + + - - true + ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ ..\..\build\bin\$(Platform)\$(Configuration)\exe\ - - true - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\exe\ - - - false - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\exe\ - - - false - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\exe\ - - + - - + + %(PreprocessorDefinitions); + OPENTHREAD_CONFIG_FILE="openthread-windows-config.h"; + + + %(AdditionalIncludeDirectories); + ..\..\examples\platforms; + ..\..\include; + ..\..\src\core; + Level3 - Disabled - WIN32;_DEBUG;_CONSOLE;OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) true - ..\..\include;..\..\src\core;..\..\examples\platforms Console - true - ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-cli.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-windows.lib;ws2_32.lib;%(AdditionalDependencies) - - - - - - - Level3 - Disabled - _DEBUG;_CONSOLE;OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\examples\platforms - - - Console - true - ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-cli.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-windows.lib;ws2_32.lib;%(AdditionalDependencies) - - - - - Level3 - - - MaxSpeed - true - true - WIN32;NDEBUG;_CONSOLE;OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\examples\platforms - - - Console - true - true - true - ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-cli.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-windows.lib;ws2_32.lib;%(AdditionalDependencies) - - - - - Level3 - - - MaxSpeed - true - true - NDEBUG;_CONSOLE;OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\examples\platforms - - - Console - true - true - true - ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-cli.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-windows.lib;ws2_32.lib;%(AdditionalDependencies) + + %(AdditionalDependencies); + ws2_32.lib; + ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib; + ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-cli.lib; + ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-windows.lib; + ..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib; + diff --git a/etc/visual-studio/ot-ncp-spi.vcxproj b/etc/visual-studio/ot-ncp-spi.vcxproj index 5d4429da8..09ef434fa 100644 --- a/etc/visual-studio/ot-ncp-spi.vcxproj +++ b/etc/visual-studio/ot-ncp-spi.vcxproj @@ -1,164 +1,64 @@  - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - + {B4C744EC-B662-46C6-A076-FB58FA8FDF1B} Win32Proj Thread - 8.1 + Windows Store + 14.0 + 10.0.10586.0 + 10.0.10240.0 + 10.0 - + Application true v140 - Unicode - + Application false v140 true - Unicode - - - Application - true - v140 - Unicode - - - Application - false - v140 - true - Unicode - - - - - - - - - - - - - - + + + - - true + ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ ..\..\build\bin\$(Platform)\$(Configuration)\exe\ - - true - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\exe\ - - - false - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\exe\ - - - false - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\exe\ - - + - - - Level3 - Disabled - WIN32;_DEBUG;_CONSOLE;OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) + + %(PreprocessorDefinitions); + OPENTHREAD_CONFIG_FILE="openthread-windows-config.h"; + + + %(AdditionalIncludeDirectories); + ..\..\examples\platforms; + ..\..\include; + ..\..\src\core; + true - ..\..\include;..\..\src\core;..\..\examples\platforms + Level3 Console - true - ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-ncp-spi.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-windows.lib;ws2_32.lib;%(AdditionalDependencies) - - - - - - - Level3 - Disabled - _DEBUG;_CONSOLE;OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\examples\platforms - - - Console - true - ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-ncp-spi.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-windows.lib;ws2_32.lib;%(AdditionalDependencies) - - - - - Level3 - - - MaxSpeed - true - true - WIN32;NDEBUG;_CONSOLE;OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\examples\platforms - - - Console - true - true - true - ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-ncp-spi.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-windows.lib;ws2_32.lib;%(AdditionalDependencies) - - - - - Level3 - - - MaxSpeed - true - true - NDEBUG;_CONSOLE;OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\examples\platforms - - - Console - true - true - true - ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-ncp-spi.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-windows.lib;ws2_32.lib;%(AdditionalDependencies) + + %(AdditionalDependencies); + ws2_32.lib; + ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib; + ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-ncp-spi.lib; + ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-windows.lib; + ..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib; + diff --git a/etc/visual-studio/ot-ncp-uart.vcxproj b/etc/visual-studio/ot-ncp-uart.vcxproj index b9d4b82e9..9f0cbc99d 100644 --- a/etc/visual-studio/ot-ncp-uart.vcxproj +++ b/etc/visual-studio/ot-ncp-uart.vcxproj @@ -1,164 +1,64 @@  - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - + {9EEF9DCD-EA8F-4154-BD02-AB2B31CEC324} Win32Proj Thread - 8.1 + Windows Store + 14.0 + 10.0.10586.0 + 10.0.10240.0 + 10.0 - + Application true v140 - Unicode - + Application false v140 true - Unicode - - - Application - true - v140 - Unicode - - - Application - false - v140 - true - Unicode - - - - - - - - - - - - - - + + + - - true + ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ ..\..\build\bin\$(Platform)\$(Configuration)\exe\ - - true - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\exe\ - - - false - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\exe\ - - - false - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - ..\..\build\bin\$(Platform)\$(Configuration)\exe\ - - + - - - Level3 - Disabled - WIN32;_DEBUG;_CONSOLE;OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) + + %(PreprocessorDefinitions); + OPENTHREAD_CONFIG_FILE="openthread-windows-config.h"; + + + %(AdditionalIncludeDirectories); + ..\..\examples\platforms; + ..\..\include; + ..\..\src\core; + true - ..\..\include;..\..\src\core;..\..\examples\platforms + Level3 Console - true - ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-ncp-uart.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-windows.lib;ws2_32.lib;%(AdditionalDependencies) - - - - - - - Level3 - Disabled - _DEBUG;_CONSOLE;OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\examples\platforms - - - Console - true - ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-ncp-uart.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-windows.lib;ws2_32.lib;%(AdditionalDependencies) - - - - - Level3 - - - MaxSpeed - true - true - WIN32;NDEBUG;_CONSOLE;OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\examples\platforms - - - Console - true - true - true - ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-ncp-uart.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-windows.lib;ws2_32.lib;%(AdditionalDependencies) - - - - - Level3 - - - MaxSpeed - true - true - NDEBUG;_CONSOLE;OPENTHREAD_CONFIG_FILE="openthread-windows-config.h";%(PreprocessorDefinitions) - true - ..\..\include;..\..\src\core;..\..\examples\platforms - - - Console - true - true - true - ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-ncp-uart.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib;..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-windows.lib;ws2_32.lib;%(AdditionalDependencies) + + %(AdditionalDependencies); + ws2_32.lib; + ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread.lib; + ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-ncp-uart.lib; + ..\..\build\bin\$(Platform)\$(Configuration)\lib\libopenthread-windows.lib; + ..\..\build\bin\$(Platform)\$(Configuration)\lib\mbedtls.lib; + diff --git a/etc/visual-studio/otApi.vcxproj b/etc/visual-studio/otApi.vcxproj index 62ae8086f..a65173ca1 100644 --- a/etc/visual-studio/otApi.vcxproj +++ b/etc/visual-studio/otApi.vcxproj @@ -1,190 +1,68 @@  - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - + {ED0EA262-C222-42C7-98D3-E70C72978ED2} Win32Proj - otApi - $(LatestTargetPlatformVersion) + Thread + 12.0 + Universal - + DynamicLibrary true WindowsApplicationForDrivers10.0 - Unicode - + DynamicLibrary false WindowsApplicationForDrivers10.0 true - Unicode - - - DynamicLibrary - true - WindowsApplicationForDrivers10.0 - Unicode - false - - - DynamicLibrary - false - WindowsApplicationForDrivers10.0 - true - Unicode - false - - - - - - - - - - - - - - + + + - - true - ..\..\build\bin\$(Platform)\$(Configuration)\dll\ + ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ + ..\..\build\bin\$(Platform)\$(Configuration)\dll\ C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\Rule Sets\NativeRecommendedRules.ruleset true + false - - true - ..\..\build\bin\$(Platform)\$(Configuration)\dll\ - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\Rule Sets\NativeRecommendedRules.ruleset - true - - - false - ..\..\build\bin\$(Platform)\$(Configuration)\dll\ - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\Rule Sets\NativeRecommendedRules.ruleset - true - - - false - ..\..\build\bin\$(Platform)\$(Configuration)\dll\ - ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ - C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\Rule Sets\NativeRecommendedRules.ruleset - true - - + - NotUsing Level3 - Disabled - WIN32;_DEBUG;_WINDOWS;_USRDLL;OTAPI_EXPORTS;%(PreprocessorDefinitions) + + %(PreprocessorDefinitions); + WIN32;_WINDOWS;_USRDLL; + OTAPI_EXPORTS; + true - ..\..\include;..\..\examples\drivers\windows\include;..\..\examples\drivers\windows\otApi;%(AdditionalIncludeDirectories) - precomp.h + + %(AdditionalIncludeDirectories); + ..\..\examples\drivers\windows\include; + ..\..\examples\drivers\windows\otApi; + ..\..\include; + true ..\..\include\platform\logging-windows.h otApi true + Sync + Sync - Windows - true - ntdll.lib;iphlpapi.lib;%(AdditionalDependencies) - - - - - NotUsing - Level3 - Disabled - _DEBUG;_WINDOWS;_USRDLL;OTAPI_EXPORTS;%(PreprocessorDefinitions) - true - ..\..\include;..\..\examples\drivers\windows\include;..\..\examples\drivers\windows\otApi;%(AdditionalIncludeDirectories) - precomp.h - true - ..\..\include\platform\logging-windows.h - otApi - true - - - Windows - true - ntdll.lib;iphlpapi.lib;%(AdditionalDependencies) - - - - - Level3 - NotUsing - MaxSpeed - true - true - WIN32;NDEBUG;_WINDOWS;_USRDLL;OTAPI_EXPORTS;%(PreprocessorDefinitions) - true - ..\..\include;..\..\examples\drivers\windows\include;..\..\examples\drivers\windows\otApi;%(AdditionalIncludeDirectories) - precomp.h - true - ..\..\include\platform\logging-windows.h - otApi - true - - - Windows - true - true - true - ntdll.lib;iphlpapi.lib;%(AdditionalDependencies) - - - - - Level3 - NotUsing - MaxSpeed - true - true - NDEBUG;_WINDOWS;_USRDLL;OTAPI_EXPORTS;%(PreprocessorDefinitions) - true - ..\..\include;..\..\examples\drivers\windows\include;..\..\examples\drivers\windows\otApi;%(AdditionalIncludeDirectories) - precomp.h - true - ..\..\include\platform\logging-windows.h - otApi - true - - - Windows - true - true - true - ntdll.lib;iphlpapi.lib;%(AdditionalDependencies) + + onecore.lib; + onecoreuap.lib; + mincore.lib; + ntdll.lib; + diff --git a/etc/visual-studio/otLwf.vcxproj b/etc/visual-studio/otLwf.vcxproj index 39a3e0cd9..315961910 100644 --- a/etc/visual-studio/otLwf.vcxproj +++ b/etc/visual-studio/otLwf.vcxproj @@ -1,37 +1,18 @@  - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - + {3F1F7F6C-2A33-4635-9880-08FC5BC4E435} {8b1800b9-d017-4029-9785-13ef5e5b328e} - Thread + v4.5 12.0 - Debug - Win32 - $(LatestTargetPlatformVersion) + Thread + KMDF + Universal WindowsKernelModeDriver10.0 Driver - WDM - Universal @@ -48,8 +29,6 @@ - DbgengKernelDebugger - otlwf ..\..\build\bin\$(Platform)\$(Configuration)\sys\ ..\..\build\obj\$(Platform)\$(Configuration)\$(ProjectName)\ AllRules.ruleset @@ -103,7 +82,6 @@ - @@ -120,17 +98,17 @@ + + + - - - diff --git a/examples/drivers/windows/otLwf/otLwf.inf b/examples/drivers/windows/otLwf/otLwf.inf index 177505909..e2e0f2f16 100644 --- a/examples/drivers/windows/otLwf/otLwf.inf +++ b/examples/drivers/windows/otLwf/otLwf.inf @@ -1,8 +1,30 @@ -;------------------------------------------------------------------------- -; otLwf.INF -- NDIS LightWeight Filter Driver - -; Copyright (c) 2016, Microsoft Corporation. All rights reserved. -;------------------------------------------------------------------------- +; +; Copyright (c) 2016, The OpenThread Authors. +; All rights reserved. +; +; Redistribution and use in source and binary forms, with or without +; modification, are permitted provided that the following conditions are met: +; 1. Redistributions of source code must retain the above copyright +; notice, this list of conditions and the following disclaimer. +; 2. Redistributions in binary form must reproduce the above copyright +; notice, this list of conditions and the following disclaimer in the +; documentation and/or other materials provided with the distribution. +; 3. Neither the name of the copyright holder nor the +; names of its contributors may be used to endorse or promote products +; derived from this software without specific prior written permission. +; +; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +; ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +; LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +; POSSIBILITY OF SUCH DAMAGE. +; [version] ; Do not change these values @@ -14,22 +36,10 @@ DriverVer = CatalogFile = otLwf.cat [Manufacturer] -%openthread%=MSFT,NTx86,NTia64,NTamd64,NTarm,NTarm64 +%openthread%=OpenThread,NT$ARCH$ -; MS_otLwf can be used with netcfg.exe to install/uninstall the driver. -[MSFT.NTx86] -%otLwf_Desc%=Install, otLwf - -[MSFT.NTia64] -%otLwf_Desc%=Install, otLwf - -[MSFT.NTamd64] -%otLwf_Desc%=Install, otLwf - -[MSFT.NTarm] -%otLwf_Desc%=Install, otLwf - -[MSFT.NTarm64] +; otLwf can be used with netcfg.exe to install/uninstall the driver. +[OpenThread.NT$ARCH$] %otLwf_Desc%=Install, otLwf ;-------------------------------------------------------------------------