File: generate_database.sh

package info (click to toggle)
libfplus 0.2.13-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,904 kB
  • sloc: cpp: 27,543; javascript: 634; sh: 105; python: 103; makefile: 6
file content (11 lines) | stat: -rwxr-xr-x 565 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash

clang++ -O3 -std=c++14 -Wall -Wextra -pedantic -Wshadow -Werror -Weffc++ -Wconversion -Wsign-conversion -Wctor-dtor-privacy -Wreorder -Wold-style-cast -Wparentheses -pthread -o ./temp_FunctionalPlus_api__clang -I../include parse_source_files.cpp

if [ -f ./temp_FunctionalPlus_api__clang ];
then
    g++ -E -CC -std=c++14 -w -I../include ../include/fplus/fplus.hpp > temp_preprocessor_output.txt
    ./temp_FunctionalPlus_api__clang temp_preprocessor_output.txt
    rm ./temp_FunctionalPlus_api__clang
    rm -f temp_preprocessor_output.txt
fi