Commit graph

14 commits

Author SHA1 Message Date
Lars Melchior
eb6ed2cafe
update cxxopts (#113) 2021-03-25 10:38:37 +00:00
Lars Melchior
4212173c2f
formatting updates (#95) 2021-03-02 19:32:07 +00: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
8dc50e5294
use namespaced target (#67)
* use namespaced target

* update .cmake-format for PackageProject.cmake 1.4
2020-12-18 19:36:44 +01:00
Lars Melchior
e7af9b28c2
add all subproject by default (#56) 2020-08-20 10:24:18 +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
92adf2db25
Create version header and update readme (#44)
* add note on github pages

* add version information to standalone. closes #35.

* update version info

* move includes into project directory and create version header

* fix style

* add comment for version header location
2020-06-03 16:25:44 +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
09d3041f81
make standalone windows compatible (#20)
Remove warning flags from standalone target as they only work for clang, gcc compilers
2020-04-17 14:23:40 +02:00
Lars Melchior
23abf01c55
Add CONFIGURE_DEPENDS flag to globs and cleanup (#5)
* join comments

* join target properties

* add empty lines

* update readme

* add CONFIGURE_DEPENDS to glob sources

* update comment about glob

* update comment about removing unused files

* update glob comment in the main CMakeLists
2020-04-14 14:56:32 +02:00
Lars Melchior
1dc64084eb
Add optional standalone executable directory (#2)
* add standalone executable

* update readme

* add standalone workflow

* fix path
2020-04-14 13:59:38 +02:00