Sun, 17 Dec 2023 14:25:34 +0100
[Makefile] fix missing rules preventing dry-runs
We have to support dry-runs, because many IDEs are using
dry-runs to collect build information.
Some rules have dependencies that expect certain files or
directories to be just present. We added respective build
rules which invoke the test program. This way, the behavior
when running make normally is exactly the same, but dry-runs
are also not failing now.
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup> <Filter Include="Quelldateien"> <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> <Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions> </Filter> <Filter Include="Headerdateien"> <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> <Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions> </Filter> <Filter Include="Ressourcendateien"> <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> </Filter> </ItemGroup> <ItemGroup> <ClCompile Include="..\..\..\ucx\allocator.c"> <Filter>Quelldateien</Filter> </ClCompile> <ClCompile Include="..\..\..\ucx\array_list.c"> <Filter>Quelldateien</Filter> </ClCompile> <ClCompile Include="..\..\..\ucx\buffer.c"> <Filter>Quelldateien</Filter> </ClCompile> <ClCompile Include="..\..\..\ucx\compare.c"> <Filter>Quelldateien</Filter> </ClCompile> <ClCompile Include="..\..\..\ucx\hash_key.c"> <Filter>Quelldateien</Filter> </ClCompile> <ClCompile Include="..\..\..\ucx\hash_map.c"> <Filter>Quelldateien</Filter> </ClCompile> <ClCompile Include="..\..\..\ucx\linked_list.c"> <Filter>Quelldateien</Filter> </ClCompile> <ClCompile Include="..\..\..\ucx\list.c"> <Filter>Quelldateien</Filter> </ClCompile> <ClCompile Include="..\..\..\ucx\map.c"> <Filter>Quelldateien</Filter> </ClCompile> <ClCompile Include="..\..\..\ucx\printf.c"> <Filter>Quelldateien</Filter> </ClCompile> <ClCompile Include="..\..\..\ucx\string.c"> <Filter>Quelldateien</Filter> </ClCompile> <ClCompile Include="..\..\..\ucx\utils.c"> <Filter>Quelldateien</Filter> </ClCompile> <ClCompile Include="..\..\..\ucx\mempool.c"> <Filter>Quelldateien</Filter> </ClCompile> </ItemGroup> <ItemGroup> <ClInclude Include="..\..\..\ucx\cx\allocator.h"> <Filter>Headerdateien</Filter> </ClInclude> <ClInclude Include="..\..\..\ucx\cx\array_list.h"> <Filter>Headerdateien</Filter> </ClInclude> <ClInclude Include="..\..\..\ucx\cx\buffer.h"> <Filter>Headerdateien</Filter> </ClInclude> <ClInclude Include="..\..\..\ucx\cx\collection.h"> <Filter>Headerdateien</Filter> </ClInclude> <ClInclude Include="..\..\..\ucx\cx\common.h"> <Filter>Headerdateien</Filter> </ClInclude> <ClInclude Include="..\..\..\ucx\cx\compare.h"> <Filter>Headerdateien</Filter> </ClInclude> <ClInclude Include="..\..\..\ucx\cx\hash_key.h"> <Filter>Headerdateien</Filter> </ClInclude> <ClInclude Include="..\..\..\ucx\cx\hash_map.h"> <Filter>Headerdateien</Filter> </ClInclude> <ClInclude Include="..\..\..\ucx\cx\iterator.h"> <Filter>Headerdateien</Filter> </ClInclude> <ClInclude Include="..\..\..\ucx\cx\linked_list.h"> <Filter>Headerdateien</Filter> </ClInclude> <ClInclude Include="..\..\..\ucx\cx\list.h"> <Filter>Headerdateien</Filter> </ClInclude> <ClInclude Include="..\..\..\ucx\cx\map.h"> <Filter>Headerdateien</Filter> </ClInclude> <ClInclude Include="..\..\..\ucx\cx\mempool.h"> <Filter>Headerdateien</Filter> </ClInclude> <ClInclude Include="..\..\..\ucx\cx\printf.h"> <Filter>Headerdateien</Filter> </ClInclude> <ClInclude Include="..\..\..\ucx\cx\string.h"> <Filter>Headerdateien</Filter> </ClInclude> <ClInclude Include="..\..\..\ucx\cx\utils.h"> <Filter>Headerdateien</Filter> </ClInclude> </ItemGroup> </Project>