Sha256: 99ca8adb2146f7572390108151a918e4e0f70f776784cfa0753f54cd8a86e976

Contents?: true

Size: 962 Bytes

Versions: 16

Compression:

Stored size: 962 Bytes

Contents

# Copyright(c) 2019 spdlog authors Distributed under the MIT License (http://opensource.org/licenses/MIT)

cmake_minimum_required(VERSION 3.2)
project(spdlog_examples CXX)

if(NOT TARGET spdlog)
    # Stand-alone build
    find_package(spdlog REQUIRED)
endif()

# ---------------------------------------------------------------------------------------
# Example of using pre-compiled library
# ---------------------------------------------------------------------------------------
add_executable(example example.cpp)
target_link_libraries(example PRIVATE spdlog::spdlog)

# ---------------------------------------------------------------------------------------
# Example of using header-only library
# ---------------------------------------------------------------------------------------
if(SPDLOG_BUILD_EXAMPLE_HO)
    add_executable(example_header_only example.cpp)
    target_link_libraries(example_header_only PRIVATE spdlog::spdlog_header_only)
endif()

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
couchbase-3.0.0.alpha.4-x86_64-linux ext/third_party/spdlog/example/CMakeLists.txt
couchbase-3.0.0.alpha.4-x86_64-darwin-19 ext/third_party/spdlog/example/CMakeLists.txt
couchbase-3.0.0.alpha.4-universal-darwin-19 ext/third_party/spdlog/example/CMakeLists.txt
couchbase-3.0.0.alpha.4 ext/third_party/spdlog/example/CMakeLists.txt
couchbase-3.0.0.alpha.3-x86_64-linux ext/third_party/spdlog/example/CMakeLists.txt
couchbase-3.0.0.alpha.3-x86_64-darwin-19 ext/third_party/spdlog/example/CMakeLists.txt
couchbase-3.0.0.alpha.3-universal-darwin-19 ext/third_party/spdlog/example/CMakeLists.txt
couchbase-3.0.0.alpha.3 ext/third_party/spdlog/example/CMakeLists.txt
couchbase-3.0.0.alpha.2-x86_64-linux ext/third_party/spdlog/example/CMakeLists.txt
couchbase-3.0.0.alpha.2-x86_64-darwin-19 ext/third_party/spdlog/example/CMakeLists.txt
couchbase-3.0.0.alpha.2-universal-darwin-19 ext/third_party/spdlog/example/CMakeLists.txt
couchbase-3.0.0.alpha.2 ext/third_party/spdlog/example/CMakeLists.txt
couchbase-3.0.0.alpha.1-x86_64-linux ext/third_party/spdlog/example/CMakeLists.txt
couchbase-3.0.0.alpha.1-x86_64-darwin-19 ext/third_party/spdlog/example/CMakeLists.txt
couchbase-3.0.0.alpha.1-universal-darwin-19 ext/third_party/spdlog/example/CMakeLists.txt
couchbase-3.0.0.alpha.1 ext/third_party/spdlog/example/CMakeLists.txt