1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 21:51:12 +02:00
Commit graph

83 commits

Author SHA1 Message Date
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
Lars Melchior
407dd2407d
Update README.md (#23) 2020-04-20 23:13:12 +02:00
Lars Melchior
e1c632bf78
update section on including additional projects (#22) 2020-04-20 09:33:16 +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
f86f3a28d6
Typos and additional links (#19) 2020-04-17 11:31:51 +02:00
Lars Melchior
581612e44f
Add a logo (#17) 2020-04-16 16:06:12 +02:00
Lars Melchior
6986c26f9d
Add link about modern CMake practices (#16) 2020-04-16 14:09:27 +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
62469ec741
Change LICENSE to unlicense (#15) 2020-04-16 11:01:48 +02:00
Lars Melchior
e68141bfd8
Update FAQ (#12)
* use quotation-style FAQ

* add section on removing standalone
2020-04-15 13:53:02 +02:00
Lars Melchior
f371ebfb86
treat warnings as errors on msvc as well (#11) 2020-04-15 09:21:48 +02:00
Lars Melchior
a4881dda8b
enforce standards conformance on MSVC and fix warning flags (#10)
* enforce standards conformance on MSVC

* add \W4 flag for test compilation

* enable compiler warnings for the library target when building tests

* update note on testing frameworks

* turns out only clang understands strongly typed enums
2020-04-15 09:12:12 +02:00
Lars Melchior
a2a6674101
add paragraph about the evilness of conditional includes (#9) 2020-04-14 17:15:51 +02:00
Lars Melchior
6808aaf01c
Add LICENSE (#8)
* Create LICENSE

* add readme note about license
2020-04-14 17:11:54 +02:00
Lars Melchior
4c756a78f3
use doctest_discover_tests to find individual tests (#7) 2020-04-14 17:11:41 +02:00
Lars Melchior
adf2801be6
small readme and cmake cleanup (#6)
* small readme and cmake cleanup

* wording
2020-04-14 15:46:15 +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
24aa8560db
fix grammar mistakes (#4) 2020-04-14 14:21:46 +02:00
Lars Melchior
a68c697c09
Run CI builds with parallel flags (#3)
* Run CI builds with parallel flags

* Ninja is unavailable. Fallback to -j4

* Update project name in readme
2020-04-14 14:05:36 +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
Lars Melchior
ad1f006762
Merge pull request #1 from TheLartians/external-packaging
add PackageProject.cmake as a CPM dependency
2020-04-14 12:52:35 +02:00
Lars Melchior
df111c1104 replace example dependency with PackageProject.cmake 2020-04-14 12:49:34 +02:00
Lars Melchior
5f3c39b657 add PackageProject.cmake as a CPM dependency 2020-04-14 12:08:30 +02:00
Lars Melchior
7c03ec71ea typo 2020-04-14 11:28:33 +02:00
Lars Melchior
9d8879ed88 move packaging to extra file 2020-04-14 11:23:08 +02:00
Lars Melchior
bf392d6ae3 adjust build include path and set install build type to release 2020-04-14 11:13:24 +02:00
Lars Melchior
c8fec7d575 install into version-specific dirs again 2020-04-14 11:10:28 +02:00
Lars Melchior
991d397433 revert install path and set find_package in tests to REQUIRED 2020-04-14 11:01:15 +02:00