rom-properties/cmake
David Korth b11f9fa4c2 [libfmt] Build as a DLL on Windows and Mac OS X.
This significantly reduces the total size. fmt-11.dll's Release build
size is 128 KiB, and it cuts between 16-64 KiB from binaries that use it.

Total size of EXEs and DLLs, with amiiboc.exe and libgnuintl-8.dll,
but without test executables or PDBs:
[MSVC 2022 v17.6.5, Release build]

- Total size of EXEs and DLLs with header-only: 4,332,032
- Total size of EXEs and DLLs with fmt-11.dll:  4,161,536
- Difference:                                    -170,496

With test executables:

- Total size of EXEs and DLLs with header-only: 9,716,224
- Total size of EXEs and DLLs with fmt-11.dll:  7,907,840
- Difference:                                  -1,808,384

TODO: Add Delay-Load checks for fmt-11.dll to e.g. rpcli and the
Win32 UI frontend. (amiiboc and unit tests don't need it.)
2025-01-23 00:36:34 -05:00
..
libs [libfmt] Build as a DLL on Windows and Mac OS X. 2025-01-23 00:36:34 -05:00
macros Remove CheckHiddenVisibility.cmake. 2025-01-18 22:34:24 -05:00
platform [cmake] msvc.cmake: Add more conformance options. 2025-01-20 18:45:52 -05:00
toolchain [scripts] package.cmd: Add ARM, ARM64, and ARM64EC. 2023-07-16 18:28:21 -04:00
cmake_uninstall.cmake.in [cmake] cmake_uninstall.cmake.in: Use EXECUTE_PROCESS() instead of EXEC_PROGRAM(). 2024-03-03 12:51:03 -05:00
options.cmake [libfmt] Add an internal copy of libfmt-11.1.2. 2025-01-21 23:59:20 -05:00
platform.cmake [cmake] Add flags for RelWithDebInfo. 2024-03-24 16:58:18 -04:00