X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbuilder.h;h=e06cec34e73c6efbea21f1dee7a5839d15ef7e96;hb=b4fda78e9e87a92ec802d580fe66578afa185209;hp=331c50ab9a57be2c92fb2ed91a4fab98c598d2b0;hpb=1ce9890cb950d516d5c1ede51264f1dcdde7356a;p=builder.git diff --git a/source/builder.h b/source/builder.h index 331c50a..e06cec3 100644 --- a/source/builder.h +++ b/source/builder.h @@ -56,6 +56,7 @@ private: Logger default_logger; const Logger *logger; + bool auto_prefix = true; Msp::FS::Path prefix; Msp::FS::Path tempdir = "temp"; @@ -79,6 +80,10 @@ public: const Msp::FS::Path &get_prefix() const { return prefix; } const Msp::FS::Path &get_temp_directory() const { return tempdir; } +private: + void update_auto_prefix(); + +public: void add_default_tools(); const Toolchain &get_toolchain() const { return toolchain; } VirtualFileSystem &get_vfs() { return vfs; }