Skip to content

Collection of cmake files for easy add dependencies in your C++ project.

License

Notifications You must be signed in to change notification settings

egor-spk/cxx-cmake-dependencies

Repository files navigation

cxx-cmake-dependencies

This repository contains cmake files that help you add dependencies in your C++ project. Enough include one of the files in your CMakefile.txt:

include(path/to/dependecy.cmake)

and add library for yout target:

target_link_libraries(TARGET <PRIVATE|PUBLIC|INTERFACE> DEPENDENCY)

Example:

add_executable(console main.cpp)
include(Spdlog.cmake)
target_link_library(console PRIVATE spdlog::spdlog)

About

Collection of cmake files for easy add dependencies in your C++ project.

Topics

Resources

License

Stars

Watchers

Forks

Languages