Commit Graph

3 Commits

Author SHA1 Message Date
David Korth
a0738afd26 [pugixml] CMakeLists.txt: Only install the DLL and PDB files; fix the install path.
- Don't install CMake or pkgconfig files, or header files.
- Add DO_SPLIT_DEBUG() and SET_WINDOWS_SUBSYSTEM().
- Make sure the PDB file gets installed.
- Install to the correct path.

This fixes PugiXML's location in the Win32 zip file.
2025-04-20 02:06:16 -04:00
David Korth
95e1b19473 [extlib] Enable pugixml's built-in DLL postfix option.
pugixml uses "_d" instead of "d".

[pugixml] CMakeLists.txt: Disable options. The cmake_dependent_option()
setup for PUGIXML_USE_POSTFIX prevented the postfix from working because
the top-level source directory is not the same as PugiXML's directory.

[libwin32common] DelayLoadHelper: Handle PugiXML's "_d" postfix.

DelayLoadHelper.cmake has new variables for debug/release only DLLs,
which is used for PugiXML due to the different debug postfix.
2025-04-01 19:19:20 -04:00
David Korth
55f86d1158 Add an internal copy of PugiXML and remove TinyXML2 completely.
TODO:
- Add the 'd' postfix to the debug DLL.
- Configure PugiXML options and hide them from the user, since these are
  configured by rom-properties.
2025-04-01 19:19:20 -04:00