Add support for long filenames on Windows in directory browse view.

This commit is contained in:
casey langen 2021-04-10 22:53:50 -07:00
parent 229b282aec
commit de660b8f51
2 changed files with 43 additions and 0 deletions

View File

@ -319,6 +319,9 @@ xcopy "$(SolutionDir)src\3rdparty\bin\win32\dll\openssl\*" "$(TargetDir)" /Y /e
if not exist "$(TargetDir)fonts" mkdir "$(TargetDir)fonts"
xcopy "$(SolutionDir)src\3rdparty\bin\win\font\*.ttf" "$(TargetDir)fonts\" /Y /e</Command>
</PostBuildEvent>
<Manifest>
<AdditionalManifestFiles>win32api.manifest</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-DLL|Win32'">
<ClCompile>
@ -362,6 +365,9 @@ xcopy "$(SolutionDir)src\3rdparty\bin\win32\dll\openssl\*" "$(TargetDir)" /Y /e
if not exist "$(TargetDir)fonts" mkdir "$(TargetDir)fonts"
xcopy "$(SolutionDir)src\3rdparty\bin\win\font\*.ttf" "$(TargetDir)fonts\" /Y /e</Command>
</PostBuildEvent>
<Manifest>
<AdditionalManifestFiles>win32api.manifest</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Con|Win32'">
<ClCompile>
@ -405,6 +411,9 @@ xcopy "$(SolutionDir)src\3rdparty\bin\win32\dll\openssl\*" "$(TargetDir)" /Y /e
if not exist "$(TargetDir)fonts" mkdir "$(TargetDir)fonts"
xcopy "$(SolutionDir)src\3rdparty\bin\win\font\*.ttf" "$(TargetDir)fonts\" /Y /e</Command>
</PostBuildEvent>
<Manifest>
<AdditionalManifestFiles>win32api.manifest</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
@ -446,6 +455,9 @@ xcopy "$(SolutionDir)src\3rdparty\bin\win64\dll\openssl\*" "$(TargetDir)" /Y /e
if not exist "$(TargetDir)fonts" mkdir "$(TargetDir)fonts"
xcopy "$(SolutionDir)src\3rdparty\bin\win\font\*.ttf" "$(TargetDir)fonts\" /Y /e</Command>
</PostBuildEvent>
<Manifest>
<AdditionalManifestFiles>win32api.manifest</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-DLL|x64'">
<ClCompile>
@ -487,6 +499,9 @@ xcopy "$(SolutionDir)src\3rdparty\bin\win64\dll\openssl\*" "$(TargetDir)" /Y /e
if not exist "$(TargetDir)fonts" mkdir "$(TargetDir)fonts"
xcopy "$(SolutionDir)src\3rdparty\bin\win\font\*.ttf" "$(TargetDir)fonts\" /Y /e</Command>
</PostBuildEvent>
<Manifest>
<AdditionalManifestFiles>win32api.manifest</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Con|x64'">
<ClCompile>
@ -528,6 +543,9 @@ xcopy "$(SolutionDir)src\3rdparty\bin\win64\dll\openssl\*" "$(TargetDir)" /Y /e
if not exist "$(TargetDir)fonts" mkdir "$(TargetDir)fonts"
xcopy "$(SolutionDir)src\3rdparty\bin\win\font\*.ttf" "$(TargetDir)fonts\" /Y /e</Command>
</PostBuildEvent>
<Manifest>
<AdditionalManifestFiles>win32api.manifest</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
@ -577,6 +595,9 @@ xcopy "$(SolutionDir)src\3rdparty\bin\win32\dll\openssl\*" "$(TargetDir)" /Y /e
if not exist "$(TargetDir)fonts" mkdir "$(TargetDir)fonts"
xcopy "$(SolutionDir)src\3rdparty\bin\win\font\*.ttf" "$(TargetDir)fonts\" /Y /e</Command>
</PostBuildEvent>
<Manifest>
<AdditionalManifestFiles>win32api.manifest</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-DLL|Win32'">
<ClCompile>
@ -626,6 +647,9 @@ xcopy "$(SolutionDir)src\3rdparty\bin\win32\dll\openssl\*" "$(TargetDir)" /Y /e
if not exist "$(TargetDir)fonts" mkdir "$(TargetDir)fonts"
xcopy "$(SolutionDir)src\3rdparty\bin\win\font\*.ttf" "$(TargetDir)fonts\" /Y /e</Command>
</PostBuildEvent>
<Manifest>
<AdditionalManifestFiles>win32api.manifest</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Con|Win32'">
<ClCompile>
@ -675,6 +699,9 @@ xcopy "$(SolutionDir)src\3rdparty\bin\win32\dll\openssl\*" "$(TargetDir)" /Y /e
if not exist "$(TargetDir)fonts" mkdir "$(TargetDir)fonts"
xcopy "$(SolutionDir)src\3rdparty\bin\win\font\*.ttf" "$(TargetDir)fonts\" /Y /e</Command>
</PostBuildEvent>
<Manifest>
<AdditionalManifestFiles>win32api.manifest</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
@ -723,6 +750,9 @@ xcopy "$(SolutionDir)src\3rdparty\bin\win64\dll\openssl\*" "$(TargetDir)" /Y /e
if not exist "$(TargetDir)fonts" mkdir "$(TargetDir)fonts"
xcopy "$(SolutionDir)src\3rdparty\bin\win\font\*.ttf" "$(TargetDir)fonts\" /Y /e</Command>
</PostBuildEvent>
<Manifest>
<AdditionalManifestFiles>win32api.manifest</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-DLL|x64'">
<ClCompile>
@ -771,6 +801,9 @@ xcopy "$(SolutionDir)src\3rdparty\bin\win64\dll\openssl\*" "$(TargetDir)" /Y /e
if not exist "$(TargetDir)fonts" mkdir "$(TargetDir)fonts"
xcopy "$(SolutionDir)src\3rdparty\bin\win\font\*.ttf" "$(TargetDir)fonts\" /Y /e</Command>
</PostBuildEvent>
<Manifest>
<AdditionalManifestFiles>win32api.manifest</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Con|x64'">
<ClCompile>
@ -819,6 +852,9 @@ xcopy "$(SolutionDir)src\3rdparty\bin\win64\dll\openssl\*" "$(TargetDir)" /Y /e
if not exist "$(TargetDir)fonts" mkdir "$(TargetDir)fonts"
xcopy "$(SolutionDir)src\3rdparty\bin\win\font\*.ttf" "$(TargetDir)fonts\" /Y /e</Command>
</PostBuildEvent>
<Manifest>
<AdditionalManifestFiles>win32api.manifest</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="app\layout\BrowseLayout.cpp" />

View File

@ -0,0 +1,7 @@
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" >
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
<longPathAware>true</longPathAware>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>