Victor Zverovich
c43da35701
Workaround an ICE when using modules with gcc 14.2 and earlier
2025-01-12 08:57:43 -08:00
Victor Zverovich
d57040f949
Prefix components
2025-01-10 19:51:55 -08:00
Carl Smedstad
5fa4bdd758
Define CMake components to allow docs to be installed separately ( #4276 )
...
Define two components, core and doc, which can be installed separately.
This facilitates packagers who want to package docs in a separate
package.
After this change it's possible to install only core files with:
cmake --install build --component core
And only install documentation with:
cmake --install build --component doc
When no component is specified, the behaviour is unchanged, i.e. if
documentation was built, it will be installed.
2024-12-26 07:13:01 -08:00
Amin Yahyaabadi
f924d16e47
fix: pass /utf-8 only if the compiler is MSVC at build time
2024-09-11 08:21:07 -07:00
Vladislav Shchapov
6870e4b06b
Workaround for GCC regression: false positive null-dereference in vector.resize
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2024-09-05 09:40:55 -07:00
cdzhan
fb07b37c5b
Prioritize using the header files of self ( #4116 )
2024-08-13 10:50:49 -07:00
Victor Zverovich
e50c8b6bd8
Fix disabling Unicode support
2024-07-04 07:27:22 -07:00
Victor Zverovich
6f68c62cb5
Ignore doxygen files
2024-06-30 08:42:34 -07:00
Victor Zverovich
d059fe42a8
Ignore vagrant files
2024-06-30 08:33:37 -07:00
Victor Zverovich
43c5b34749
Fix package build
2024-06-30 08:23:25 -07:00
Victor Zverovich
0fae326c42
Update site dir
2024-06-29 08:32:24 -07:00
Victor Zverovich
8b1fcf5cc1
Update doc dir
2024-06-29 08:18:24 -07:00
Victor Zverovich
98dd673cf8
Cleanup cmake
2024-06-14 08:04:11 -07:00
LoveSy
c4ea903250
Only install FILE_SET
when needed ( #4013 )
2024-06-13 12:17:46 -07:00
ChristianGebhardt
077e4ae746
Added generator expression to /utf-8 compile option ( #3995 )
...
Do not pass the compile options in the project to other compilers such as nvcc
2024-06-09 13:05:17 -07:00
Victor Zverovich
b5c8fd783c
Fix doc build
2024-06-09 11:37:18 -07:00
Victor Zverovich
e6d4f927cc
Improve docs
2024-06-09 11:17:32 -07:00
Victor Zverovich
8de3e87da1
Add a CMake option to control Unicode support
2024-06-09 11:16:13 -07:00
LoveSy
46d2acb3ba
Don't add os.cc
to sources with FMT_MODULE ( #4004 )
...
It will be included by `fmt.cc`
2024-06-09 11:00:12 -07:00
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 ae25f7968efca30a6483ad7802ccfa5419f6330a.
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