Merge remote-tracking branch 'public/pr/1267' into development
This commit is contained in:
commit
eb6ed719e3
5 changed files with 66 additions and 522 deletions
|
@ -1,8 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
|
||||
# Generate files for MS Visual Studio:
|
||||
# - for VS6: main project (library) file, individual app files, workspace
|
||||
# - for VS2010: main file, individual apps, solution file
|
||||
# Generate main file, individual apps and solution files for MS Visual Studio
|
||||
# 2010
|
||||
#
|
||||
# Must be run from mbedTLS root or scripts directory.
|
||||
# Takes no argument.
|
||||
|
@ -171,12 +170,22 @@ sub gen_vsx_solution {
|
|||
content_to_file( $out, $vsx_sln_file );
|
||||
}
|
||||
|
||||
sub del_vsx_files {
|
||||
unlink glob "'$vsx_dir/*.$vsx_ext'";
|
||||
unlink $vsx_main_file;
|
||||
unlink $vsx_sln_file;
|
||||
}
|
||||
|
||||
sub main {
|
||||
if( ! check_dirs() ) {
|
||||
chdir '..' or die;
|
||||
check_dirs or die "Must but run from mbedTLS root or scripts dir\n";
|
||||
}
|
||||
|
||||
# Remove old files to ensure that, for example, project files from deleted
|
||||
# apps are not kept
|
||||
del_vsx_files();
|
||||
|
||||
my @app_list = get_app_list();
|
||||
my @headers = <$header_dir/*.h>;
|
||||
my @sources = <$source_dir/*.c>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue