Commit Graph

25 Commits

Author SHA1 Message Date
f6b06cd675
makefile: build in tmp when not in CI
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-21 19:14:55 +01:00
54f52b8a21
makefile: let make-tidy have it's own build folder
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-21 16:32:19 +01:00
73cf5545dd
makefile: smarter clean target - prevent bad stuff
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-13 06:28:45 +01:00
2376918791
makefile(clean tgt): follow symlinks (build dir)
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-07 21:04:54 +01:00
d4c7c61ac4
cmake,makefile: think of clang++, too
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-07 05:14:56 +01:00
c93a524ca6
makefile: rm unnecessary '&& \'
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-07 04:07:51 +01:00
19d5ff0f22
cmake,makefile: SAN,TIDY,VALGRIND opts;clean turbo
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-07 03:42:42 +01:00
554030bbaa
cmake: a little refactor
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-04 05:33:14 +01:00
b14600c352
makefile: refactor "clean" target; add "distclean"
All checks were successful
continuous-integration/drone/push Build is passing
* clean now just removes the object files, dwo debugging objects, .cmake
  and intermediary .bin files but keeps CMakeCache and similar
* a new target - distclean - is introduced to do what was previously
  done by "clean", essentially: completely remove the build folders
2021-12-05 15:27:47 +01:00
7f05984946
integrate clang-tidy into cmake
All checks were successful
continuous-integration/drone/push Build is passing
* consolidate everything with the makefile, the "tidy" target now just
  sets the env var that is checked for in CMakeLists
* rm clang-tidy from pre-commit as it's run as part of the "test"
  makefile target later in the file anyway
2021-12-05 05:13:07 +01:00
77f1fe4c56
cmake,makefile: sanitize!
All checks were successful
continuous-integration/drone/push Build is passing
as per #3
2021-12-02 18:34:07 +01:00
fad32c0a41
makefile: cppcheck suppress "missingIncludeSystem"
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-20 22:31:55 +01:00
e00bc4d277
makefile(valgrind): add --leak-check=full
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-20 22:31:55 +01:00
bad86c31df
refactor(-lcryptopp): use cmake's facilities
All checks were successful
continuous-integration/drone/push Build is passing
this means that all builds configured with cmake (not just those called
with our custom development makefile) are properly linked with cryptopp
2021-11-13 00:13:19 +01:00
f16c630ae7
generator: implement do_sha()
All checks were successful
continuous-integration/drone/push Build is passing
* link against cryptopp
* use both sha2 and sha3 generation functions
* try calling do_sha() directly
* call reseed() that in turn calls do_sha()
* return a bogus number, not the proper digest for now (see TODOs)

cryptopp needed to be installed to archlinux for the valgrind step to
pass successfully
2021-11-11 04:11:40 +01:00
b1fcc5d055
fix(makefile): properly use -DCMAKE_CXX_FLAGS
All checks were successful
continuous-integration/drone/push Build is passing
..even if momentarily empty (no additional flags are being set from the
makefile directly, everything is set in CMakeLists.txt.
2021-11-11 02:18:01 +01:00
74f42935ed
makefile: add informational echos
[skip ci]
2021-11-08 09:41:41 +01:00
f2ed6918c9
chore(makefile): add 'clean' target
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-02 04:40:08 +01:00
46a6cdba3a
cmake: add {-g3,-gsplit-dwarf} flags for debugging
All checks were successful
continuous-integration/drone/push Build is passing
cmake:
* check if we're being run for valgrind, in which case do not split
  dwarf information, valgrinds does not like it (see #1).

makefile:
* build for vagrant into a separate folder entirely.

ci:
* install gcc, cmake and ninja along with vagrant, since now we are
  building inside of the ci container as well.

close #1
2021-11-02 04:40:07 +01:00
639d941461
fix(makefile): release folder for release builds
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-02 04:16:44 +01:00
ebba54b940
chore(cmake): move CMAKE_CXX_FLAGS to CMakeLists
All checks were successful
continuous-integration/drone/push Build is passing
* use proper conditionals, should any overrides exist in the environment
* distinguish between debug and release builds and set flags accordingly
2021-11-01 08:54:55 +01:00
bf61e2578e
chore(makefile): do not run valgrind with test tgt
[skip ci]
2021-10-30 20:56:43 +02:00
ec0691fba1
makefile,pre-commit: add clang-tidy
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-30 20:39:23 +02:00
519919326e
cppcheck: specify necessary parameters
All checks were successful
continuous-integration/drone/push Build is passing
* that is, both in ci, pre-commit config and in the makefile
* makefile and ci args are a little more strict than the pre-commit ones
* use globs of the file extensions we're after
* add verbosity
2021-10-30 20:05:28 +02:00
2c01d3c6aa
add Makefile
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-24 21:39:12 +02:00