mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-30 06:32:36 +00:00
Add support for long filenames on Windows in directory browse view.
This commit is contained in:
parent
229b282aec
commit
de660b8f51
@ -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" />
|
||||
|
7
src/musikcube/win32api.manifest
Normal file
7
src/musikcube/win32api.manifest
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user