Skip to content
Snippets Groups Projects
Commit 43ad668b authored by Marwan B's avatar Marwan B
Browse files

add new one fits all

parent 20385e74
No related branches found
No related tags found
1 merge request!3Master
#define CITY Darmstadt
#include "features/display.txt"
#include "features/seek_tuning.txt"
#include "features/tuning_fast.txt"
\ No newline at end of file
#include "boilerplate/header.txt"
#include "../features/display.txt"
#include "../features/seek_tuning.txt"
#include "../features/tuning_fast.txt"
#include "boilerplate/footer.txt"
\ No newline at end of file
#define CITY Dieburg
#include "features/tuning_arr.txt"
#include "features/tuning_arr_man.txt"
\ No newline at end of file
#include "boilerplate/header.txt"
#include "../features/tuning_arr.txt"
#include "../features/tuning_arr_man.txt"
#include "boilerplate/footer.txt"
\ No newline at end of file
#define CITY Griesheim
#include "features/display.txt"
#include "features/tuning_fast.txt"
#include "features/numeric_tuning.txt"
\ No newline at end of file
#include "boilerplate/header.txt"
#include "../features/display.txt"
#include "../features/tuning_fast.txt"
#include "../features/numeric_tuning.txt"
#include "boilerplate/footer.txt"
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<style>
.key {background-color:lightgrey;}
</style>
<title>User manual for Bluedot CITY</title>
</head>
<body>
<h1>Bluedot CITY</h1>
\ No newline at end of file
#!/bin/sh
#clear
# param1 is target, param2 is output-file
NoOfParams="0"
if [ $1 ]; then
NoOfParams="1"
fi
if [ $2 ]; then
NoOfParams="2"
fi
if [ $3 ]; then
NoOfParams="3"
fi
if [ ! -d "./oneFitsAll/" ]; then
mkdir -p ./oneFitsAll/translation
fi
case $NoOfParams in
1)
gcc -E -P -Wall -D $1 oneForAll.cpp
;;
2) # first param sets the config file to be used
gcc -E -P -Wall -D config=config/$1.cpp -o ./oneFitsAll/$2 true_one_fits_all.cpp
;;
3)
gcc -E -P -Wall -D $1 -D $2 -o ./oneFitsAll/translation/$3 oneForAll_include.cpp
;;
*)
echo "No Radio specified. Try again!"
echo "1st parameter specifies radio (e.g. DARMSTADT)"
echo "2nd parameter specifies filename for output (e.g. Darmstadt.html)"
;;
esac
\ No newline at end of file
#define make_string(s) str(s)
#define str(s) #s
#ifdef config
#include make_string(config)
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment