ciderpress/app/app.vcxproj
Andy McFadden 51b5f00f5c Large set of changes to restore CiderPress build.
CiderPress and MDC now compile, and execute far enough to open
their respective "about" boxes, but I doubt they'll do much
more than that.

* Switch from MBCS to UNICODE APIs

Microsoft switched to UTF-16 (by way of UCS-2) a long time ago,
and the support for MBCS seems to be getting phased out.  So it's
time to switch to wide strings.

This is a bit awkward for CiderPress because it works with disk
and file archives with 8-bit filenames, and I want NufxLib and
DiskImgLib to continue to work on Linux (which has largely taken
the UTF-8 approach to Unicode).  The libraries will continue to
work with 8-bit filenames, with CiderPress/MDC doing the
conversion at the appropriate point.

There were a couple of places where strings from a structure
handed back by one of the libraries were used directly in the UI,
or vice-versa, which is a problem because we have nowhere to
store the result of the conversion.  These currently have fixed
place-holder "xyzzy" strings.

All UI strings are now wide.

Various format strings now use "%ls" and "%hs" to explicitly
specify wide and narrow.  This doesn't play well with gcc, so
only the Windows-specific parts use those.

* Various updates to vcxproj files

The project-file conversion had some cruft that is now largely
gone.  The build now has a common output directory for the EXEs
and libraries, avoiding the old post-build copy steps.

* Added zlib 1.2.8 and nufxlib 2.2.2 source snapshots

The old "prebuilts" directory is now gone.  The libraries are now
built as part of building the apps.

