Add argument "-o, --output-dir" for compile to specify the output directory.