DebugFastWin32DebugFastx64DebugWin32Debugx64ReleaseLTCGWin32ReleaseLTCGx64ReleaseWin32Releasex64{2f2a2b7b-60b3-478c-921e-3633b3c45c3f}{b56ce698-7300-4fa5-9609-942f1d05c5a2}{ee054e08-3799-4a59-a422-18259c105ffd}{868B98C8-65A1-494B-8346-250A73A48C0A}Win32Projpse10.0StaticLibrarytruev142NotSetStaticLibrarytruev142NotSetStaticLibrarytruev142NotSetStaticLibrarytruev142NotSetStaticLibraryfalsev142trueNotSetStaticLibraryfalsev142trueNotSetStaticLibraryfalsev142trueNotSetStaticLibraryfalsev142trueNotSettrue$(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\$(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\$(ProjectName)-$(Platform)-$(Configuration)$(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\$(ProjectName)-$(Platform)-$(Configuration)true$(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\true$(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\$(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\$(ProjectName)-$(Platform)-$(Configuration)$(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\$(ProjectName)-$(Platform)-$(Configuration)true$(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\false$(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\$(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\$(ProjectName)-$(Platform)-$(Configuration)false$(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\$(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\$(ProjectName)-$(Platform)-$(Configuration)$(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\$(ProjectName)-$(Platform)-$(Configuration)false$(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\$(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\$(ProjectName)-$(Platform)-$(Configuration)false$(SolutionDir)build\$(ProjectName)-$(Platform)-$(Configuration)\Level4DisabledENABLE_VOODOO=1;_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)trueProgramDatabase$(SolutionDir)dep\msvc\include;$(SolutionDir)dep\YBaseLib\Include;$(SolutionDir)dep\xbyak\xbyak;$(SolutionDir)dep\softfloat\include;$(SolutionDir)dep\xxhash\include;$(SolutionDir)dep\inih\cpp;$(SolutionDir)src;%(AdditionalIncludeDirectories)truefalsestdcpp17WindowstrueSDL2.lib;SDL2main.lib;%(AdditionalDependencies)$(SolutionDir)dep\lib32-debug;%(AdditionalLibraryDirectories)Level4DisabledENABLE_VOODOO=1;_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)trueProgramDatabase$(SolutionDir)dep\msvc\include;$(SolutionDir)dep\YBaseLib\Include;$(SolutionDir)dep\xbyak\xbyak;$(SolutionDir)dep\softfloat\include;$(SolutionDir)dep\xxhash\include;$(SolutionDir)dep\inih\cpp;$(SolutionDir)src;%(AdditionalIncludeDirectories)truefalsestdcpp17WindowstrueSDL2.lib;SDL2main.lib;%(AdditionalDependencies)$(SolutionDir)dep\lib64-debug;%(AdditionalLibraryDirectories)Level4DisabledENABLE_VOODOO=1;_ITERATOR_DEBUG_LEVEL=1;_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUGFAST;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)trueProgramDatabase$(SolutionDir)dep\msvc\include;$(SolutionDir)dep\YBaseLib\Include;$(SolutionDir)dep\xbyak\xbyak;$(SolutionDir)dep\softfloat\include;$(SolutionDir)dep\xxhash\include;$(SolutionDir)dep\inih\cpp;$(SolutionDir)src;%(AdditionalIncludeDirectories)Defaulttruefalsestdcpp17falseWindowstrueSDL2.lib;SDL2main.lib;%(AdditionalDependencies)$(SolutionDir)dep\lib32-debug;%(AdditionalLibraryDirectories)Level4DisabledENABLE_VOODOO=1;_ITERATOR_DEBUG_LEVEL=1;_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUGFAST;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)trueProgramDatabase$(SolutionDir)dep\msvc\include;$(SolutionDir)dep\YBaseLib\Include;$(SolutionDir)dep\xbyak\xbyak;$(SolutionDir)dep\softfloat\include;$(SolutionDir)dep\xxhash\include;$(SolutionDir)dep\inih\cpp;$(SolutionDir)src;%(AdditionalIncludeDirectories)Defaulttruefalsestdcpp17falseWindowstrueSDL2.lib;SDL2main.lib;%(AdditionalDependencies)$(SolutionDir)dep\lib64-debug;%(AdditionalLibraryDirectories)Level4MaxSpeedtrueENABLE_VOODOO=1;_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)$(SolutionDir)dep\msvc\include;$(SolutionDir)dep\YBaseLib\Include;$(SolutionDir)dep\xbyak\xbyak;$(SolutionDir)dep\softfloat\include;$(SolutionDir)dep\xxhash\include;$(SolutionDir)dep\inih\cpp;$(SolutionDir)src;%(AdditionalIncludeDirectories)truefalsestdcpp17WindowstruetruetrueSDL2.lib;SDL2main.lib;%(AdditionalDependencies)$(SolutionDir)dep\lib32;%(AdditionalLibraryDirectories)Level4MaxSpeedtrueENABLE_VOODOO=1;_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)$(SolutionDir)dep\msvc\include;$(SolutionDir)dep\YBaseLib\Include;$(SolutionDir)dep\xbyak\xbyak;$(SolutionDir)dep\softfloat\include;$(SolutionDir)dep\xxhash\include;$(SolutionDir)dep\inih\cpp;$(SolutionDir)src;%(AdditionalIncludeDirectories)truetruestdcpp17trueWindowstruetruetrueSDL2.lib;SDL2main.lib;%(AdditionalDependencies)$(SolutionDir)dep\lib32;%(AdditionalLibraryDirectories)Level4MaxSpeedtrueENABLE_VOODOO=1;_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)$(SolutionDir)dep\msvc\include;$(SolutionDir)dep\YBaseLib\Include;$(SolutionDir)dep\xbyak\xbyak;$(SolutionDir)dep\softfloat\include;$(SolutionDir)dep\xxhash\include;$(SolutionDir)dep\inih\cpp;$(SolutionDir)src;%(AdditionalIncludeDirectories)truefalsestdcpp17WindowstruetruetrueSDL2.lib;SDL2main.lib;%(AdditionalDependencies)$(SolutionDir)dep\lib64;%(AdditionalLibraryDirectories)Level4MaxSpeedtrueENABLE_VOODOO=1;_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)$(SolutionDir)dep\msvc\include;$(SolutionDir)dep\YBaseLib\Include;$(SolutionDir)dep\xbyak\xbyak;$(SolutionDir)dep\softfloat\include;$(SolutionDir)dep\xxhash\include;$(SolutionDir)dep\inih\cpp;$(SolutionDir)src;%(AdditionalIncludeDirectories)truetruestdcpp17trueWindowstruetruetrueSDL2.lib;SDL2main.lib;%(AdditionalDependencies)$(SolutionDir)dep\lib64;%(AdditionalLibraryDirectories)();
HashSet neededDirectories = new HashSet();
foreach( var item in ItemList )
{
//solve bug e.g. Checkbox.cpp vs CheckBox.cpp
var filename = item.GetMetadata("Filename").ToUpperInvariant();
//assign reused filenames to increasing numbers
//assign previously unused filenames to 0
int assignment = 0;
if(assignmentMap.TryGetValue(filename, out assignment))
assignmentMap[filename] = ++assignment;
else
assignmentMap[filename] = 0;
var thisFileOutdir = Path.Combine(OutputDir,assignment.ToString()) + "/"; //take care it ends in / so /Fo knows it's a directory and not a filename
item.SetMetadata( "ObjectFileName", thisFileOutdir );
}
foreach(var needed in neededDirectories)
System.IO.Directory.CreateDirectory(needed);
OutputItemList = ItemList;
ItemList = new Microsoft.Build.Framework.ITaskItem[0];
]]>true