From 6930cc0b214c0cbcfd26d8b277bdd30877014f17 Mon Sep 17 00:00:00 2001 From: Hayden Roche Date: Tue, 8 Feb 2022 09:23:27 -0800 Subject: [PATCH] Clean up Visual Studio output and intermediate directories. Currently, wolfssl.vcxproj and IDE/WIN10/wolfssl-fips.vcxproj do not use the same scheme for their output and intermediate directories. Further, across configuration/platform combinations, wolfssl.vcxproj isn't consistent, either. For example: ``` Release|x64 OutDir: $(SolutionDir)$(Platform)\$(Configuration)\ IntDir: $(Platform)\$(Configuration)\obj\ Release|Win32 OutDir: $(SolutionDir)$(Configuration)\ IntDir: $(Configuration)\obj\ ``` This commit makes every configuration/platform combo for all Visual Studio projects follow the same pattern: ``` OutDir: $(SolutionDir)$(Platform)\$(Configuration)\ IntDir: $(Configuration)\$(Platform)\$(ProjectName)_obj\ ``` The `$(ProjectName)_obj` piece gets rid of a Visual Studio warning about not mingling the intermediate objects of disparate builds. --- IDE/WIN10/test.vcxproj | 2 +- IDE/WIN10/wolfssl-fips.vcxproj | 2 +- examples/client/client.vcxproj | 32 +++++++++++++------------- examples/echoclient/echoclient.vcxproj | 32 +++++++++++++------------- examples/echoserver/echoserver.vcxproj | 32 +++++++++++++------------- examples/server/server.vcxproj | 32 +++++++++++++------------- sslSniffer/sslSniffer.vcxproj | 16 ++++++------- testsuite/testsuite.vcxproj | 32 +++++++++++++------------- wolfssl.vcxproj | 32 +++++++++++++------------- 9 files changed, 106 insertions(+), 106 deletions(-) diff --git a/IDE/WIN10/test.vcxproj b/IDE/WIN10/test.vcxproj index 2c8d44dee..850354bbb 100644 --- a/IDE/WIN10/test.vcxproj +++ b/IDE/WIN10/test.vcxproj @@ -104,7 +104,7 @@ $(SolutionDir)$(Configuration)\$(Platform)\ - $(Configuration)\$(Platform)\obj\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false diff --git a/IDE/WIN10/wolfssl-fips.vcxproj b/IDE/WIN10/wolfssl-fips.vcxproj index 2ab69f4dc..9e53cc837 100644 --- a/IDE/WIN10/wolfssl-fips.vcxproj +++ b/IDE/WIN10/wolfssl-fips.vcxproj @@ -115,7 +115,7 @@ $(SolutionDir)$(Configuration)\$(Platform)\ - $(Configuration)\$(Platform)\obj\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ diff --git a/examples/client/client.vcxproj b/examples/client/client.vcxproj index a0add0d6b..3704f4fee 100644 --- a/examples/client/client.vcxproj +++ b/examples/client/client.vcxproj @@ -116,44 +116,44 @@ <_ProjectFileVersion>11.0.61030.0 - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ true - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ true true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false false - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ diff --git a/examples/echoclient/echoclient.vcxproj b/examples/echoclient/echoclient.vcxproj index 0c56d0e86..b291d634d 100644 --- a/examples/echoclient/echoclient.vcxproj +++ b/examples/echoclient/echoclient.vcxproj @@ -116,44 +116,44 @@ <_ProjectFileVersion>11.0.61030.0 - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ true - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ true true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false false - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ diff --git a/examples/echoserver/echoserver.vcxproj b/examples/echoserver/echoserver.vcxproj index 136de4a0e..775ccc818 100644 --- a/examples/echoserver/echoserver.vcxproj +++ b/examples/echoserver/echoserver.vcxproj @@ -116,44 +116,44 @@ <_ProjectFileVersion>11.0.61030.0 - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ true - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ true true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false false - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ diff --git a/examples/server/server.vcxproj b/examples/server/server.vcxproj index d428490bd..59e1ed7fd 100644 --- a/examples/server/server.vcxproj +++ b/examples/server/server.vcxproj @@ -116,44 +116,44 @@ <_ProjectFileVersion>11.0.61030.0 - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ true - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ true true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false false - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ diff --git a/sslSniffer/sslSniffer.vcxproj b/sslSniffer/sslSniffer.vcxproj index bfbc7fc9d..75c7bf2a5 100644 --- a/sslSniffer/sslSniffer.vcxproj +++ b/sslSniffer/sslSniffer.vcxproj @@ -66,24 +66,24 @@ <_ProjectFileVersion>11.0.61030.0 - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ true true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false false - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ diff --git a/testsuite/testsuite.vcxproj b/testsuite/testsuite.vcxproj index 5c40c315b..6198565ee 100644 --- a/testsuite/testsuite.vcxproj +++ b/testsuite/testsuite.vcxproj @@ -116,44 +116,44 @@ <_ProjectFileVersion>11.0.61030.0 - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ true - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ true true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ true - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false false - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ false - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ diff --git a/wolfssl.vcxproj b/wolfssl.vcxproj index c5bb8bab0..9c62ae8e5 100644 --- a/wolfssl.vcxproj +++ b/wolfssl.vcxproj @@ -113,36 +113,36 @@ - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ - $(SolutionDir)$(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\ - $(SolutionDir)$(Configuration)\ - $(Configuration)\obj\ + $(SolutionDir)$(Configuration)\$(Platform)\ + $(Configuration)\$(Platform)\$(ProjectName)_obj\