Commit Graph

325 Commits

Author SHA1 Message Date
LoveSy
0f6e716548
Fix missing includes in fmt.cc (#3994)
This causes duplicated std definitions in the fmt module
2024-06-08 13:50:29 -07:00
Victor Zverovich
21372bc0b2 Update cmake config 2024-06-08 08:21:18 -07:00
LoveSy
fcc0b49978
Fix FMT_INSTALL with FMT_MODULE (#3998) 2024-06-08 07:26:53 -07:00
LoveSy
0560c334fb
Fix build with FMT_MODULE=OFF (#3997) 2024-06-07 06:25:07 -07:00
LoveSy
5c445bc42c Reverting check to make shorter branch comes first 2024-06-05 21:01:42 -07:00
LoveSy
6abc1204f3 Check if the generator is ninja 2024-06-05 21:01:42 -07:00
LoveSy
a9b8517638 Use native c++ module support from CMake
also fix some clang compilation issues when using c++ modules
2024-06-05 21:01:42 -07:00
Victor Zverovich
dab1a65d2c Sort out directory URI config 2024-06-02 09:47:52 -07:00
Victor Zverovich
871538d3ab Fix install dir 2024-06-02 09:05:32 -07:00
Victor Zverovich
250456d5a3 Migrate to mkdocs 2024-06-02 09:00:40 -07:00
Victor Zverovich
b7809f91e2 Enable Unicode support by default 2024-05-11 15:11:23 -07:00
Damian Andrei
3b5f3de3b5
Make CMake version message less confusing (#3907) 2024-03-28 18:23:26 -07:00
Victor Zverovich
7a63e233d2 Readd core.h to headers 2024-02-10 07:10:28 -08:00
Victor Zverovich
79f1506fe3 Add base.h 2024-01-09 19:36:12 -08:00
Vladislav Shchapov
7fd1802686
Fix FMT_OS definition (#3783)
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2024-01-02 07:20:09 -08:00
Victor Zverovich
398ddb8fec Don't include fmt/os.h in the module if it is disabled via FMT_OS 2024-01-01 12:21:28 -08:00
H1X4
4497a2d09a fix cmake build 2023-12-08 08:33:16 -08:00
Victor Zverovich
045b05d79e Revert CMake changes 2023-11-14 06:48:16 -10:00
Victor Zverovich
ec628561c2 Fix formatting 2023-11-13 06:41:28 -10:00
Luis Caro Campos
cbb18c237a
Add support for CMake 3.28 C++ modules (#3679) 2023-11-13 08:34:42 -08:00
Petr Klima
52a99a67f7
Set PDB path for Visual Studio (#3702)
Ensure the PDB files are output into the same directory and with the same name
as the static library when using Visual Studio.

Resolves fmtlib#3701.
2023-11-07 08:22:52 -08:00
Victor Zverovich
154eccfeb1 Convert changelog to markdown for compatibility with release notes 2023-09-04 07:15:18 -07:00
Alexandre Bouvier
eacd51c249
cmake: fix FMT_PKGCONFIG_DIR path (#3563) 2023-07-31 08:11:56 -07:00
Alta
a474916560
Update CMakeLists.txt (#3523) 2023-07-05 06:38:38 -07:00
Petr Mánek
13156e54bf
Revert "add ability to build Apple framework using CMAKE_FRAMEWORK" (#3496)
This reverts commit ae25f7968e.

Co-authored-by: Petr Manek <1252039-petrmanek@users.noreply.gitlab.com>
2023-06-18 20:41:07 -07:00
Gleb Mazovetskiy
a54cb108d4
CMake: Do not fail on unknown compiler features (#3453)
If CMake does not know much about a compiler, `target_compile_features` will fail. Issue a warning instead.
2023-05-22 14:17:32 -07:00
Victor Zverovich
8ec94ac6a5 Use full path to pcm 2023-04-14 11:57:17 -07:00
Victor Zverovich
d97d8cea67 Push module check to test 2023-04-14 11:42:01 -07:00
Victor Zverovich
d9c19940a3 Update add_module_library 2023-04-13 17:13:52 -07:00
Victor Zverovich
4b5ae0b0ef Remove unnecessary module support check 2023-04-13 16:53:45 -07:00
Victor Zverovich
75f3b1c094 Use add_module_library 2023-04-12 09:10:34 -07:00
Victor Zverovich
faf83406a9 Workaround cmake issue 2023-04-11 15:59:08 -07:00
Victor Zverovich
165814d57a Add module support to CMake 2023-04-11 14:38:34 -07:00
Victor Zverovich
4613d48fd3 FMT_EXPORT -> FMT_LIB_EXPORT 2023-04-10 08:24:23 -07:00
Victor Zverovich
e406ddbfaf Remove broken part of the config 2023-04-08 08:46:43 -07:00
Mikhail Paulyshka
d3c10f5167
fix compilation for MSDOS (#3369) 2023-04-01 13:40:53 -07:00
François Carouge
2c80cedc39
Fix standard default installation target presence (#3264) 2023-01-10 17:56:00 -08:00
Vladislav Shchapov
115ca96e0e Bump tested CMake version to 3.25
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2022-11-30 08:09:32 -08:00
Chris Thrasher
69ffedfe52 Use target_compile_features to specify C++ standard requirement 2022-11-26 11:03:17 -08:00
Tinson Lai
5ad7b71381
Fix options for C++20 experimental module in CMake (#3134)
* Fix options for C++20 experimental module in CMake

* Replace `FMT_CAN_MODULE` by `FMT_MODULE` in test/CMakeLists.txt
2022-10-12 08:23:12 -07:00
Vladislav Shchapov
0ccaed3a6c
Set CMAKE_RUNTIME_OUTPUT_DIRECTORY relative to CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR (#3120)
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2022-09-28 16:51:23 -07:00
Vladislav Shchapov
682e097bee Remove -Wl,--as-needed linker option
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2022-08-07 06:51:41 -07:00
Victor Zverovich
5c7d315ded Remove locale.h 2022-05-21 08:19:09 -07:00
Mattias Ljungström
a935ac3e60
MSVC CMake generation optimization (#2852) 2022-04-08 06:27:23 -07:00
Andrey Filipenkov
d8e1dd4ab2 improve installing headers 2022-02-17 08:13:26 -08:00
Andrey Filipenkov
ae25f7968e add ability to build Apple framework using CMAKE_FRAMEWORK 2022-02-17 08:13:26 -08:00
Victor Zverovich
afbcf1e8ea Remove legacy C locale wrapper 2022-02-05 12:37:21 -08:00
Victor Zverovich
a7aecbfcaa Remove an old mingw workaround 2022-01-23 09:44:53 -08:00
VasiliPupkin256
dfcc730cbd Making target_compile_options PRIVATE, fix #2726, fix #2507 2022-01-23 09:36:11 -08:00
Alexey Ochapov
c5aafd8f90 expose headers as SYSTEM depending on special configuration option 2021-12-19 08:29:51 -08:00