From 9eb34f542c55632f5df96996dd2cbcd6184627b6 Mon Sep 17 00:00:00 2001 From: evhub Date: Mon, 28 Jul 2014 10:42:22 -0700 Subject: [PATCH] More fixes to VSProject sorting algorithm --- Builds/VisualStudio2013/RippleD.vcxproj | 824 +++++++-------- .../VisualStudio2013/RippleD.vcxproj.filters | 936 +++++++++--------- src/beast/site_scons/site_tools/VSProject.py | 39 +- 3 files changed, 901 insertions(+), 898 deletions(-) diff --git a/Builds/VisualStudio2013/RippleD.vcxproj b/Builds/VisualStudio2013/RippleD.vcxproj index 57070d1745..7457615ce5 100644 --- a/Builds/VisualStudio2013/RippleD.vcxproj +++ b/Builds/VisualStudio2013/RippleD.vcxproj @@ -7,27 +7,16 @@ true - - release - x64 - debug x64 + + release + x64 + - - MultiByte - Application - v120 - False - False - False - false - ..\..\build\msvc.release\src\ - ..\..\build\msvc.release\ - MultiByte Application @@ -39,50 +28,26 @@ ..\..\build\msvc.debug\src\ ..\..\build\msvc.debug\ + + MultiByte + Application + v120 + False + False + False + false + ..\..\build\msvc.release\src\ + ..\..\build\msvc.release\ + - - - + + + - - - _WIN32_WINNT=0x6000;NDEBUG;OPENSSL_NO_SSL2;WIN32_CONSOLE;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) - ..\..\build\proto;..\..\src;..\..\src\beast;..\..\src\protobuf\src;..\..\src\protobuf\vsprojects;%(AdditionalIncludeDirectories) - 4800;4244;4267;4018 - Async - Precise - False - None - True - True - MultiThreaded - False - True - False - False - ProgramDatabase - Cdecl - True - Full - Level3 - /bigobj /FS %(AdditionalOptions) - - - advapi32.lib;comdlg32.lib;gdi32.lib;kernel32.lib;libeay32MT.lib;odbc32.lib;odbccp32.lib;ole32.lib;oleaut32.lib;shell32.lib;Shlwapi.lib;ssleay32MT.lib;user32.lib;uuid.lib;winspool.lib;%(AdditionalDependencies) - True - NoErrorReport - Console - True - true - True - MachineX64 - /MANIFEST /TLBID:1 %(AdditionalOptions) - - _WIN32_WINNT=0x6000;DEBUG;OPENSSL_NO_SSL2;WIN32_CONSOLE;_CRTDBG_MAP_ALLOC;_CRT_SECURE_NO_WARNINGS;_DEBUG;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) @@ -120,6 +85,41 @@ /MANIFEST /TLBID:1 %(AdditionalOptions) + + + _WIN32_WINNT=0x6000;NDEBUG;OPENSSL_NO_SSL2;WIN32_CONSOLE;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + ..\..\build\proto;..\..\src;..\..\src\beast;..\..\src\protobuf\src;..\..\src\protobuf\vsprojects;%(AdditionalIncludeDirectories) + 4800;4244;4267;4018 + Async + Precise + False + None + True + True + MultiThreaded + False + True + False + False + ProgramDatabase + Cdecl + True + Full + Level3 + /bigobj /FS %(AdditionalOptions) + + + advapi32.lib;comdlg32.lib;gdi32.lib;kernel32.lib;libeay32MT.lib;odbc32.lib;odbccp32.lib;ole32.lib;oleaut32.lib;shell32.lib;Shlwapi.lib;ssleay32MT.lib;user32.lib;uuid.lib;winspool.lib;%(AdditionalDependencies) + True + NoErrorReport + Console + True + true + True + MachineX64 + /MANIFEST /TLBID:1 %(AdditionalOptions) + + True @@ -130,44 +130,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - True - - - True + + True + @@ -179,6 +149,8 @@ + + @@ -201,6 +173,8 @@ + + True @@ -208,10 +182,7 @@ - - True - - + @@ -219,26 +190,33 @@ + + True + - + True - + True + + True True + + @@ -255,9 +233,6 @@ - - True - @@ -282,6 +257,9 @@ + + True + @@ -316,39 +294,41 @@ + + True - - - - - - - - True True - - True - True + + True + + + + + True True + + + + @@ -369,12 +349,7 @@ - - True - - - - + @@ -384,10 +359,7 @@ - - True - - + True @@ -409,29 +381,41 @@ True + + True + True + + True + + + - - True - True True + + True + True + + + + @@ -458,17 +442,6 @@ - - True - - - - - - - - - True @@ -490,10 +463,25 @@ True + + True + + + + + + + + + + + + + @@ -508,13 +496,13 @@ + + True - - True @@ -824,6 +812,14 @@ + + + + + + + + True @@ -836,14 +832,6 @@ - - - - - - - - True @@ -943,21 +931,10 @@ - - - - - - - - - - - - True - + + True @@ -970,13 +947,28 @@ True + + + + + + + + + + True + True + + + + @@ -993,6 +985,10 @@ True + + + + @@ -1001,8 +997,12 @@ - - + + True + + + True + @@ -1014,40 +1014,7 @@ True - - True - - - True - - - - - - - - - - - - - - - - - - - - - - - True - - - - - - + @@ -1068,14 +1035,45 @@ True + + + + + + + + + + + + + + + + True True + + + + + + True + + + + + + + + + @@ -1103,27 +1101,14 @@ - - - - - - - - - - - - - - True - - - + + + + True @@ -1144,41 +1129,61 @@ + + + + + + + + - - True - - - True - True True + + True + True True + + True + + + True + + + + + True + + True + + + True @@ -1189,11 +1194,6 @@ - - True - - - True @@ -1391,6 +1391,11 @@ + + True + + + True @@ -1401,11 +1406,6 @@ - - True - - - True @@ -1861,20 +1861,6 @@ - - - - - - - - - - - - - - @@ -1896,14 +1882,24 @@ + + + + + + + + + + + + True - - - + True @@ -1931,6 +1927,10 @@ + + + + @@ -1948,9 +1948,6 @@ True - - True - @@ -1968,22 +1965,15 @@ True + + True + - - - - - - - - - - True @@ -1996,12 +1986,22 @@ True + + + + + + + + True True + + True @@ -2012,11 +2012,6 @@ - - True - - - True @@ -2027,6 +2022,11 @@ + + True + + + True @@ -2250,52 +2250,6 @@ - - True - - - - - - - True - - - - - True - - - - - True - - - - - True - - - - - True - - - - - True - - - - - True - - - - - - - True @@ -2330,6 +2284,52 @@ + + True + + + + + + + True + + + + + True + + + + + True + + + + + True + + + + + True + + + + + True + + + + + True + + + + + + + @@ -2595,26 +2595,6 @@ - - True - - - - - True - - - - - True - - - - - True - - - @@ -2639,6 +2619,26 @@ + + True + + + + + True + + + + + True + + + + + True + + + True @@ -2663,6 +2663,8 @@ + + True @@ -2675,8 +2677,6 @@ - - True @@ -2704,16 +2704,6 @@ - - - - - - - - - - True @@ -2827,9 +2817,6 @@ True - - True - True @@ -2839,6 +2826,9 @@ True + + True + True @@ -2957,6 +2947,16 @@ + + + + + + + + + + True @@ -2967,22 +2967,6 @@ - - - - - - - - - - - - - - - - True @@ -3008,6 +2992,12 @@ + + + + + + True @@ -3051,6 +3041,14 @@ + + + + + + + + True @@ -3065,17 +3063,22 @@ True - + - + - + - - True + + True + + + + + True @@ -3091,25 +3094,22 @@ - - - - - - - - True - - - - - + + + + + + + + + + @@ -3149,6 +3149,10 @@ + + + + True @@ -3191,10 +3195,6 @@ - - - - @@ -3213,16 +3213,16 @@ - Document - protoc --cpp_out=..\..\build\proto --proto_path=%(RelativeDir) %(Identity) - ..\..\build\proto\ripple.pb.h;..\..\build\proto\ripple.pb.cc - protoc --cpp_out=..\..\build\proto --proto_path=%(RelativeDir) %(Identity) - false Document protoc --cpp_out=..\..\build\proto --proto_path=%(RelativeDir) %(Identity) ..\..\build\proto\ripple.pb.h;..\..\build\proto\ripple.pb.cc protoc --cpp_out=..\..\build\proto --proto_path=%(RelativeDir) %(Identity) false + Document + protoc --cpp_out=..\..\build\proto --proto_path=%(RelativeDir) %(Identity) + ..\..\build\proto\ripple.pb.h;..\..\build\proto\ripple.pb.cc + protoc --cpp_out=..\..\build\proto --proto_path=%(RelativeDir) %(Identity) + false @@ -3298,6 +3298,8 @@ True + + @@ -3308,8 +3310,6 @@ - - True @@ -3349,6 +3349,8 @@ + + @@ -3383,14 +3385,12 @@ + + - - - - True @@ -3406,10 +3406,10 @@ True - + True - + True @@ -3455,8 +3455,8 @@ - ..\..\src\hyperleveldb;..\..\src\snappy\config;..\..\src\snappy\snappy;%(AdditionalIncludeDirectories) ..\..\src\hyperleveldb;..\..\src\snappy\config;..\..\src\snappy\snappy;%(AdditionalIncludeDirectories) + ..\..\src\hyperleveldb;..\..\src\snappy\config;..\..\src\snappy\snappy;%(AdditionalIncludeDirectories) @@ -3465,8 +3465,8 @@ - ..\..\src\leveldb;..\..\src\leveldb\include;..\..\src\snappy\config;..\..\src\snappy\snappy;%(AdditionalIncludeDirectories) ..\..\src\leveldb;..\..\src\leveldb\include;..\..\src\snappy\config;..\..\src\snappy\snappy;%(AdditionalIncludeDirectories) + ..\..\src\leveldb;..\..\src\leveldb\include;..\..\src\snappy\config;..\..\src\snappy\snappy;%(AdditionalIncludeDirectories) @@ -3475,8 +3475,8 @@ - ..\..\src\leveldb\include;..\..\src\rocksdb\include;%(AdditionalIncludeDirectories) ..\..\src\leveldb\include;..\..\src\rocksdb\include;%(AdditionalIncludeDirectories) + ..\..\src\leveldb\include;..\..\src\rocksdb\include;%(AdditionalIncludeDirectories) @@ -3497,8 +3497,8 @@ - ..\..\src\rocksdb;..\..\src\rocksdb\include;..\..\src\snappy\config;..\..\src\snappy\snappy;%(AdditionalIncludeDirectories) ..\..\src\rocksdb;..\..\src\rocksdb\include;..\..\src\snappy\config;..\..\src\snappy\snappy;%(AdditionalIncludeDirectories) + ..\..\src\rocksdb;..\..\src\rocksdb\include;..\..\src\snappy\config;..\..\src\snappy\snappy;%(AdditionalIncludeDirectories) @@ -3511,8 +3511,8 @@ - ..\..\src\snappy\config;..\..\src\snappy\snappy;%(AdditionalIncludeDirectories) ..\..\src\snappy\config;..\..\src\snappy\snappy;%(AdditionalIncludeDirectories) + ..\..\src\snappy\config;..\..\src\snappy\snappy;%(AdditionalIncludeDirectories) @@ -3610,6 +3610,11 @@ + + True + + + True @@ -3634,21 +3639,16 @@ True - + True - + True - - True - - - True @@ -3840,13 +3840,13 @@ - - True + + True @@ -3894,13 +3894,13 @@ + + True - - True @@ -3971,16 +3971,16 @@ - - True - - - True + + True + + + True @@ -4136,10 +4136,10 @@ - - + + diff --git a/Builds/VisualStudio2013/RippleD.vcxproj.filters b/Builds/VisualStudio2013/RippleD.vcxproj.filters index 9fb5998699..f5fb75f2a8 100644 --- a/Builds/VisualStudio2013/RippleD.vcxproj.filters +++ b/Builds/VisualStudio2013/RippleD.vcxproj.filters @@ -627,60 +627,15 @@ beast - - beast - - - beast - - - beast - - - beast - - - beast - - - beast - - - beast - - - beast - - - beast - - - beast - - - beast - - - beast - - - beast - - - beast - - - beast\asio - - - beast\asio - beast\asio beast\asio + + beast\asio + beast\asio @@ -696,6 +651,9 @@ beast\asio + + beast\asio + beast\asio @@ -723,6 +681,9 @@ beast\asio + + beast + beast\boost @@ -732,11 +693,8 @@ beast\boost - - beast\chrono - - - beast\chrono + + beast beast\chrono @@ -747,16 +705,19 @@ beast\chrono + + beast\chrono + beast\chrono beast\chrono - + beast\chrono\impl - + beast\chrono\impl @@ -765,12 +726,18 @@ beast\chrono + + beast\chrono + beast\chrono\tests beast\chrono\tests + + beast + beast\config @@ -795,9 +762,6 @@ beast\config - - beast\container - beast\container @@ -834,6 +798,9 @@ beast\container + + beast\container + beast\container\detail @@ -876,45 +843,48 @@ beast\container\tests + + beast + beast\crypto beast\crypto - - beast\crypto - - - beast\crypto - - - beast\crypto - - - beast\crypto - beast\crypto\impl beast\crypto\impl - - beast\crypto\impl - beast\crypto\impl\sha2 beast\crypto\impl\sha2 + + beast\crypto\impl + + + beast\crypto + + + beast\crypto + beast\crypto\tests beast\crypto\tests + + beast\crypto + + + beast\crypto + beast\cxx14 @@ -942,14 +912,8 @@ beast\cxx14 - - beast\http - - - beast\http - - - beast\http + + beast beast\http @@ -963,11 +927,8 @@ beast\http - - beast\http\impl - - - beast\http\impl + + beast\http beast\http\impl @@ -990,33 +951,48 @@ beast\http\impl + + beast\http\impl + beast\http\impl + + beast\http\impl + beast\http beast\http + + beast\http + beast\http - - beast\http\tests - beast\http\tests beast\http\tests + + beast\http\tests + beast\http\tests beast\http\tests + + beast\http + + + beast + beast\insight @@ -1056,21 +1032,6 @@ beast\insight - - beast\insight - - - beast\insight - - - beast\insight - - - beast\insight - - - beast\insight - beast\insight\impl @@ -1092,12 +1053,33 @@ beast\insight\impl + + beast\insight + + + beast\insight + + + beast\insight + + + beast\insight + + + beast\insight + + + beast + beast\intrusive beast\intrusive + + beast + beast\module\asio @@ -1116,15 +1098,15 @@ beast\module\asio\basics + + beast\module\asio\basics + beast\module\asio\basics beast\module\asio\basics - - beast\module\asio\basics - beast\module\asio\http @@ -1509,6 +1491,18 @@ beast\module\core\text + + beast\module\core\threads + + + beast\module\core\threads + + + beast\module\core\threads + + + beast\module\core\threads + beast\module\core\thread @@ -1524,18 +1518,6 @@ beast\module\core\thread - - beast\module\core\threads - - - beast\module\core\threads - - - beast\module\core\threads - - - beast\module\core\threads - beast\module\core\time @@ -1659,9 +1641,24 @@ beast\module\sqlite\sqlite + + beast\net\detail + beast\net + + beast\net\impl + + + beast\net\impl + + + beast\net\impl + + + beast\net\impl + beast\net @@ -1677,30 +1674,21 @@ beast\net - - beast\net\detail - - - beast\net\impl - - - beast\net\impl - - - beast\net\impl - - - beast\net\impl - beast\net\tests + + beast + beast\smart_ptr beast\smart_ptr + + beast + beast\streams @@ -1722,6 +1710,12 @@ beast\streams\tests + + beast + + + beast\strings + beast\strings @@ -1734,9 +1728,12 @@ beast\strings - - beast\strings - + + beast\strings\impl + + + beast\strings\impl + beast\strings @@ -1752,53 +1749,8 @@ beast\strings - - beast\strings\impl - - - beast\strings\impl - - - beast\threads - - - beast\threads - - - beast\threads - - - beast\threads - - - beast\threads - - - beast\threads - - - beast\threads - - - beast\threads - - - beast\threads - - - beast\threads - - - beast\threads - - - beast\threads - - - beast\threads - - - beast\threads + + beast beast\threads\detail @@ -1821,15 +1773,60 @@ beast\threads\impl + + beast\threads + + + beast\threads + beast\threads + + beast\threads + + + beast\threads + + + beast\threads + + + beast\threads + + + beast\threads + + + beast\threads + beast\threads\tests beast\threads\tests + + beast\threads + + + beast\threads + + + beast\threads + + + beast\threads + + + beast\threads + + + beast\threads + + + beast + beast @@ -1869,36 +1866,18 @@ beast\unit_test - - beast\utility - - - beast\utility - - - beast\utility - - - beast\utility - - - beast\utility - - - beast\utility - - - beast\utility - - - beast\utility - beast\utility + + beast\utility + beast\utility + + beast\utility + beast\utility\impl @@ -1920,6 +1899,12 @@ beast\utility + + beast\utility + + + beast\utility + beast\utility @@ -1929,39 +1914,60 @@ beast\utility + + beast\utility + + + beast\utility + beast\utility beast\utility - - beast\utility\tests - - - beast\utility\tests - beast\utility\tests beast\utility\tests + + beast\utility\tests + beast\utility\tests beast\utility\tests + + beast\utility\tests + beast\utility + + beast\utility + + + beast\utility + + + beast + hyperleveldb\db hyperleveldb\db + + hyperleveldb\db + + + hyperleveldb\db + hyperleveldb\db @@ -1974,12 +1980,6 @@ hyperleveldb\db - - hyperleveldb\db - - - hyperleveldb\db - hyperleveldb\db @@ -2223,6 +2223,12 @@ leveldb\db + + leveldb\db + + + leveldb\db + leveldb\db @@ -2235,12 +2241,6 @@ leveldb\db - - leveldb\db - - - leveldb\db - leveldb\db @@ -2808,27 +2808,6 @@ ripple\basics\utility - - ripple\common - - - ripple\common - - - ripple\common - - - ripple\common - - - ripple\common - - - ripple\common - - - ripple\common - ripple\common @@ -2853,17 +2832,32 @@ ripple\common + + ripple\common + + + ripple\common + + + ripple\common + + + ripple\common + + + ripple\common + ripple\common + + ripple\common + ripple\common\tests - - ripple\http - - - ripple\http + + ripple\common ripple\http\impl @@ -2895,6 +2889,12 @@ ripple\http\impl + + ripple\http + + + ripple\http + ripple\json\api @@ -2919,9 +2919,6 @@ ripple\json\impl - - ripple\json\impl - ripple\json\impl @@ -2943,6 +2940,9 @@ ripple\json\impl + + ripple\json\impl + ripple\module\app\book @@ -2952,21 +2952,6 @@ ripple\module\app\book - - ripple\module\app\book - - - ripple\module\app\book - - - ripple\module\app\book - - - ripple\module\app\book - - - ripple\module\app\book - ripple\module\app\book\impl @@ -2979,12 +2964,27 @@ ripple\module\app\book\impl + + ripple\module\app\book + + + ripple\module\app\book + + + ripple\module\app\book + + + ripple\module\app\book + ripple\module\app\book\tests ripple\module\app\book\tests + + ripple\module\app\book + ripple\module\app\consensus @@ -2997,12 +2997,6 @@ ripple\module\app\consensus - - ripple\module\app\data - - - ripple\module\app\data - ripple\module\app\data @@ -3015,6 +3009,12 @@ ripple\module\app\data + + ripple\module\app\data + + + ripple\module\app\data + ripple\module\app\data @@ -3285,63 +3285,6 @@ ripple\module\app\node - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - - - ripple\module\app\paths - ripple\module\app\paths\cursor @@ -3378,6 +3321,63 @@ ripple\module\app\paths\cursor + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + + + ripple\module\app\paths + ripple\module\app\peers @@ -3699,30 +3699,6 @@ ripple\module\data\protocol - - ripple\module\data\protocol - - - ripple\module\data\protocol - - - ripple\module\data\protocol - - - ripple\module\data\protocol - - - ripple\module\data\protocol - - - ripple\module\data\protocol - - - ripple\module\data\protocol - - - ripple\module\data\protocol - ripple\module\data\protocol @@ -3753,6 +3729,30 @@ ripple\module\data\protocol + + ripple\module\data\protocol + + + ripple\module\data\protocol + + + ripple\module\data\protocol + + + ripple\module\data\protocol + + + ripple\module\data\protocol + + + ripple\module\data\protocol + + + ripple\module\data\protocol + + + ripple\module\data\protocol + ripple\module\data\protocol @@ -3783,6 +3783,9 @@ ripple\module\net\basics + + ripple\module\net\basics\impl + ripple\module\net\basics @@ -3798,9 +3801,6 @@ ripple\module\net\basics - - ripple\module\net\basics\impl - ripple\module\net\rpc @@ -3834,21 +3834,6 @@ ripple\module\rpc - - ripple\module\rpc - - - ripple\module\rpc - - - ripple\module\rpc - - - ripple\module\rpc - - - ripple\module\rpc - ripple\module\rpc\handlers @@ -3963,9 +3948,6 @@ ripple\module\rpc\handlers - - ripple\module\rpc\handlers - ripple\module\rpc\handlers @@ -3975,6 +3957,9 @@ ripple\module\rpc\handlers + + ripple\module\rpc\handlers + ripple\module\rpc\handlers @@ -4104,6 +4089,21 @@ ripple\module\rpc\impl + + ripple\module\rpc + + + ripple\module\rpc + + + ripple\module\rpc + + + ripple\module\rpc + + + ripple\module\rpc + ripple\module\websocket\autosocket @@ -4116,30 +4116,6 @@ ripple\nodestore - - ripple\nodestore - - - ripple\nodestore - - - ripple\nodestore - - - ripple\nodestore - - - ripple\nodestore - - - ripple\nodestore - - - ripple\nodestore - - - ripple\nodestore - ripple\nodestore\backend @@ -4170,6 +4146,15 @@ ripple\nodestore\backend + + ripple\nodestore + + + ripple\nodestore + + + ripple\nodestore + ripple\nodestore\impl @@ -4218,6 +4203,18 @@ ripple\nodestore\impl + + ripple\nodestore + + + ripple\nodestore + + + ripple\nodestore + + + ripple\nodestore + ripple\nodestore\tests @@ -4233,21 +4230,27 @@ ripple\nodestore\tests - - ripple\overlay + + ripple\nodestore - - ripple\overlay + + ripple\overlay\impl - - ripple\overlay + + ripple\overlay\impl - - ripple\overlay - ripple\overlay\impl + + ripple\overlay\impl + + + ripple\overlay\impl + + + ripple\overlay\impl + ripple\overlay\impl @@ -4266,33 +4269,30 @@ ripple\overlay\impl - - ripple\overlay\impl - - - ripple\overlay\impl - - - ripple\overlay\impl - - - ripple\overlay\impl - - - ripple\overlay\impl - - - ripple\overlay\impl - ripple\overlay\impl + + ripple\overlay\impl + ripple\overlay + + ripple\overlay + + + ripple\overlay + + + ripple\overlay + ripple\overlay + + ripple\overlay + ripple\peerfinder\api @@ -4344,6 +4344,12 @@ ripple\peerfinder\impl + + ripple\peerfinder\impl + + + ripple\peerfinder\impl + ripple\peerfinder\impl @@ -4398,12 +4404,6 @@ ripple\peerfinder\impl - - ripple\peerfinder\impl - - - ripple\peerfinder\impl - ripple\peerfinder\sim @@ -4527,6 +4527,9 @@ ripple\sitefiles\impl + + ripple\sslutil\api + ripple\sslutil\api @@ -4542,9 +4545,6 @@ ripple\sslutil\api - - ripple\sslutil\api - ripple\sslutil\impl @@ -4596,6 +4596,9 @@ ripple\types\api + + ripple\types\api + ripple\types\api @@ -4647,18 +4650,15 @@ ripple\types\api + + ripple\types\api + ripple\types\api ripple\types\api - - ripple\types\api - - - ripple\types\api - ripple\types\impl @@ -4674,10 +4674,10 @@ ripple\types\impl - + ripple\types\impl - + ripple\types\impl @@ -4944,6 +4944,12 @@ rocksdb\db + + rocksdb\db + + + rocksdb\db + rocksdb\db @@ -4971,10 +4977,10 @@ rocksdb\db - + rocksdb\db - + rocksdb\db @@ -4983,12 +4989,6 @@ rocksdb\db - - rocksdb\db - - - rocksdb\db - rocksdb\db @@ -5235,15 +5235,15 @@ rocksdb\table - - rocksdb\table - rocksdb\table rocksdb\table + + rocksdb\table + rocksdb\table @@ -5301,15 +5301,15 @@ rocksdb\util + + rocksdb\util + rocksdb\util rocksdb\util - - rocksdb\util - rocksdb\util @@ -5391,18 +5391,18 @@ rocksdb\util - - rocksdb\util - - - rocksdb\util - rocksdb\util rocksdb\util + + rocksdb\util + + + rocksdb\util + rocksdb\util @@ -5601,10 +5601,10 @@ websocket\src\utf8_validator - + websocket\src - + websocket\src diff --git a/src/beast/site_scons/site_tools/VSProject.py b/src/beast/site_scons/site_tools/VSProject.py index 7a83a4b1f8..099d2f5ddf 100644 --- a/src/beast/site_scons/site_tools/VSProject.py +++ b/src/beast/site_scons/site_tools/VSProject.py @@ -94,25 +94,28 @@ def is_subdir(child, parent): '''Determine if child is a subdirectory of parent''' return os.path.commonprefix([parent, child]) == parent +def _key(item): + if isinstance(item, (str, unicode)): + return ('s', item.upper(), item) + elif isinstance(item, (int, long, float)): + return ('n', item) + elif isinstance(item, (list, tuple)): + return ('l', map(_key, item)) + elif isinstance(item, dict): + return ('d', xsorted(item.keys()), xsorted(item.values())) + elif isinstance(item, Configuration): + return ('c', _key(item.name), _key(item.target), _key(item.variant), _key(item.platform)) + elif isinstance(item, Item): + return ('i', _key(item.path()), _key(item.is_compiled()), _key(item.builder()), _key(item.tag()), _key(item.is_excluded())) + elif isinstance(item, SCons.Node.FS.File): + return ('f', _key(item.name), _key(item.suffix)) + else: + return ('x', item) + def xsorted(tosort, **kwargs): '''Performs sorted in a deterministic manner.''' if 'key' in kwargs: map(kwargs['key'], tosort) - def _key(item): - if isinstance(item, (str, unicode)): - return ("s", item.upper(), item) - elif isinstance(item, (list, tuple)): - return ("l", map(_key, item)) - elif isinstance(item, dict): - return ("d", xsorted(item.keys()), xsorted(item.values())) - elif isinstance(item, Configuration): - return ("c", item.target, item.platform, item.variant) - elif isinstance(item, Item): - return ("i", item._path, item._builder) - elif isinstance(item, SCons.Node.FS.File): - return ("f", item.name, item.suffix) - else: - return ("x", item) kwargs['key'] = _key return sorted(tosort, **kwargs) @@ -582,7 +585,7 @@ class _ProjectGenerator(object): def __init__(self, project_node, filters_node, env): try: - self.configs = xsorted(env['VSPROJECT_CONFIGS'], key=lambda x: x.name) + self.configs = xsorted(env['VSPROJECT_CONFIGS']) except KeyError: raise ValueError ('Missing VSPROJECT_CONFIGS') self.root_dir = os.getcwd() @@ -620,7 +623,7 @@ class _ProjectGenerator(object): targets = config.target for target in targets: _walk(target, items) - self.items = xsorted(items.values(), key=lambda x: x.path()) + self.items = xsorted(items.values()) def makeListTag(self, items, prefix, tag, attrs, inherit=True): '''Builds an XML tag string from a list of items. If items is @@ -662,7 +665,7 @@ class _ProjectGenerator(object): f.write(' \r\n') for config in self.configs: variant = config.variant - platform = config.platform + platform = config.platform f.write(V12DSPProjectConfiguration % locals()) f.write(' \r\n')