Commit Graph

9 Commits

Author SHA1 Message Date
Chris Mc
ca110ade5b 🔧 Improved CMake options and macros to prevent collisions (#109)
* exclude any folder prefixed with build

* seeing how far generator expresstion will go

* refactor cmake + outline some tests

* adding missing install destiniation

* rolling back some changes since the workflow was no support by CMake

* adding missing include

* fixing old variable names being used

* using target_compile_definitions instead of options

* correct options for CI + reporting errors for consumer

* using sudo to install

* fix bad variable

* trying CMAKE_PREFIX_PATH

* removing recursive call

* remove options from generators + dedicated exports target

* remove pthread link lib (unused)

* install targets files + include

* add missing main

* remove install prefix

* revive CMAKE_PREFIX_PATH it's really needed

* fix collision on DISABLE_BASE64 + more cmake tests

* bump cmake version + test minimum

* fix job names

* fix bad replace

* fix bad permissions

* fix install of picojson

* adding missing ifndef and overload for pico and no base64

* linting

* test for version

* trying to find version

* [test] remove semver prerelase from CMake

* fixing some documentation issues

* limit cmake test to only related files

* touch up docs

* making sure new helper supports no base64 mode

* some doc fixes

* Update cmake.yml

* Update .github/workflows/cmake.yml

* Update .gitignore
2020-11-29 15:56:53 +01:00
Chris Mc
22e43afba8 adding coverage testing (#2)
* adding coverage testing

surprisingly:
Overall coverage rate:
  lines......: 80.6% (519 of 644 lines)
  functions..: 92.5% (235 of 254 functions)

* Update coverage.yml
2020-07-05 21:43:09 -04:00
Christopher McArthur
8426dc3e14 running cmake format 2020-06-06 21:22:06 -04:00
Chris Mc
99678c0ec3 Adding ability for install to require external picojson 2020-03-12 22:55:00 -04:00
Christopher McArthur
9a197a445e correctly cofiguring config.in to be usable with deps 2020-01-20 22:10:14 -05:00
Christopher McArthur
f110d8d01f prototype for FindPackage install 2020-01-19 22:08:17 -05:00
Christopher McArthur
fa2cfbe605 reverting config files. 2020-01-19 20:50:19 -05:00
Christopher McArthur
bb5a76ec45 trying to figure out cmake config files 2020-01-19 20:38:46 -05:00
Christopher McArthur
cb9066b294 adding cmake config files 2020-01-19 19:45:36 -05:00