1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-12 08:21:54 +03:00

Fix missing include in vs proj files for query programs

This commit is contained in:
Andres Amaya Garcia
2018-10-30 21:46:21 +00:00
parent cb9c015558
commit c84a65da9d
5 changed files with 11 additions and 3 deletions

View File

@ -93,8 +93,14 @@ sub gen_app {
$path =~ s!/!\\!g;
(my $appname = $path) =~ s/.*\\//;
my $srcs = "\n <ClCompile Include=\"..\\..\\programs\\$path.c\" \/>
";
if( $appname eq "ssl_client2" or $appname eq "ssl_server2" or
$appname eq "query_compile_time_config" ) {
$srcs .= "\n <ClCompile Include=\"..\\..\\programs\\ssl\\query_config.c\" \/>
";
}
$content =~ s/<PATHNAME>/$path/g;
my $content = $template;
$content =~ s/<SOURCES>/$srcs/g;
$content =~ s/<APPNAME>/$appname/g;