diff --git a/4coder_project_commands.cpp b/4coder_project_commands.cpp index bbccc296..665257f7 100644 --- a/4coder_project_commands.cpp +++ b/4coder_project_commands.cpp @@ -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); } diff --git a/build_metadata.sh b/build_metadata.sh new file mode 100644 index 00000000..5591f42a --- /dev/null +++ b/build_metadata.sh @@ -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"