1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-01 06:30:52 +02:00
Commit graph

144 commits

Author SHA1 Message Date
Claus Klein
45f48abb0c check with clang-tidy only local source
cleanup GNUmakefile, add some Notes too
2021-03-03 15:47:44 +01:00
ClausKlein
7d95486a55 clenup GNUmakefile to work with clang-tidy 2021-03-03 10:52:56 +01:00
ClausKlein
c122dc042f No run-clang-tidy yet on CI!
pimp my GNUmakefile to do it right
2021-03-02 18:17:47 +01:00
ClausKlein
a6dcfe52db the example is named standalone 2021-03-02 14:40:22 +01:00
ClausKlein
1cf8490d46 use of USE_STATIC_ANALYZER=clang-tidy doen't work 2021-03-02 14:31:02 +01:00
ClausKlein
e3d8699d36 fmt library does not supporting shared lib yet
format all files again
2021-03-02 14:08:47 +01:00
ClausKlein
75c10df2d8 prevent to test fetcht packeage too
use only explicit add_test()
2021-03-02 12:46:30 +01:00
ClausKlein
e8d1012d41 fix syntax error
link to static fmt lib again
2021-03-02 12:10:23 +01:00
ClausKlein
a50af55582 Do NOT set visibility to hidden for all targets
only if requested and only for our target

use clang-tidy too on CI on cmacos
2021-03-02 11:55:41 +01:00
ClausKlein
1b3755e6e5 fix merge problems
prevent testing the cxxopts lib
2021-02-27 12:53:02 +01:00
Claus Klein
9d1c7413f0
Merge branch 'master' into develop 2021-02-27 12:10:53 +01:00
Lars Melchior
27c17d63cf
update CPM.cmake and use new shorthand syntax (#87) 2021-02-22 20:55:02 +00:00
nerrons
573663dc15
Update README.md about changing project name (#84)
* Update README.md about changing project name

* Update README.md

* Update README.md

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

* Update README.md

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

Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com>
2021-02-19 09:48:01 +01: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
ClausKlein
af57146698 clang-format the code again 2021-02-18 17:59:53 +01:00
ClausKlein
268a860b8f do not use NOLINT comments
add a note about missing execptin handling in main
2021-02-18 17:32:28 +01:00
ClausKlein
d9210698c9 update README
update CPM.cmake to version 0.30.0
2021-02-17 13:16:45 +01:00
ClausKlein
49fc73f82c Merge branch 'feature/modernize-cmake' into develop 2021-02-17 11:20:05 +01:00
ClausKlein
6ea6bdd2ea add options.cmake project config file
common options used for every cmake project
prevent reame of standalone executable via cmake properties
2021-02-17 10:31:56 +01:00
ClausKlein
9391ce636a cleanup the test output again 2021-02-17 01:11:36 +01:00
ClausKlein
56a3c22ad9 build all dll and executable at bin directory 2021-02-17 00:51:29 +01:00
ClausKlein
78b430b172 I hate backslashes 2021-02-16 19:13:14 +01:00
ClausKlein
a13fc3b9f8 where is the dll? 2021-02-16 19:07:48 +01:00
ClausKlein
5c08961b72 the last try to solve this miracle 2021-02-16 18:57:14 +01:00
ClausKlein
fd7e1b94b3 Windoof for unix geeks ...
I will be crazy!
2021-02-16 18:45:15 +01:00
ClausKlein
f59c0cfbee one more try with dll on windows
cleanup code too
2021-02-16 18:25:02 +01:00
ClausKlein
d7a5e850a0 giv it up, no DLL with windoof 2021-02-15 21:14:51 +01:00
ClausKlein
b727eadfc7 back to c++17 2021-02-15 21:01:56 +01:00
ClausKlein
e537d11f1d extend compiler detection for ClangCL 2021-02-15 20:50:34 +01:00
ClausKlein
2b09a8dcb6 be less pedantic for ClangCL 2021-02-15 20:35:09 +01:00
ClausKlein
4f66d198b9 usec ClangCL instead of MVC 2021-02-15 20:26:33 +01:00
ClausKlein
ee5c92ff16 last try ... 2021-02-15 20:16:55 +01:00
ClausKlein
ae2d022801 windoof dll export is not as easy as it should! 2021-02-15 19:50:26 +01:00
ClausKlein
ab83f20c29 it is a nightmare with windoof!
ctest should be verbose
2021-02-15 17:33:17 +01:00
ClausKlein
498caed286 prevent warnings for windoof 2021-02-15 17:22:57 +01:00
ClausKlein
0322f4eeed perfect, dynamic libray suppart added
SOVERSION 1 used and requered
except for windoof!
2021-02-15 09:28:30 +01:00
ClausKlein
fe76a4416c export all, but not privates 2021-02-15 00:05:17 +01:00
ClausKlein
0bad72b51e support dynamic library too
generate export header needed and install it
2021-02-14 23:44:26 +01:00
ClausKlein
7f36b7cb86 cleanup build files
use strict -std=c++20
update cmake-format config file
2021-02-13 21:56:31 +01:00
ClausKlein
1aad14a6fa change github actions to develop branch
set version to v1.0.1
2021-02-12 23:29:14 +01:00
ClausKlein
47fa7c6933 make it useable for me
extent cmake-format config file
use package-lock too
2021-02-12 22:53:26 +01:00
Claus Klein
d4c654f026
Merge pull request #1 from ClausKlein/feature/extend-build-dependency
Feature/extend build dependency
2021-02-12 18:58:47 +01:00
ClausKlein
79060d4af6 do it my way, modernize cmake
build dynamic lib
use makefile wrapper to test all use cases
include clang-tidy config file
prevent clang-tidy warnings
2021-02-12 18:52:34 +01:00
ClausKlein
eedcb6f24e update used CMP package versions 2021-02-11 21:34:43 +01:00
ClausKlein
beebf70246 fix typo 2021-02-11 20:07:14 +01:00
ClausKlein
f158b9ca9c back to version 1.0
respect most review comments
2021-02-11 19:17:06 +01:00
ClausKlein
4f309d5b79 fix missed comment 2021-02-10 23:06:28 +01:00
ClausKlein
0f191d72ed cmake-format file 2021-02-10 22:57:16 +01:00
ClausKlein
5e7f68d260 use add_test() and add a warning why
doctest_discover_tests() is only availabe if doctest is not imported with
find_packag()
2021-02-10 22:41:20 +01:00
ClausKlein
88781d22ab add build time dependency to static lib
the header only fmt lib is used to show this
2021-02-10 22:33:08 +01:00