I added a minimal set of files for zlib, and a full set for nufxlib.
The Linux-specific nufxlib goodies are included for the benefit of
the Linux utilities, which are currently broken (don't build).

* Replace symbols used for include guards

Symbols with a leading "__" are reserved.
2014-11-16 21:01:53 -08:00

325 lines
15 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<SccProjectName />
<SccLocalPath />
<Keyword>MFCProj</Keyword>
<ProjectGuid>{B023611B-7086-46E1-847B-3B21C4732384}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v120</PlatformToolset>
<UseOfMfc>Dynamic</UseOfMfc>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v120</PlatformToolset>
<UseOfMfc>Dynamic</UseOfMfc>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>12.0.30501.0</_ProjectFileVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
<IntDir>$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
<IntDir>$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<PreprocessorDefinitions>WIN32;NDEBUGX;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader />
<PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
<PrecompiledHeaderOutputFile>$(IntDir)$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
<ObjectFileName>$(IntDir)</ObjectFileName>
<ProgramDataBaseFileName>$(IntDir)vc$(PlatformToolsetVersion).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<WarningLevel>Level3</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<GenerateXMLDocumentationFiles>false</GenerateXMLDocumentationFiles>
</ClCompile>
<Link>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
<MapFileName>
</MapFileName>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<ImageHasSafeExceptionHandlers />
</Link>
<Midl>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MkTypLibCompatible>true</MkTypLibCompatible>
<SuppressStartupBanner>true</SuppressStartupBanner>
<TargetEnvironment>Win32</TargetEnvironment>
<TypeLibraryName>.\Release/app.tlb</TypeLibraryName>
<HeaderFileName />
</Midl>
<PostBuildEvent>
<Message>
</Message>
<Command>copy Help\CiderPress.hlp Release\
copy Help\CiderPress.cnt Release\</Command>
</PostBuildEvent>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader />
<PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
<PrecompiledHeaderOutputFile>$(IntDir)$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
<ObjectFileName>$(IntDir)</ObjectFileName>
<ProgramDataBaseFileName>$(IntDir)vc$(PlatformToolsetVersion).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<WarningLevel>Level3</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<GenerateXMLDocumentationFiles>false</GenerateXMLDocumentationFiles>
</ClCompile>
<Link>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<ImageHasSafeExceptionHandlers />
</Link>
<Midl>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MkTypLibCompatible>true</MkTypLibCompatible>
<SuppressStartupBanner>true</SuppressStartupBanner>
<TargetEnvironment>Win32</TargetEnvironment>
<TypeLibraryName>.\Debug/app.tlb</TypeLibraryName>
<HeaderFileName />
</Midl>
<PostBuildEvent>
<Message>Copying help</Message>
<Command>copy Help\CiderPress.hlp Debug\
copy Help\CiderPress.cnt Debug\
</Command>
</PostBuildEvent>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ResourceCompile Include="CiderPress.rc" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="AboutDialog.h" />
<ClInclude Include="ActionProgressDialog.h" />
<ClInclude Include="ACUArchive.h" />
<ClInclude Include="AddClashDialog.h" />
<ClInclude Include="AddFilesDialog.h" />
<ClInclude Include="ArchiveInfoDialog.h" />
<ClInclude Include="BasicImport.h" />
<ClInclude Include="BNYArchive.h" />
<ClInclude Include="CassetteDialog.h" />
<ClInclude Include="CassImpTargetDialog.h" />
<ClInclude Include="ChooseAddTargetDialog.h" />
<ClInclude Include="ChooseDirDialog.h" />
<ClInclude Include="ConfirmOverwriteDialog.h" />
<ClInclude Include="ContentList.h" />
<ClInclude Include="ConvDiskOptionsDialog.h" />
<ClInclude Include="ConvFileOptionsDialog.h" />
<ClInclude Include="CreateImageDialog.h" />
<ClInclude Include="CreateSubdirDialog.h" />
<ClInclude Include="DEFileDialog.h" />
<ClInclude Include="DiskArchive.h" />
<ClInclude Include="DiskConvertDialog.h" />
<ClInclude Include="DiskEditDialog.h" />
<ClInclude Include="DiskEditOpenDialog.h" />
<ClInclude Include="DiskFSTree.h" />
<ClInclude Include="DoneOpenDialog.h" />
<ClInclude Include="EditAssocDialog.h" />
<ClInclude Include="EditCommentDialog.h" />
<ClInclude Include="EditPropsDialog.h" />
<ClInclude Include="EnterRegDialog.h" />
<ClInclude Include="EOLScanDialog.h" />
<ClInclude Include="ExtractOptionsDialog.h" />
<ClInclude Include="FileNameConv.h" />
<ClInclude Include="GenericArchive.h" />
<ClInclude Include="HelpTopics.h" />
<ClInclude Include="ImageFormatDialog.h" />
<ClInclude Include="Main.h" />
<ClInclude Include="MyApp.h" />
<ClInclude Include="NewDiskSize.h" />
<ClInclude Include="NewFolderDialog.h" />
<ClInclude Include="NufxArchive.h" />
<ClInclude Include="OpenVolumeDialog.h" />
<ClInclude Include="PasteSpecialDialog.h" />
<ClInclude Include="Preferences.h" />
<ClInclude Include="PrefsDialog.h" />
<ClInclude Include="Print.h" />
<ClInclude Include="ProgressCounterDialog.h" />
<ClInclude Include="RecompressOptionsDialog.h" />
<ClInclude Include="Registry.h" />
<ClInclude Include="RenameEntryDialog.h" />
<ClInclude Include="RenameVolumeDialog.h" />
<ClInclude Include="resource.h" />
<ClInclude Include="Squeeze.h" />
<ClInclude Include="StdAfx.h" />
<ClInclude Include="SubVolumeDialog.h" />
<ClInclude Include="targetver.h" />
<ClInclude Include="TwoImgPropsDialog.h" />
<ClInclude Include="UseSelectionDialog.h" />
<ClInclude Include="ViewFilesDialog.h" />
<ClInclude Include="VolumeCopyDialog.h" />
</ItemGroup>
<ItemGroup>
<Image Include="Graphics\binary2.ico" />
<Image Include="Graphics\ChooseFolder.bmp" />
<Image Include="Graphics\CiderPress.ico" />
<Image Include="Graphics\diskimage.ico" />
<Image Include="Graphics\FileViewer.ico" />
<Image Include="Graphics\fslogo.bmp" />
<Image Include="Graphics\hdrbar.bmp" />
<Image Include="Graphics\icon2.ico" />
<Image Include="Graphics\list-pics.bmp" />
<Image Include="Graphics\NewFolder.bmp" />
<Image Include="Graphics\nufx.ico" />
<Image Include="Graphics\toolbar1.bmp" />
<Image Include="graphics\tree_pics.bmp" />
<Image Include="graphics\vol_pics.bmp" />
</ItemGroup>
<ItemGroup>
<None Include="Help\CIDERPRESS.HLP" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\diskimg\diskimg.vcxproj">
<Project>{0cfe6fad-0126-4e99-8625-c807d1d2aaf4}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\nufxlib\nufxlib.vcxproj">
<Project>{c48ae53b-3dcb-43b1-9207-b7c5b6bb78af}</Project>
</ProjectReference>
<ProjectReference Include="..\reformat\reformat.vcxproj">
<Project>{18bcf397-397e-460c-a1dc-3e26798966e4}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\util\util.vcxproj">
<Project>{04bfae2a-7ab3-4b63-b4ab-42ff1d6ad3c5}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\zlib\zlib.vcxproj">
<Project>{b66109f4-217b-43c0-86aa-eb55657e5ac0}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<ClCompile Include="AboutDialog.cpp" />
<ClCompile Include="ActionProgressDialog.cpp" />
<ClCompile Include="Actions.cpp" />
<ClCompile Include="ACUArchive.cpp" />
<ClCompile Include="AddClashDialog.cpp" />
<ClCompile Include="AddFilesDialog.cpp" />
<ClCompile Include="ArchiveInfoDialog.cpp" />
<ClCompile Include="BasicImport.cpp" />
<ClCompile Include="BNYArchive.cpp" />
<ClCompile Include="CassetteDialog.cpp" />
<ClCompile Include="CassImpTargetDialog.cpp" />
<ClCompile Include="ChooseAddTargetDialog.cpp" />
<ClCompile Include="ChooseDirDialog.cpp" />
<ClCompile Include="Clipboard.cpp" />
<ClCompile Include="ConfirmOverwriteDialog.cpp" />
<ClCompile Include="ContentList.cpp" />
<ClCompile Include="ConvDiskOptionsDialog.cpp" />
<ClCompile Include="ConvFileOptionsDialog.cpp" />
<ClCompile Include="CreateImageDialog.cpp" />
<ClCompile Include="CreateSubdirDialog.cpp" />
<ClCompile Include="DEFileDialog.cpp" />
<ClCompile Include="DiskArchive.cpp" />
<ClCompile Include="DiskConvertDialog.cpp" />
<ClCompile Include="DiskEditDialog.cpp" />
<ClCompile Include="DiskEditOpenDialog.cpp" />
<ClCompile Include="DiskFSTree.cpp" />
<ClCompile Include="EditAssocDialog.cpp" />
<ClCompile Include="EditCommentDialog.cpp" />
<ClCompile Include="EditPropsDialog.cpp" />
<ClCompile Include="EnterRegDialog.cpp" />
<ClCompile Include="EOLScanDialog.cpp" />
<ClCompile Include="ExtractOptionsDialog.cpp" />
<ClCompile Include="FileNameConv.cpp" />
<ClCompile Include="GenericArchive.cpp" />
<ClCompile Include="ImageFormatDialog.cpp" />
<ClCompile Include="Main.cpp" />
<ClCompile Include="MyApp.cpp" />
<ClCompile Include="NewDiskSize.cpp" />
<ClCompile Include="NewFolderDialog.cpp" />
<ClCompile Include="NufxArchive.cpp" />
<ClCompile Include="OpenVolumeDialog.cpp" />
<ClCompile Include="PasteSpecialDialog.cpp" />
<ClCompile Include="Preferences.cpp" />
<ClCompile Include="PrefsDialog.cpp" />
<ClCompile Include="Print.cpp" />
<ClCompile Include="RecompressOptionsDialog.cpp" />
<ClCompile Include="Registry.cpp" />
<ClCompile Include="RenameEntryDialog.cpp" />
<ClCompile Include="RenameVolumeDialog.cpp" />
<ClCompile Include="Squeeze.cpp" />
<ClCompile Include="StdAfx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="SubVolumeDialog.cpp" />
<ClCompile Include="Tools.cpp" />
<ClCompile Include="TwoImgPropsDialog.cpp" />
<ClCompile Include="UseSelectionDialog.cpp" />
<ClCompile Include="ViewFilesDialog.cpp" />
<ClCompile Include="VolumeCopyDialog.cpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
<ProjectExtensions>
<VisualStudio>
<UserProperties RESOURCE_FILE="CiderPress.rc" />
</VisualStudio>
</ProjectExtensions>
</Project>