From d90ec5f06cfd4b98d9b6ab3f3079193d1fdc05c1 Mon Sep 17 00:00:00 2001 From: sublimator Date: Tue, 9 Sep 2014 01:04:56 +0700 Subject: [PATCH] Normalize sort paths in Visual Studio project generator --- Builds/VisualStudio2013/RippleD.vcxproj | 143 +++++++------- .../VisualStudio2013/RippleD.vcxproj.filters | 174 +++++++++--------- src/beast/site_scons/site_tools/VSProject.py | 2 +- 3 files changed, 165 insertions(+), 154 deletions(-) diff --git a/Builds/VisualStudio2013/RippleD.vcxproj b/Builds/VisualStudio2013/RippleD.vcxproj index 0e4476a2f..da7eedc4a 100644 --- a/Builds/VisualStudio2013/RippleD.vcxproj +++ b/Builds/VisualStudio2013/RippleD.vcxproj @@ -126,6 +126,8 @@ + + @@ -302,14 +304,14 @@ True + + True + True - - True - True @@ -824,6 +826,14 @@ + + + + + + + + True @@ -836,14 +846,6 @@ - - - - - - - - True @@ -1186,8 +1188,6 @@ - - True @@ -2569,11 +2569,6 @@ - - True - - - True @@ -2604,6 +2599,11 @@ True + + True + + + @@ -2611,6 +2611,11 @@ + + True + + + True @@ -3931,6 +3936,57 @@ + + True + + + True + + + True + + + True + + + + + + + True + + + True + + + + + True + + + + + True + + + True + + + + + + + + + True + + + + + True + + + True @@ -4104,57 +4160,6 @@ - - True - - - True - - - True - - - True - - - - - - - True - - - True - - - - - True - - - - - True - - - True - - - - - - - - - True - - - - - True - - - diff --git a/Builds/VisualStudio2013/RippleD.vcxproj.filters b/Builds/VisualStudio2013/RippleD.vcxproj.filters index 2dd6a7939..3b59524a1 100644 --- a/Builds/VisualStudio2013/RippleD.vcxproj.filters +++ b/Builds/VisualStudio2013/RippleD.vcxproj.filters @@ -666,6 +666,9 @@ build\proto + + . + beast @@ -897,15 +900,15 @@ beast\crypto\impl + + beast\crypto\impl + beast\crypto\impl\sha2 beast\crypto\impl\sha2 - - beast\crypto\impl - beast\crypto\impl @@ -1551,6 +1554,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 @@ -1566,18 +1581,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 @@ -2016,9 +2019,6 @@ beast - - . - hyperleveldb\db @@ -3705,12 +3705,6 @@ ripple\module\data\protocol - - ripple\module\data\protocol - - - ripple\module\data\protocol - ripple\module\data\protocol @@ -3747,6 +3741,12 @@ ripple\module\data\protocol + + ripple\module\data\protocol + + + ripple\module\data\protocol + ripple\module\data\protocol @@ -3756,6 +3756,12 @@ ripple\module\data\protocol + + ripple\module\data\protocol + + + ripple\module\data\protocol + ripple\module\data\protocol @@ -5391,6 +5397,66 @@ rocksdb2\third-party\rapidjson + + rocksdb2\utilities\backupable + + + rocksdb2\utilities\document + + + rocksdb2\utilities\document + + + rocksdb2\utilities\geodb + + + rocksdb2\utilities\geodb + + + rocksdb2\utilities + + + rocksdb2\utilities\merge_operators + + + rocksdb2\utilities\merge_operators\string_append + + + rocksdb2\utilities\merge_operators\string_append + + + rocksdb2\utilities\merge_operators\string_append + + + rocksdb2\utilities\merge_operators\string_append + + + rocksdb2\utilities\merge_operators + + + rocksdb2\utilities\redis + + + rocksdb2\utilities\redis + + + rocksdb2\utilities\redis + + + rocksdb2\utilities\redis + + + rocksdb2\utilities\spatialdb + + + rocksdb2\utilities\spatialdb + + + rocksdb2\utilities\ttl + + + rocksdb2\utilities\ttl + rocksdb2\util @@ -5595,66 +5661,6 @@ rocksdb2\util - - rocksdb2\utilities\backupable - - - rocksdb2\utilities\document - - - rocksdb2\utilities\document - - - rocksdb2\utilities\geodb - - - rocksdb2\utilities\geodb - - - rocksdb2\utilities - - - rocksdb2\utilities\merge_operators - - - rocksdb2\utilities\merge_operators\string_append - - - rocksdb2\utilities\merge_operators\string_append - - - rocksdb2\utilities\merge_operators\string_append - - - rocksdb2\utilities\merge_operators\string_append - - - rocksdb2\utilities\merge_operators - - - rocksdb2\utilities\redis - - - rocksdb2\utilities\redis - - - rocksdb2\utilities\redis - - - rocksdb2\utilities\redis - - - rocksdb2\utilities\spatialdb - - - rocksdb2\utilities\spatialdb - - - rocksdb2\utilities\ttl - - - rocksdb2\utilities\ttl - snappy\config diff --git a/src/beast/site_scons/site_tools/VSProject.py b/src/beast/site_scons/site_tools/VSProject.py index 099d2f5dd..724dfb5bc 100644 --- a/src/beast/site_scons/site_tools/VSProject.py +++ b/src/beast/site_scons/site_tools/VSProject.py @@ -106,7 +106,7 @@ def _key(item): 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())) + return ('i', _key(winpath(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: