Commit graph

21 commits

Author SHA1 Message Date
Lars Melchior
742110856c
update CCache.cmake to 1.2.3 (#117) 2021-03-30 12:09:19 +00:00
Dale Lukas Peterson
b59cb2dd7d
Update Ccache.cmake and cmake-scripts (#116) 2021-03-29 12:33:23 +02:00
Dale Lukas Peterson
f6f4e21015
Update CPM.cmake to v0.32.0 (#114) 2021-03-26 17:04:26 +01:00
Dale Lukas Peterson
2df9ff4cc0
Fix tools.cmake include of cmake-scripts (#111) 2021-03-22 09:09:15 +01:00
Claus Klein
ced140e2f6
disable CXXOPTS_BUILD_TESTS (#91)
update CPM verstion too
2021-03-02 20:20:49 +01:00
Lars Melchior
0b21db1022
adapt shorthand syntax in other dependencies (#88) 2021-03-01 20:55:52 +00:00
Lars Melchior
27c17d63cf
update CPM.cmake and use new shorthand syntax (#87) 2021-02-22 20:55:02 +00:00
Claus Klein
2db60f2ccb
Feature/extend build dependency (#80)
* add build time dependency to static lib

the header only fmt lib is used to show this

* use add_test() and add a warning why

doctest_discover_tests() is only availabe if doctest is not imported with
find_packag()

* cmake-format file

* fix missed comment

* back to version 1.0

respect most review comments

* fix typo

* update used CMP package versions

* respect most review comments

no default cxx language settings
install fmt
link against fmt::fmt
export dependency too if not needed
...

* use generic expression as recommended

* Update CMakeLists.txt

Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com>

* changes acording review comments

update to current PackageProject version 1.5.0 too

* Update CMakeLists.txt

Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com>

* respect review comment

remove NOLINT comment

* back to begining

needs to use doctest cmake modules ...
it is not my idea!

Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com>
2021-02-19 09:46:11 +01:00
Lars Melchior
8ba41ae49c
Update CPM.cmake and cache dependencies in workflows (#70)
* update CPM.cmake to 0.28.0

* cache CPM.cmake dependencies

* create modules directory if it doesn't exist on windows

* experiment with env variable

* experiment 2

* experiment 3

* use env for all workflows

* make cache keys OS dependent

* replace env.GITHUB_ with github.workspace

* format workflow files

* update cache key

* use unique key for each workflow
2021-01-20 19:00:20 +01:00
friendlyanon
ed4ff7833a
Update Ccache.cmake for POSIX compliance (#60)
Co-authored-by: friendlyanon <friendlyanon@users.noreply.github.com>
2020-09-02 16:55:28 +02:00
Lars Melchior
218eb2270c
Download cpm.cmake on-demand and lock cmake-format version (#55)
* download cpm.cmake on-demand

* apply clang-format

* use pip3 and version lock cmake-format
2020-08-20 09:11:00 +02:00
Lars Melchior
866ae707e5
Enable cmake formatting (#53)
* enable cmake formatting

* update style check workflow

* update readme

* update wording
2020-08-11 11:10:01 +02:00
Lars Melchior
4e87a9410a
update dependencies (#52) 2020-08-04 13:40:19 +02:00
Lars Melchior
fa77b5371f
update CPM.cmake (#42) 2020-06-03 10:38:08 +02:00
Lars Melchior
9ede321e5d
Add static analyser support (#41)
* add static analyzers

* use 'ON/OFF' for Ccache settings
2020-06-03 10:29:12 +02:00
Lars Melchior
6a5efe38c1
Only apply tools for top-level directory (#36)
* update CPM.cmake

* only apply tools for top-level directory
2020-04-29 10:21:19 +02:00
Lars Melchior
cec2e8cf4d
Add tools.cmake (#14)
* add sanitizer support. closes #13.

* add comment

* add tools.cmake

* document tools

* cleanup

* add tools to feature list
2020-04-16 13:01:52 +02:00
Lars Melchior
5f3c39b657 add PackageProject.cmake as a CPM dependency 2020-04-14 12:08:30 +02:00
Lars Melchior
9d8879ed88 move packaging to extra file 2020-04-14 11:23:08 +02:00
Lars Melchior
a982e0b72c update CPM 2020-04-14 09:47:07 +02:00
Lars Melchior
c94580f25c init 2020-04-11 12:31:08 +02:00