133 Commits

Author SHA1 Message Date
Ian Torres
12cf5de1a8 Fix GitHub pages (#191)
Some checks failed
Windows / build (push) Has been cancelled
Ubuntu / build (push) Has been cancelled
Install / build (push) Has been cancelled
MacOS / build (push) Has been cancelled
Standalone / build (push) Has been cancelled
Style / build (push) Has been cancelled
* Fix GitHub pages

As `peaceiris/actions-gh-pages` README describes, the `permissions / contents / write` definition is required. In other hand, without that, the step will fail. Also a jump to the version 4 is recommended. Basically because i did a test and previous version, as-is doesn't work.

* Space for testing

* switch to ubunto for documentation workflow

* build test without publish

* try again

* add tag restriction and pages back

---------

Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com>
Co-authored-by: Lars Melchior <lars.melchior@gmail.com>
v0.19.1
2025-03-12 19:30:20 +01:00
Max Bretschneider
5115efe66a Fix fmt dependency version mismatch in CMakeLists.txt (#194)
Some checks failed
Windows / build (push) Has been cancelled
Install / build (push) Has been cancelled
MacOS / build (push) Has been cancelled
Standalone / build (push) Has been cancelled
Style / build (push) Has been cancelled
Ubuntu / build (push) Has been cancelled
* Fix fmt dependency version mismatch in CMakeLists.txt

* trigger ci?

---------

Co-authored-by: Lars Melchior <lars.melchior@gmail.com>
v0.19.0
2024-12-22 11:47:15 +01:00
sguruswamy-more
cc12978931 Updated CPM to 0.40.2 (#193)
Some checks failed
Install / build (push) Has been cancelled
MacOS / build (push) Has been cancelled
Standalone / build (push) Has been cancelled
Style / build (push) Has been cancelled
Ubuntu / build (push) Has been cancelled
Windows / build (push) Has been cancelled
2024-10-18 21:11:21 +02:00
PaulXiCao
e6920f7c12 Update CPM.cmake to version 0.39.0 (#189) 2024-06-07 16:32:16 +00:00
Volodymyr
74fd5a2ff8 update StableCoder/cmake-scripts version (#187)
additional info:
https://github.com/StableCoder/cmake-scripts/releases
https://github.com/StableCoder/cmake-scripts/issues/50
2024-04-22 00:40:54 +02:00
Ian
9f4867aa5e Upgrade fmt version from 9.1.0 to 10.2.1 (#185)
* Bump fmt 9.1.0 to 10.2.1

* trigger CI

---------

Co-authored-by: Lars Melchior <lars.melchior@gmail.com>
2024-04-07 19:32:20 +02:00
Krishna Parmar
57d0b4dfc8 Update about.dox (#183) 2023-11-19 11:19:51 +00:00
Tobias Schmidl
776d4f36be Added a download status (#171)
* bump the version of CPM to 0.38.1

* feature: added CPM download status

This is very useful in shaky network solutions. We want both a success
and a failure message, to determine if the download was successful.

* feature: compare CPM against a given checksum

This is more comprehensive than just comparing against an empty file.

* bump the version of Ccache.cmake to 1.2.4

* bump the version of StableCoder/cmake-scripts to 23.04

* update to use new get_cpm.cmake script

---------

Co-authored-by: Lars Melchior <lars.melchior@gmail.com>
v0.18.0
2023-09-18 16:20:20 +02:00
Long Deng
f0b5bdb1f5 Fix inconsistent fmt version (#167)
fmt version is still 8.1.1 in `DEPENDENCIES` of `packageProject`, update it to 9.1.0
2023-03-05 14:06:43 +01:00
Lars Melchior
84ed75ca7d Update CPM.cmake (#164) 2023-02-03 17:38:14 +00:00
Lars Melchior
ab5c08abed Update fmt and doctest (#163)
* update dependencies

* update cache version used

* update checkout version used
2023-02-03 18:31:28 +01:00
Stefan Isak
a13bc56bcb Fix minor spelling error (#159) 2022-10-20 08:55:20 +00:00
Lars Melchior
79f4345a26 Lock clang-format version (#158)
* install clang-format using pip

* update readme to include note on installation of format dependencies
2022-10-04 10:25:58 +00:00
Lars Melchior
d5fc3051a5 Added star history for this and other starters (#156) 2022-07-26 20:46:20 +02:00
yangliz5
01fea5c331 remove duplicate build_type (#155) 2022-06-27 21:22:14 +00:00
Bongani Mbigi
f0fe8d1cf6 Updated m.css dependency (#151)
currently m.css commit hash will cause errors found in issue #126. Updating to the latest has fixes these problems

correct hash
2022-03-27 14:48:05 +02:00
Claus Klein
b3007ae14a modernize cmake packages (#149) 2022-03-23 12:52:34 +01:00
Lars Melchior
2b5d0934c1 Revert "Changed 'No' to 'false' in .clang-format (#141)" (#145) 2021-10-22 09:07:59 +02:00
Dominic
e0bf3f59d1 Use ${PROJECT_NAME} instead of writing projectname multiple times (#134)
* Remove duplicate mentions of project name and replaced it with ${PROJECT_NAME} variable

Update CMakeLists.txt

* Added ${CMAKE_PROJECT_NAME}

* reverted usage of  to Greeter and ran fix-format

* Update test/CMakeLists.txt

Co-authored-by: Dominic Dinser <dominic.dinser@leica-geosystems.com>
Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com>
2021-10-17 19:10:52 +00:00
Michael Scofield
69320a663b Updated PackageProject.cmake to 1.8.0 (#143) 2021-10-17 17:50:25 +00:00
giacomo-b
d07c18e2b2 Changed 'No' to 'false' in .clang-format (#141) 2021-10-09 11:08:32 +02:00
Vanessasaurus
b34749255e Add note to README to update workflow triggers (#128) 2021-06-06 20:36:35 +00:00
Lars Melchior
acab9a3b78 Fix MSVC permissive flags (#123)
Fixes #122.
v0.17.3
2021-04-26 09:18:47 +00:00
Lars Melchior
60769908b6 Add related projects and alternatives section to readme (#120)
* replace coming soon with similar projects section

* rename to related projects and alternatives and add pvs project

* add punctuation
2021-04-02 08:39:41 +00:00
Lars Melchior
742110856c update CCache.cmake to 1.2.3 (#117) 2021-03-30 12:09:19 +00:00
Dale Lukas Peterson
b59cb2dd7d Update Ccache.cmake and cmake-scripts (#116) 2021-03-29 12:33:23 +02:00
Lars Melchior
eef512f3f5 remove CPMFindPackage from the readme (#115) 2021-03-26 16:07:37 +00:00
Dale Lukas Peterson
f6f4e21015 Update CPM.cmake to v0.32.0 (#114) 2021-03-26 17:04:26 +01:00
Lars Melchior
eb6ed2cafe update cxxopts (#113) 2021-03-25 10:38:37 +00:00
Dale Lukas Peterson
2df9ff4cc0 Fix tools.cmake include of cmake-scripts (#111) v0.17.2 2021-03-22 09:09:15 +01:00
Dale Lukas Peterson
9e54d3ce9a Make Greeter link privately to fmt (#109)
Greeter depends on fmt only in it's implementation file, therefore this
dependency can be private.
2021-03-21 21:17:43 +01:00
Dale Lukas Peterson
6132c67bd2 Update README.md to use -S/-B per cmake --help (#108)
-S and -B were added in CMake 3.13. `cmake -Hsource_dir` is undocumented
and `cmake -H` is documented to show the cmake help message. This change
should help newcomers better understand the cmake invocations presented
in the README.md. It also adds the space between the option and the
argument, which is purely stylistic but is consistent with the cmake
documentation.
2021-03-20 21:05:42 +01:00
Lars Melchior
4c2a2a9e1d use correct m.css source directory variable. fixes #105. (#106) v0.17.1 2021-03-20 18:07:14 +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) v0.17.0 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
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) v0.16.1 2021-01-20 18:11:38 +00:00
Lars Melchior
bd2b4aba5f add cpm_modules to gitignore (#71) v0.16.0 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
v0.15.0
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) v0.14.2 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) v0.14.1 2020-09-02 12:52:14 +02:00
Lars Melchior
e7af9b28c2 add all subproject by default (#56) v0.14 2020-08-20 10:24:18 +02:00