mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 23:35:37 +01:00
Rename in visual C script and templates
This commit is contained in:
parent
392d3dde0b
commit
813e585fe3
@ -22,7 +22,7 @@
|
|||||||
<ClCompile Include="..\..\programs\<PATHNAME>.c" />
|
<ClCompile Include="..\..\programs\<PATHNAME>.c" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="PolarSSL.vcxproj">
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@ -96,7 +96,7 @@
|
|||||||
<SubSystem>Console</SubSystem>
|
<SubSystem>Console</SubSystem>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<ShowProgress>NotSet</ShowProgress>
|
<ShowProgress>NotSet</ShowProgress>
|
||||||
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);PolarSSL.lib</AdditionalDependencies>
|
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);mbedTLS.lib</AdditionalDependencies>
|
||||||
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
</Link>
|
</Link>
|
||||||
<ProjectReference>
|
<ProjectReference>
|
||||||
@ -116,7 +116,7 @@
|
|||||||
<SubSystem>Console</SubSystem>
|
<SubSystem>Console</SubSystem>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<ShowProgress>NotSet</ShowProgress>
|
<ShowProgress>NotSet</ShowProgress>
|
||||||
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);PolarSSL.lib</AdditionalDependencies>
|
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);mbedTLS.lib</AdditionalDependencies>
|
||||||
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
</Link>
|
</Link>
|
||||||
<ProjectReference>
|
<ProjectReference>
|
||||||
@ -140,7 +140,7 @@
|
|||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);PolarSSL.lib</AdditionalDependencies>
|
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);mbedTLS.lib</AdditionalDependencies>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
<ProjectGuid>{46CF2D25-6A36-4189-B59C-E4815388E554}</ProjectGuid>
|
<ProjectGuid>{46CF2D25-6A36-4189-B59C-E4815388E554}</ProjectGuid>
|
||||||
<Keyword>Win32Proj</Keyword>
|
<Keyword>Win32Proj</Keyword>
|
||||||
<RootNamespace>PolarSSL</RootNamespace>
|
<RootNamespace>mbedTLS</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
@ -81,7 +81,7 @@
|
|||||||
</PrecompiledHeader>
|
</PrecompiledHeader>
|
||||||
<WarningLevel>Level3</WarningLevel>
|
<WarningLevel>Level3</WarningLevel>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;POLARSSL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MBEDTLS_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>../../include</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>../../include</AdditionalIncludeDirectories>
|
||||||
<CompileAs>CompileAsC</CompileAs>
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@ -96,7 +96,7 @@
|
|||||||
</PrecompiledHeader>
|
</PrecompiledHeader>
|
||||||
<WarningLevel>Level3</WarningLevel>
|
<WarningLevel>Level3</WarningLevel>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;POLARSSL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MBEDTLS_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>../../include</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>../../include</AdditionalIncludeDirectories>
|
||||||
<CompileAs>CompileAsC</CompileAs>
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@ -113,7 +113,7 @@
|
|||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;POLARSSL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;MBEDTLS_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>../../include</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>../../include</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
@ -131,7 +131,7 @@
|
|||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
<PreprocessorDefinitions>WIN64;NDEBUG;_WINDOWS;_USRDLL;POLARSSL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN64;NDEBUG;_WINDOWS;_USRDLL;MBEDTLS_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>../../include</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>../../include</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||||
# Visual C++ Express 2010
|
# Visual C++ Express 2010
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PolarSSL", "PolarSSL.vcxproj", "{46CF2D25-6A36-4189-B59C-E4815388E554}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mbedTLS", "mbedTLS.vcxproj", "{46CF2D25-6A36-4189-B59C-E4815388E554}"
|
||||||
EndProject
|
EndProject
|
||||||
APP_ENTRIES
|
APP_ENTRIES
|
||||||
Global
|
Global
|
||||||
|
@ -1,24 +1,24 @@
|
|||||||
# Microsoft Developer Studio Project File - Name="polarssl" - Package Owner=<4>
|
# Microsoft Developer Studio Project File - Name="mbedtls" - Package Owner=<4>
|
||||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
# ** DO NOT EDIT **
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
# TARGTYPE "Win32 (x86) Static Library" 0x0104
|
# TARGTYPE "Win32 (x86) Static Library" 0x0104
|
||||||
|
|
||||||
CFG=polarssl - Win32 Debug
|
CFG=mbedtls - Win32 Debug
|
||||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
!MESSAGE use the Export Makefile command and run
|
!MESSAGE use the Export Makefile command and run
|
||||||
!MESSAGE
|
!MESSAGE
|
||||||
!MESSAGE NMAKE /f "polarssl.mak".
|
!MESSAGE NMAKE /f "mbedtls.mak".
|
||||||
!MESSAGE
|
!MESSAGE
|
||||||
!MESSAGE You can specify a configuration when running NMAKE
|
!MESSAGE You can specify a configuration when running NMAKE
|
||||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||||
!MESSAGE
|
!MESSAGE
|
||||||
!MESSAGE NMAKE /f "polarssl.mak" CFG="polarssl - Win32 Debug"
|
!MESSAGE NMAKE /f "mbedtls.mak" CFG="mbedtls - Win32 Debug"
|
||||||
!MESSAGE
|
!MESSAGE
|
||||||
!MESSAGE Possible choices for configuration are:
|
!MESSAGE Possible choices for configuration are:
|
||||||
!MESSAGE
|
!MESSAGE
|
||||||
!MESSAGE "polarssl - Win32 Release" (based on "Win32 (x86) Static Library")
|
!MESSAGE "mbedtls - Win32 Release" (based on "Win32 (x86) Static Library")
|
||||||
!MESSAGE "polarssl - Win32 Debug" (based on "Win32 (x86) Static Library")
|
!MESSAGE "mbedtls - Win32 Debug" (based on "Win32 (x86) Static Library")
|
||||||
!MESSAGE
|
!MESSAGE
|
||||||
|
|
||||||
# Begin Project
|
# Begin Project
|
||||||
@ -28,7 +28,7 @@ CFG=polarssl - Win32 Debug
|
|||||||
CPP=cl.exe
|
CPP=cl.exe
|
||||||
RSC=rc.exe
|
RSC=rc.exe
|
||||||
|
|
||||||
!IF "$(CFG)" == "polarssl - Win32 Release"
|
!IF "$(CFG)" == "mbedtls - Win32 Release"
|
||||||
|
|
||||||
# PROP BASE Use_MFC 0
|
# PROP BASE Use_MFC 0
|
||||||
# PROP BASE Use_Debug_Libraries 0
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
@ -51,7 +51,7 @@ LIB32=link.exe -lib
|
|||||||
# ADD BASE LIB32 /nologo
|
# ADD BASE LIB32 /nologo
|
||||||
# ADD LIB32 /nologo
|
# ADD LIB32 /nologo
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "polarssl - Win32 Debug"
|
!ELSEIF "$(CFG)" == "mbedtls - Win32 Debug"
|
||||||
|
|
||||||
# PROP BASE Use_MFC 0
|
# PROP BASE Use_MFC 0
|
||||||
# PROP BASE Use_Debug_Libraries 1
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
@ -78,8 +78,8 @@ LIB32=link.exe -lib
|
|||||||
|
|
||||||
# Begin Target
|
# Begin Target
|
||||||
|
|
||||||
# Name "polarssl - Win32 Release"
|
# Name "mbedtls - Win32 Release"
|
||||||
# Name "polarssl - Win32 Debug"
|
# Name "mbedtls - Win32 Debug"
|
||||||
# Begin Group "Source Files"
|
# Begin Group "Source Files"
|
||||||
|
|
||||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# - for VS6: main project (library) file, individual app files, workspace
|
# - for VS6: main project (library) file, individual app files, workspace
|
||||||
# - for VS2010: main file, individual apps, solution file
|
# - for VS2010: main file, individual apps, solution file
|
||||||
#
|
#
|
||||||
# Must be run from PolarSSL root or scripts directory.
|
# Must be run from mbedTLS root or scripts directory.
|
||||||
# Takes no argument.
|
# Takes no argument.
|
||||||
|
|
||||||
use warnings;
|
use warnings;
|
||||||
@ -15,17 +15,17 @@ my $vs6_dir = "visualc/VS6";
|
|||||||
my $vs6_ext = "dsp";
|
my $vs6_ext = "dsp";
|
||||||
my $vs6_app_tpl_file = "scripts/data_files/vs6-app-template.$vs6_ext";
|
my $vs6_app_tpl_file = "scripts/data_files/vs6-app-template.$vs6_ext";
|
||||||
my $vs6_main_tpl_file = "scripts/data_files/vs6-main-template.$vs6_ext";
|
my $vs6_main_tpl_file = "scripts/data_files/vs6-main-template.$vs6_ext";
|
||||||
my $vs6_main_file = "$vs6_dir/polarssl.$vs6_ext";
|
my $vs6_main_file = "$vs6_dir/mbedtls.$vs6_ext";
|
||||||
my $vs6_wsp_tpl_file = "scripts/data_files/vs6-workspace-template.dsw";
|
my $vs6_wsp_tpl_file = "scripts/data_files/vs6-workspace-template.dsw";
|
||||||
my $vs6_wsp_file = "$vs6_dir/polarssl.dsw";
|
my $vs6_wsp_file = "$vs6_dir/mbedtls.dsw";
|
||||||
|
|
||||||
my $vsx_dir = "visualc/VS2010";
|
my $vsx_dir = "visualc/VS2010";
|
||||||
my $vsx_ext = "vcxproj";
|
my $vsx_ext = "vcxproj";
|
||||||
my $vsx_app_tpl_file = "scripts/data_files/vs2010-app-template.$vsx_ext";
|
my $vsx_app_tpl_file = "scripts/data_files/vs2010-app-template.$vsx_ext";
|
||||||
my $vsx_main_tpl_file = "scripts/data_files/vs2010-main-template.$vsx_ext";
|
my $vsx_main_tpl_file = "scripts/data_files/vs2010-main-template.$vsx_ext";
|
||||||
my $vsx_main_file = "$vsx_dir/PolarSSL.$vsx_ext";
|
my $vsx_main_file = "$vsx_dir/mbedTLS.$vsx_ext";
|
||||||
my $vsx_sln_tpl_file = "scripts/data_files/vs2010-sln-template.sln";
|
my $vsx_sln_tpl_file = "scripts/data_files/vs2010-sln-template.sln";
|
||||||
my $vsx_sln_file = "$vsx_dir/PolarSSL.sln";
|
my $vsx_sln_file = "$vsx_dir/mbedTLS.sln";
|
||||||
|
|
||||||
my $programs_dir = 'programs';
|
my $programs_dir = 'programs';
|
||||||
my $header_dir = 'include/polarssl';
|
my $header_dir = 'include/polarssl';
|
||||||
@ -51,7 +51,7 @@ Package=<5>\r
|
|||||||
Package=<4>\r
|
Package=<4>\r
|
||||||
{{{\r
|
{{{\r
|
||||||
Begin Project Dependency\r
|
Begin Project Dependency\r
|
||||||
Project_Dep_Name polarssl\r
|
Project_Dep_Name mbedtls\r
|
||||||
End Project Dependency\r
|
End Project Dependency\r
|
||||||
}}}\r
|
}}}\r
|
||||||
\r
|
\r
|
||||||
@ -115,7 +115,7 @@ sub content_to_file {
|
|||||||
sub gen_app_guid {
|
sub gen_app_guid {
|
||||||
my ($path) = @_;
|
my ($path) = @_;
|
||||||
|
|
||||||
my $guid = md5_hex( "PolarSSL:$path" );
|
my $guid = md5_hex( "mbedTLS:$path" );
|
||||||
$guid =~ s/(.{8})(.{4})(.{4})(.{4})(.{12})/\U{$1-$2-$3-$4-$5}/;
|
$guid =~ s/(.{8})(.{4})(.{4})(.{4})(.{12})/\U{$1-$2-$3-$4-$5}/;
|
||||||
|
|
||||||
return $guid;
|
return $guid;
|
||||||
@ -222,7 +222,7 @@ sub gen_vsx_solution {
|
|||||||
sub main {
|
sub main {
|
||||||
if( ! check_dirs() ) {
|
if( ! check_dirs() ) {
|
||||||
chdir '..' or die;
|
chdir '..' or die;
|
||||||
check_dirs or die "Must but run from PolarSSL root or scripts dir\n";
|
check_dirs or die "Must but run from mbedTLS root or scripts dir\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
my @app_list = get_app_list();
|
my @app_list = get_app_list();
|
||||||
|
Loading…
Reference in New Issue
Block a user