diff options
author | Steven Cooreman <steven.cooreman@silabs.com> | 2021-04-08 10:58:33 +0200 |
---|---|---|
committer | Steven Cooreman <steven.cooreman@silabs.com> | 2021-04-16 11:20:03 +0200 |
commit | 16141ed2fb38476fa2566b02834cf150131c3b05 (patch) | |
tree | dd0ccf79d1ee7a679aea11f298369b776db481c6 | |
parent | ce48702448e11bcd3ca702d7d784d84ecd0cdfd7 (diff) | |
download | mbedtls-16141ed2fb38476fa2566b02834cf150131c3b05.zip mbedtls-16141ed2fb38476fa2566b02834cf150131c3b05.tar.gz mbedtls-16141ed2fb38476fa2566b02834cf150131c3b05.tar.bz2 |
Add test driver sources to VC build
Signed-off-by: Steven Cooreman <steven.cooreman@silabs.com>
-rwxr-xr-x | scripts/generate_visualc_files.pl | 3 | ||||
-rw-r--r-- | visualc/VS2010/mbedTLS.vcxproj | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/scripts/generate_visualc_files.pl b/scripts/generate_visualc_files.pl index df5d66e..d11041c 100755 --- a/scripts/generate_visualc_files.pl +++ b/scripts/generate_visualc_files.pl @@ -40,6 +40,7 @@ my $source_dir = 'library'; my $test_source_dir = 'tests/src'; my $test_header_dir = 'tests/include/test'; my $test_drivers_header_dir = 'tests/include/test/drivers'; +my $test_drivers_source_dir = 'tests/src/drivers'; my @thirdparty_header_dirs = qw( 3rdparty/everest/include/everest @@ -116,6 +117,7 @@ sub check_dirs { && -d $psa_header_dir && -d $source_dir && -d $test_source_dir + && -d $test_drivers_source_dir && -d $test_header_dir && -d $test_drivers_header_dir && -d $programs_dir; @@ -275,6 +277,7 @@ sub main { my @source_dirs = ( $source_dir, $test_source_dir, + $test_drivers_source_dir, @thirdparty_source_dirs, ); my @sources = (map { <$_/*.c> } @source_dirs); diff --git a/visualc/VS2010/mbedTLS.vcxproj b/visualc/VS2010/mbedTLS.vcxproj index 832d428..70ea6c5 100644 --- a/visualc/VS2010/mbedTLS.vcxproj +++ b/visualc/VS2010/mbedTLS.vcxproj @@ -379,6 +379,12 @@ <ClCompile Include="..\..\tests\src\psa_exercise_key.c" />
<ClCompile Include="..\..\tests\src\random.c" />
<ClCompile Include="..\..\tests\src\threading_helpers.c" />
+ <ClCompile Include="..\..\tests\src\drivers\aead.c" />
+ <ClCompile Include="..\..\tests\src\drivers\cipher.c" />
+ <ClCompile Include="..\..\tests\src\drivers\key_management.c" />
+ <ClCompile Include="..\..\tests\src\drivers\platform_builtin_keys.c" />
+ <ClCompile Include="..\..\tests\src\drivers\signature.c" />
+ <ClCompile Include="..\..\tests\src\drivers\size.c" />
<ClCompile Include="..\..\3rdparty\everest\library\everest.c" />
<ClCompile Include="..\..\3rdparty\everest\library\Hacl_Curve25519_joined.c" />
<ClCompile Include="..\..\3rdparty\everest\library\x25519.c" />
|