Commit Graph

276 Commits

Author SHA1 Message Date
Gabi Melman
08c727e4f8
Use std filesystem (#3284)
* Use std::filesystem for path names and impl
2024-12-05 19:14:25 +02:00
gabime
19d1939d3b Updated cmakelists 2024-12-01 23:44:54 +02:00
gabime
82153ec409 Updated cmake and remove pkg-config support 2024-12-01 23:28:47 +02:00
gabime
dcf664ee1d Updated cmakelists.txt 2024-12-01 18:22:06 +02:00
gabime
3b7e2a034b Removed tweak options and spdlog_config.h 2024-11-30 19:56:15 +02:00
gabime
3c9963a495 Removed tweak options and spdlog_config.h 2024-11-30 19:55:45 +02:00
gabime
e6cddd1028 Update cmakelists and config.h 2024-11-30 18:46:28 +02:00
gabime
e26e3692d1 Non locking ::fwrite if possible (SPDLOG_FWRITE_UNLOCKED defined) or use the regular locking fwrite 2024-11-30 15:46:06 +02:00
Gabi Melman
dba5d7d214
Update CMakeLists.txt
Some checks are pending
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[asan:ON build_type:Debug … (push) Waiting to run
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[build_type:Debug compiler… (push) Waiting to run
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[build_type:Release compil… (push) Waiting to run
macos / macOS Clang (C++17, Release) (push) Waiting to run
windows / build (map[BUILD_EXAMPLE:OFF BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 WCHAR:OFF WCHAR_FILES:OFF]) (push) Waiting to run
windows / build (map[BUILD_EXAMPLE:OFF BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 WCHAR:ON WCHAR_FILES:ON]) (push) Waiting to run
windows / build (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:17 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 WCHAR:OFF WCHAR_FILES:OFF]) (push) Waiting to run
windows / build_2019 (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:17 FATAL_ERRORS:ON GENERATOR:Visual Studio 16 2019 WCHAR:OFF]) (push) Waiting to run
windows / build_2019 (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 16 2019 WCHAR:OFF]) (push) Waiting to run
2024-11-29 23:41:26 +02:00
Gabi Melman
c9b96bc974
Update CMakeLists.txt remove cfg/helpers.cpp 2024-11-29 23:35:45 +02:00
gabime
2057f67015 Removed SPDLOG_WCHAR_FILENAMES support 2024-11-29 17:17:30 +02:00
Gabi Melman
63535f140b
V2.x no std format (#3271)
Some checks are pending
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[asan:ON build_type:Debug … (push) Waiting to run
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[build_type:Debug compiler… (push) Waiting to run
linux / ${{ matrix.config.compiler}} ${{ matrix.config.version }} (C++${{ matrix.config.cppstd }} ${{ matrix.config.build_type }} ${{ matrix.config.asan == 'ON' && 'ASAN' || '' }}${{ matrix.config.tsan == 'ON' && 'TSAN' || '' }}) (map[build_type:Release compil… (push) Waiting to run
macos / macOS Clang (C++17, Release) (push) Waiting to run
windows / build (map[BUILD_EXAMPLE:OFF BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 USE_STD_FORMAT:ON WCHAR:OFF WCHAR_FILES:OFF]) (push) Waiting to run
windows / build (map[BUILD_EXAMPLE:OFF BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 USE_STD_FORMAT:ON WCHAR:ON WCHAR_FILES:ON]) (push) Waiting to run
windows / build (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:17 FATAL_ERRORS:ON GENERATOR:Visual Studio 17 2022 USE_STD_FORMAT:OFF WCHAR:OFF WCHAR_FILES:OFF]) (push) Waiting to run
windows / build_2019 (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:17 FATAL_ERRORS:ON GENERATOR:Visual Studio 16 2019 USE_STD_FORMAT:OFF WCHAR:OFF WCHAR_FILES:OFF]) (push) Waiting to run
windows / build_2019 (map[BUILD_EXAMPLE:ON BUILD_SHARED:ON BUILD_TYPE:Release CXX_STANDARD:20 FATAL_ERRORS:ON GENERATOR:Visual Studio 16 2019 USE_STD_FORMAT:OFF WCHAR:OFF WCHAR_FILES:OFF]) (push) Waiting to run
* Removed SPDLOG_USE_STD_FORMAT

* Removed SPDLOG_USE_STD_FORMAT

* clang-format

* Fix windows.yml ci

* Fix ci
2024-11-29 15:25:29 +02:00
gabime
eacd4d6b2a Remove mdc 2024-11-29 13:32:15 +02:00
gabime
04bd12e0b5 fix: set and to MSVC only (#3139) 2024-11-25 09:40:16 +02:00
gabime
8815f81e5d Added mdc from pull #2907 2024-03-29 15:53:55 +03:00
spaceman
167bf989d8 support MINGW (#3022)
Under Windows 10, compiling with MINGW64 will report an error similar to https://github.com/gabime/spdlog/issues/1581
2024-03-16 16:44:22 +02:00
loject
5370076dcc
Update CMakeLists.txt (#3028)
Fix paths for msvc for parent project
2024-03-03 02:10:18 +02:00
gabime
77d350af57 Refactored cmake 2024-01-14 13:09:28 +02:00
gabime
9622d7f318 Fixed cmakelists 2024-01-14 12:59:44 +02:00
gabime
e96cb12df6 Fixed cmakelists 2024-01-14 12:59:03 +02:00
gabime
885b796447 Refactored os.cpp to os_unix.cpp and os_windows.cpp 2024-01-14 12:09:22 +02:00
gabime
c539f36551 clang format 2024-01-13 18:20:08 +02:00
gabime
eaab457156 Fixed cmake install 2024-01-13 18:16:05 +02:00
gabime
d513f44a18 Fix cmake install again 2024-01-13 16:23:15 +02:00
gabime
e6e2ffbf51 Fixed pkg-config 2024-01-13 13:50:46 +02:00
gabime
efa89d0880 Add fmt dep to cmake install 2024-01-13 12:53:14 +02:00
gabime
24fe442d03 Use relative includes and create spdlog_config.h 2024-01-12 17:33:23 +02:00
gabime
a3e05332b0 Removed fmt wrapper files 2024-01-12 15:52:32 +02:00
Gabi Melman
ae0eb75402
Update no exception flag in CMakeLists.txt for msvc 2024-01-10 00:13:11 +02:00
Gabi Melman
306ddde049 Fix cmake for msvc 2023-12-24 13:54:17 +02:00
Gabi Melman
90c5055b77 place dlls in the same directory as the executables on msvc 2023-12-24 12:28:02 +02:00
gabime
8a0f87406b Updated cmake messages 2023-12-23 17:16:24 +02:00
gabime
3b93c53e33 If SPDLOG_BUILD_SHARED is set, set BUILD_SHARED_LIBS to ON as well 2023-12-23 16:31:43 +02:00
gabime
ffbdc8f610 remove SPDLOG_BUILD_PIC cmake option 2023-12-23 16:30:48 +02:00
gabime
c6206a3191 Always build static fmtlib version and fix fpic 2023-12-23 14:03:13 +02:00
gabime
d0c30a6a5c Use fmt only if not SPDLOG_USE_STD_FORMAT is ON 2023-12-23 13:18:13 +02:00
gabime
d03d514bad Use fmt git hash and disable FMT_OS 2023-12-22 18:01:05 +02:00
gabime
1161d640a1 Removed bundled fmtlib. Use FetchContent instead 2023-12-22 16:19:05 +02:00
gabime
82a672a4d3 Removed console_globals.h file 2023-10-06 17:17:46 +03:00
gabime
ecb29c4f99 Removed pre compiled header option 2023-10-06 17:12:47 +03:00
Gabi Melman
ef10d4b636
CMakeLists.txt - removed pch support 2023-10-03 01:15:12 +03:00
Gabi Melman
0fd0e13d21
Update CMakeLists.txt - removed pch option 2023-10-02 20:14:20 +03:00
Gabi Melman
69dd70e31a Replace glob sources with explict file list in CMakeLists.txt 2023-10-02 17:40:58 +03:00
Gabi Melman
5309ddb702 Better handle version.rc and source group for vs 2023-10-02 12:45:19 +03:00
gabime
57868277db clang format 2023-10-01 18:01:02 +03:00
Gabi Melman
cc343cd168 CMakeLists.txt: set source groups for visual studio 2023-10-01 16:58:19 +03:00
gabime
2fb5e75950 cmake message 2023-09-30 15:41:38 +03:00
gabime
e28eadcd52 Clang format 2023-09-24 20:43:14 +03:00
gabime
425f137938 glob .cpp in cmakelists 2023-09-24 16:50:49 +03:00
gabime
98dacff8e0 Removed usages of SPDLOG_COMPILED_LIB macro 2023-09-24 13:37:44 +03:00