1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-03 15:40:53 +02:00
Commit graph

41 commits

Author SHA1 Message Date
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
56a3c22ad9 build all dll and executable at bin directory 2021-02-17 00:51:29 +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
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
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
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
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
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
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
866ae707e5
Enable cmake formatting (#53)
* enable cmake formatting

* update style check workflow

* update readme

* update wording
2020-08-11 11:10:01 +02:00
Jeremy Wright
2f1b5fab76
Spelling update to CMakeLists.txt (#46) 2020-06-12 09:36:08 +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
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
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
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
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
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
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
Lars Melchior
9084218192 install targets to version-specific locations 2020-04-14 10:34:35 +02:00
Lars Melchior
88a798a3d8
Use correct cmake_minimum_required version 2020-04-13 21:11:36 +02:00
Lars Melchior
c2d7dff1a8 add Q&A section to readme 2020-04-13 17:06:50 +02:00
Lars Melchior
8a50497b19 add note for executables 2020-04-11 19:41:10 +02:00
Lars Melchior
c94580f25c init 2020-04-11 12:31:08 +02:00