Commit Graph

13 Commits (543060683b3ea68c6f00afc56392fa4c4f2e3387)

Author SHA1 Message Date
gabime 8afe18f148 Minor improvement CMakeLists to use generators 7 years ago
gabime 8d3d06b7a0 Fixed version extraction in CMake 7 years ago
gabime cf64f2baca Fixed CMake address sanitizer 7 years ago
gabime 68a0193d95 CMake refactoring to functions 7 years ago
gabime 5743adc467 CMake use extract version from version.h 7 years ago
gabime d439f75491 Minor CMake cosmetic fix 7 years ago
gabime c559067f77 CMake refactoring 7 years ago
gabime 87eb569929 More updates to CMake (version support , cmake.in) 7 years ago
Carsten Neumann 084bc72d90 Fix handling of external fmt lib
Using an external fmt lib should cause the spdlog::spdlog target to have
a dependency on fmt lib - so that a consuming project does not need
to call find_package(fmt) and target_link_libraries(... fmt::fmt).

To this end a new cmake option SPDLOG_FMT_EXTERNAL is introduced which
makes spdlog depend on fmt lib and defines the SPDLOG_FMT_EXTERNAL macro
to avoid using the bundled fmt lib. The value of SPDLOG_FMT_EXTERNAL is
also stored in the installed spdlogConfig.cmake and if it is ON
find_dependency() is used to ensure the fmt::fmt target is imported.
7 years ago
Daniel Chabrowski 49d663f6c8 Move tsan/asan flag management to cmake
Add sudo: required to fix asan builds
7 years ago
gabime 7885aa478c no streams 10 years ago
Nick White b7e3a103c3 Generate & Install pkg-config File 10 years ago
Ruslan Baratov c19d9759d5 Add CMake build 10 years ago