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

110 commits

Author SHA1 Message Date
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
Lars Melchior
b58e0717f4
Merge envs in workflows (#74)
* also use cache in install test

* merge envs
2021-01-21 09:16:01 +00:00
Lars Melchior
db49d07ca1
update actions/checkout to v2 (#73) 2021-01-20 18:44:04 +00:00
Lars Melchior
dd055e846c
use correct workflow dependent key (#72) 2021-01-20 18:11:38 +00:00
Lars Melchior
bd2b4aba5f
add cpm_modules to gitignore (#71) 2021-01-20 19:03:12 +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
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
eadea97fe4
set CMAKE_BUILD_TYPE via configuration argument, closes #65 (#66) 2020-11-10 13:20:49 +01:00
Lars Melchior
50fcbccb57
use official m.css repo (#64) 2020-11-09 12:21:18 +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
c4fd7dc67f
import tools in all subproject. fixes #57. (#59) 2020-09-02 12:52:14 +02:00
Lars Melchior
e7af9b28c2
add all subproject by default (#56) 2020-08-20 10:24:18 +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
082aa0c7df
use pip3 for doc dependencies (#51) 2020-07-29 13:08:17 +02:00
Lars Melchior
4bcf72420e
add missing dependencies for m.css (#50) 2020-07-29 12:58:19 +02:00
Krishna Chaitanya
0f7ae8a3b7
Use m.css for generating doxygen docs (#49)
* Use m.css for generating doxygen docs

* pass CMake variables to Doxygen

* Setup config for Pages section

* show not explicitly documented objects

* update patch comment

* update comment on M_SHOW_UNDOCUMENTED

Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com>
2020-07-29 12:46:13 +02:00
Jeremy Wright
2f1b5fab76
Spelling update to CMakeLists.txt (#46) 2020-06-12 09:36:08 +02:00
Lars Melchior
e48d1c37e5
Add note on automatic header generation (#45)
* Add note on automatic header generation

* Update README.md
2020-06-03 16:30:12 +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
032e506c12
Doxygen support (#43)
* init doxygen

* fix format

* use readme as main file

* don't generate LaTeX

* automatically use correct project version and update html settings

* minify Doxyfile

* add documentation

* add workflow to publish documentation

* remove mac comment

* formatting

* fix typo

* grammar
2020-06-03 14:31:53 +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
ecc71786e5
Add note to MiniCppStarter (#37) 2020-04-29 10:31:10 +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
Aaron Robert
e362045719
docs: fix typos. (#34) 2020-04-26 16:40:59 +02:00
Lars Melchior
363bf94ac1
only run actions for master branch (#33) 2020-04-25 00:29:27 +02:00
Cvelth
cefd3fb80e
DOCTEST_CONFIG_USE_STD_HEADERS in MSVC++ (#30)
* replace <sstream> with <ostream>

* Use provided by doctest macro instead of explicit include (#1)

* dEfine  `DOCTEST_CONFIG_USE_STD_HEADERS` globally
2020-04-24 12:20:42 +02:00
Lars Melchior
956c2f09b6
enable local actions for pull requests (#32) 2020-04-24 11:10:37 +02:00
Lars Melchior
716a30d90b
Update Format.cmake (#29)
Now uses `find_program` to search for `clang-format`.
2020-04-23 12:04:02 +02:00
Lars Melchior
72561b1e15
Update Format.cmake (windows and out of source build support) (#28)
* update Format.cmake

* update Format.cmake
2020-04-22 17:07:04 +02:00
Lars Melchior
f3e6445b67
add codecov.yaml and update coverage flags (#26) 2020-04-21 12:00:13 +02:00
Lars Melchior
918af69383
update packageProject.cmake (bugfix) (#25) 2020-04-21 01:55:23 +02:00
Lars Melchior
d21ff2d02c
update package project (#24) 2020-04-21 01:11:23 +02:00