I discovered I was relying on a Microsoft idiosyncracy,

that by default it searches for header files in the source
directory as well as on the include line - which is very
nice but non standard and breaks every other build system,
resulting in incomprehensible and misleading error messages
that send one down a hundred rabbit holes.
This commit is contained in:
Cheng 2024-02-21 02:28:11 +00:00
parent 4e33913d1f
commit 47f9e77aec
No known key found for this signature in database
GPG Key ID: 571C3A9C3B9E6FCA
2 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<IncludePath>..\wxWidgets\include\msvc;..\wxWidgets\include;..\libsodium\src\libsodium\include;..\mpir;$(IncludePath)</IncludePath>
<IncludePath>..\wxWidgets\include\msvc;..\wxWidgets\include;..\libsodium\src\libsodium\include;..\mpir;..\src;$(IncludePath)</IncludePath>
<LibraryPath>..\wxWidgets\lib\vc_x64_lib\;..\libsodium\bin\x64\Debug\v143\static;..\mpir\lib\x64\Debug;$(LibraryPath)</LibraryPath>
<CustomBuildAfterTargets />
<IntDir>..\build\$(Configuration)\</IntDir>