Rework demos building and installation

* add `ltc` wrapper script for installed demos
* rework demos/CMakeLists.txt and add some more bells and whistles
* prefix installed demos with `ltc-`

Currently this makes the standard makefiles and CMake results diverge, but
we can fix that later if required.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
Steffen Jaeckel 2024-11-20 13:11:22 +01:00
parent a9bb1c1525
commit 88dcebdbf5
9 changed files with 114 additions and 56 deletions

1
.gitignore vendored
View file

@ -22,6 +22,7 @@ doc/crypt.pdf
doc/refman.pdf
# *nix/windows test executables
ltc-*
aesgcm
aesgcm.exe
constants