rom-properties/cmake
David Korth 64e860f545 [librpbase] Initial switch to libfmt for string formatting.
This will replace printf()-style functions in most cases, and will
replace all uses of rp_sprintf() and related.

NOTE: We need to use FMT_STRING() [which we're abbreviating FSTR] if
compiling without C++20 support; otherwise, string format checking won't
be done. We're not targetting C++20 at the moment.

Also, string format checking can't be done when using gettext. This also
applied to printf(), so it's not a big deal per se.

NOTE: Support for C++-style format strings (std::print) was added in
gettext-0.22, so gettext-0.22 will be required in order to update the
.pot and .po files.

FIXME: libfmt has its own "PACKED" definition, which conflicts with our
own. We should rename our "PACKED" to "RP_PACKED".

TODO: Add an internal copy of libfmt for Windows.
2025-01-21 00:55:40 -05:00
..
libs [librpbase] Initial switch to libfmt for string formatting. 2025-01-21 00:55:40 -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 New option ENABLE_NETWORKING, which defaults to ON. 2025-01-20 18:45:52 -05:00
platform.cmake [cmake] Add flags for RelWithDebInfo. 2024-03-24 16:58:18 -04:00