Logo
Explore Help
Sign In
tqcq/CPM.cmake
0
0
Fork 0
You've already forked CPM.cmake
mirror of https://github.com/cpm-cmake/CPM.cmake.git synced 2025-11-17 06:37:43 -05:00
Code Issues Packages Projects Releases Wiki Activity
Files
1ebbac6332e45545617a4dba28cdce874a467c26
CPM.cmake/examples/fmt/CMakeLists.txt

20 lines
379 B
CMake
Raw Normal View History

Add fmt example and document version from git tag (#100) * add VERSION_PREFIX argument * add fmt example * add VERSION_PREFIX note to readme * rollback, add info about determining version from git tag * rollback version
2020-03-16 20:00:30 +01:00
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
project(CPMJSONExample)
# ---- Dependencies ----
include(../../cmake/CPM.cmake)
CPMAddPackage(
NAME fmt
GIT_TAG 6.1.2
GITHUB_REPOSITORY fmtlib/fmt
)
# ---- Executable ----
add_executable(CPMFmtExample "main.cpp")
Apply clang-format and cmake-format and add style check workflow (#171) * apply clang-format and cmake-format and add style check workflow * add declare package definition * add additional public methods and rename internals * change development verison tag to 1.0.0 * rename internal method * rename public method * rename test var * update copyright and fix comment * typo * run fix-format * fix test function names
2021-01-06 14:40:33 +01:00
set_target_properties(CPMFmtExample PROPERTIES CXX_STANDARD 17)
Add fmt example and document version from git tag (#100) * add VERSION_PREFIX argument * add fmt example * add VERSION_PREFIX note to readme * rollback, add info about determining version from git tag * rollback version
2020-03-16 20:00:30 +01:00
target_link_libraries(CPMFmtExample fmt)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 78ms Template: 6ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API