Allow setting the input directory for generated code.