Skip to content

Commit

Permalink
install: Make ATL headers use consistent lower case includes of other…
Browse files Browse the repository at this point in the history
… headers

This makes clang-cl use of e.g. atlbase.h work on case sensitive file
systems (as atlbase.h originally includes OleCtl.h), and makes MSVC use
of atlbase.h produce dependency files that don't require files to be
rebuilt every time.

This should fix #167.
  • Loading branch information
mstorsjo committed Jan 1, 2025
1 parent fa17267 commit e55c367
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ cd ..
# and the call to fixinclude lowercases those references.
"$ORIG"/lowercase -symlink include
"$ORIG"/fixinclude include
if [ -d "atlmfc/include" ]; then
# The ATL headers are lowercased themselves, but they refer to
# WinSDK headers with mixed casing.
"$ORIG"/fixinclude "atlmfc/include"
fi
cd bin
# vctip.exe is known to cause problems at some times; just remove it.
# See https://bugs.chromium.org/p/chromium/issues/detail?id=735226 and
Expand Down

0 comments on commit e55c367

Please sign in to comment.