Added build_metadata.sh
This commit is contained in:
parent
bc1ba688c6
commit
e0829ba9d5
|
@ -750,7 +750,7 @@ CUSTOM_DOC("Queries the user for several configuration options and initializes a
|
|||
default_compiler_sh.size, default_compiler_sh.str,
|
||||
code_file.size, code_file.str,
|
||||
binary_file.size, binary_file.str);
|
||||
fprintf(sh_script, "popd\n");
|
||||
fprintf(sh_script, "popd > /dev/null\n");
|
||||
|
||||
fclose(sh_script);
|
||||
}
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
FLAGS="-Wno-write-strings -Wno-null-dereference -Wno-comment -Wno-switch -Wno-writable-strings"
|
||||
|
||||
pushd ../build > /dev/null
|
||||
g++ $FLAGS -std=gnu++0x ../code/4coder_metadata_generator.cpp -o metadata_generator
|
||||
popd > /dev/null
|
||||
|
||||
CODE_HOME="$PWD"
|
||||
../build/metadata_generator -R "$CODE_HOME"
|
Loading…
Reference in New Issue