From c260954b52101c0f74d4ac808751a296e4f2057f Mon Sep 17 00:00:00 2001 From: Karel Miko Date: Tue, 7 Mar 2017 23:56:29 +0100 Subject: [PATCH] ordering file list whe generating msvc.proj --- helper.pl | 7 +- libtomcrypt_VS2005.vcproj | 216 +++++++++++++++++++------------------- libtomcrypt_VS2008.vcproj | 216 +++++++++++++++++++------------------- 3 files changed, 219 insertions(+), 220 deletions(-) diff --git a/helper.pl b/helper.pl index a1d8c375..58cd71e6 100755 --- a/helper.pl +++ b/helper.pl @@ -75,12 +75,11 @@ sub prepare_msvc_files_xml { my $last = []; my $depth = 2; my $files = "\r\n"; - for my $full (@$all) { + for my $full (sort @$all) { my @items = split /\//, $full; # split by '/' $full =~ s|/|\\|g; # replace '/' bt '\' - #XXXXXXXXXXXXX - shift @items; - pop @items; # drop last one + shift @items; # drop first one (src) + pop @items; # drop last one (filename.ext) my $current = \@items; if (join(':', @$current) ne join(':', @$last)) { my $common = 0; diff --git a/libtomcrypt_VS2005.vcproj b/libtomcrypt_VS2005.vcproj index 57281459..b4e38051 100644 --- a/libtomcrypt_VS2005.vcproj +++ b/libtomcrypt_VS2005.vcproj @@ -170,6 +170,38 @@ + + + + + + + + + + + + @@ -222,46 +254,6 @@ RelativePath="src\ciphers\rc6.c" > - - - - - - - - - - - - - - - - @@ -269,10 +261,6 @@ RelativePath="src\ciphers\safer\safer.c" > - - @@ -297,7 +285,15 @@ /> + + + + @@ -330,6 +326,10 @@ + + + + + + + + + + + + + + + + @@ -598,38 +626,6 @@ RelativePath="src\hashes\sha1.c" > - - - - - - - - - - - - - - - - @@ -658,6 +654,10 @@ > + + @@ -938,6 +938,14 @@ + + + + @@ -962,14 +970,6 @@ RelativePath="src\math\tfm_desc.c" > - - - - - - - - - - - - - - - - @@ -1014,6 +990,14 @@ > + + + + @@ -1126,6 +1110,10 @@ > + + @@ -1138,6 +1126,14 @@ > + + + + @@ -1154,6 +1150,10 @@ > + + + + + + + + + + + + + + @@ -224,46 +256,6 @@ RelativePath="src\ciphers\rc6.c" > - - - - - - - - - - - - - - - - @@ -271,10 +263,6 @@ RelativePath="src\ciphers\safer\safer.c" > - - @@ -299,7 +287,15 @@ /> + + + + @@ -332,6 +328,10 @@ + + + + + + + + + + + + + + + + @@ -600,38 +628,6 @@ RelativePath="src\hashes\sha1.c" > - - - - - - - - - - - - - - - - @@ -660,6 +656,10 @@ > + + @@ -940,6 +940,14 @@ + + + + @@ -964,14 +972,6 @@ RelativePath="src\math\tfm_desc.c" > - - - - - - - - - - - - - - - - @@ -1016,6 +992,14 @@ > + + + + @@ -1128,6 +1112,10 @@ > + + @@ -1140,6 +1128,14 @@ > + + + + @@ -1156,6 +1152,10 @@ > + +