Add a CMakeLists.txt to each exercise directory, included from cmat/CMakeLists.txt, so every exercise and solution becomes a buildable target. GUI exercises link the curses-based DOS_Unix implementations on Unix-like systems; the Windows-specific DOS variants are not compiled. Exercises without a portable path or with missing dependencies (Boost) are reported as not available at configure time. Targets are excluded from the default build and built by name, e.g. `cmake --build build --target Ex11`, so intentionally buggy exercises such as Ex21 do not break the default build. Also fix two portability issues: rename Ex11bug/pole.h to Pole.h for case-sensitive filesystems and drop the extra Light:: qualification in SolutionEx71A/Light.h. Document build commands and layout in AGENTS.md. Co-authored-by: Qwen 3.8 27B <qwen3.8_27b-q3_k_xl@lmstudio.local>
219 lines
5.3 KiB
XML
219 lines
5.3 KiB
XML
<?xml version="1.0" encoding = "Windows-1252"?>
|
|
<VisualStudioProject
|
|
ProjectType="Visual C++"
|
|
Version="7.00"
|
|
Name="Ex71"
|
|
SccProjectName=""$/Course/397/Ex71", JHAAAAAA"
|
|
SccLocalPath=".">
|
|
<Platforms>
|
|
<Platform
|
|
Name="Win32"/>
|
|
</Platforms>
|
|
<Configurations>
|
|
<Configuration
|
|
Name="Release|Win32"
|
|
OutputDirectory=".\Release"
|
|
IntermediateDirectory=".\Release"
|
|
ConfigurationType="1"
|
|
UseOfMFC="0"
|
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
|
CharacterSet="2">
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
InlineFunctionExpansion="1"
|
|
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
|
|
StringPooling="TRUE"
|
|
RuntimeLibrary="4"
|
|
EnableFunctionLevelLinking="TRUE"
|
|
UsePrecompiledHeader="2"
|
|
PrecompiledHeaderFile=".\Release/Ex71.pch"
|
|
AssemblerListingLocation=".\Release/"
|
|
ObjectFile=".\Release/"
|
|
ProgramDataBaseFileName=".\Release/"
|
|
WarningLevel="3"
|
|
SuppressStartupBanner="TRUE"/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalOptions="/MACHINE:I386"
|
|
AdditionalDependencies="odbc32.lib odbccp32.lib"
|
|
OutputFile=".\Release/Ex71.exe"
|
|
LinkIncremental="1"
|
|
SuppressStartupBanner="TRUE"
|
|
ProgramDatabaseFile=".\Release/Ex71.pdb"
|
|
SubSystem="1"/>
|
|
<Tool
|
|
Name="VCMIDLTool"
|
|
TypeLibraryName=".\Release/Ex71.tlb"/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"/>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"
|
|
PreprocessorDefinitions="NDEBUG"
|
|
Culture="1033"/>
|
|
<Tool
|
|
Name="VCWebServiceProxyGeneratorTool"/>
|
|
<Tool
|
|
Name="VCWebDeploymentTool"/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Debug|Win32"
|
|
OutputDirectory=".\Debug"
|
|
IntermediateDirectory=".\Debug"
|
|
ConfigurationType="1"
|
|
UseOfMFC="0"
|
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
|
CharacterSet="2">
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
|
|
BasicRuntimeChecks="3"
|
|
RuntimeLibrary="5"
|
|
RuntimeTypeInfo="TRUE"
|
|
UsePrecompiledHeader="2"
|
|
PrecompiledHeaderFile=".\Debug/Ex71.pch"
|
|
AssemblerListingLocation=".\Debug/"
|
|
ObjectFile=".\Debug/"
|
|
ProgramDataBaseFileName=".\Debug/"
|
|
WarningLevel="3"
|
|
SuppressStartupBanner="TRUE"
|
|
DebugInformationFormat="4"/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalOptions="/MACHINE:I386"
|
|
AdditionalDependencies="odbc32.lib odbccp32.lib"
|
|
OutputFile=".\Debug/Ex71.exe"
|
|
LinkIncremental="2"
|
|
SuppressStartupBanner="TRUE"
|
|
GenerateDebugInformation="TRUE"
|
|
ProgramDatabaseFile=".\Debug/Ex71.pdb"
|
|
SubSystem="1"/>
|
|
<Tool
|
|
Name="VCMIDLTool"
|
|
TypeLibraryName=".\Debug/Ex71.tlb"/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"/>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"/>
|
|
<Tool
|
|
Name="VCPreLinkEventTool"/>
|
|
<Tool
|
|
Name="VCResourceCompilerTool"
|
|
PreprocessorDefinitions="_DEBUG"
|
|
Culture="1033"/>
|
|
<Tool
|
|
Name="VCWebServiceProxyGeneratorTool"/>
|
|
<Tool
|
|
Name="VCWebDeploymentTool"/>
|
|
</Configuration>
|
|
</Configurations>
|
|
<Files>
|
|
<Filter
|
|
Name="Source Files"
|
|
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
|
|
<File
|
|
RelativePath=".\Light.cpp">
|
|
</File>
|
|
<File
|
|
RelativePath=".\Pelican.cpp">
|
|
</File>
|
|
<File
|
|
RelativePath=".\PelicanTimer.cpp">
|
|
</File>
|
|
<File
|
|
RelativePath=".\Pole.cpp">
|
|
</File>
|
|
<File
|
|
RelativePath=".\Subject.cpp">
|
|
</File>
|
|
<File
|
|
RelativePath=".\Timer.cpp">
|
|
</File>
|
|
<File
|
|
RelativePath=".\TimerSet.cpp">
|
|
</File>
|
|
<File
|
|
RelativePath="main.cpp">
|
|
</File>
|
|
</Filter>
|
|
<Filter
|
|
Name="Header Files"
|
|
Filter="h;hpp;hxx;hm;inl">
|
|
<File
|
|
RelativePath=".\Light.h">
|
|
</File>
|
|
<File
|
|
RelativePath=".\Observer.h">
|
|
</File>
|
|
<File
|
|
RelativePath=".\Pelican.h">
|
|
</File>
|
|
<File
|
|
RelativePath=".\PelicanTimer.h">
|
|
</File>
|
|
<File
|
|
RelativePath=".\Pole.h">
|
|
</File>
|
|
<File
|
|
RelativePath=".\Subject.h">
|
|
</File>
|
|
<File
|
|
RelativePath=".\Timer.h">
|
|
</File>
|
|
<File
|
|
RelativePath=".\TimerSet.h">
|
|
</File>
|
|
</Filter>
|
|
<Filter
|
|
Name="DOS_Unix"
|
|
Filter="">
|
|
<File
|
|
RelativePath="..\DOS_Unix\Keyboard.h">
|
|
</File>
|
|
<File
|
|
RelativePath="..\DOS_Unix\Keyboard_DOS.cpp">
|
|
<FileConfiguration
|
|
Name="Release|Win32">
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
ObjectFile="$(IntDir)/$(InputName)1.obj"/>
|
|
</FileConfiguration>
|
|
<FileConfiguration
|
|
Name="Debug|Win32">
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
ObjectFile="$(IntDir)/$(InputName)1.obj"/>
|
|
</FileConfiguration>
|
|
</File>
|
|
<File
|
|
RelativePath="..\DOS_Unix\Screen.h">
|
|
</File>
|
|
<File
|
|
RelativePath="..\DOS_Unix\Screen_DOS.cpp">
|
|
<FileConfiguration
|
|
Name="Release|Win32">
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
ObjectFile="$(IntDir)/$(InputName)1.obj"/>
|
|
</FileConfiguration>
|
|
<FileConfiguration
|
|
Name="Debug|Win32">
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
ObjectFile="$(IntDir)/$(InputName)1.obj"/>
|
|
</FileConfiguration>
|
|
</File>
|
|
</Filter>
|
|
</Files>
|
|
<Globals>
|
|
</Globals>
|
|
</VisualStudioProject>
|