aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/fef/create-fef-includes.sh
blob: b425df3cbcc2e77e4dda09d677ced33c9cf201b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

cat <<EOF
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
// NOTE: This file was generated by the 'create-fef-includes.sh' script
#pragma once
/**
 * @file fef.h
 *
 * This is a convenience header that will include everything you need
 * to use this library.
 **/


EOF
echo "#include <vespa/searchlib/common/feature.h>"
echo ""

for f in *.h; do
  if [ $f != "fef.h" ]; then
    echo "#include \"$f\""
  fi
done

echo ""