added json classes

added cmake files
minor changes
This commit is contained in:
Luis Stanglmeier 2022-06-22 17:49:52 +02:00
parent 06def051e4
commit 9bcf266ce2
40 changed files with 2765 additions and 39 deletions

View file

@ -0,0 +1,35 @@
#//========================================================================
#// Copyright (c) Technische Software Entwicklung Plazotta © 2021
#//
#// DESCRIPTION:
#// Shell Script to Build a cmake project under linux, running the Unittest and finally start teh install step
#//
#// HISTORY:
#// 09.04.2021 / PP
#// Module created.
#//========================================================================
#!/bin/bash
#
#=======================================================================
# Check Parameter
#=======================================================================
if [ -z "$1" ]
then
echo "usage: RunUnitTest [UnitTestExe]"
exit 2
fi
#=======================================================================
# Run Unit Test
#=======================================================================
#- Get the RUNPATH and setup the LD_LIBRARY_PATH------------------------
USED_LD_PATH=$(readelf -d $1 | grep RUNPATH | awk 'NR > 1 {print $1}' RS='[' FS=']')
export LD_LIBRARY_PATH=$USED_LD_PATH
./$1
if [ $? -ne 0 ]; then
exit 1
fi
#
exit 0