]> git.tdb.fi Git - builder.git/commitdiff
Un-abbreviate function names
authorMikko Rasa <tdb@tdb.fi>
Sun, 14 Apr 2013 12:17:07 +0000 (15:17 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 14 Apr 2013 15:11:08 +0000 (18:11 +0300)
source/binary.cpp
source/cache.cpp
source/datafile.cpp
source/exportdefinitions.cpp
source/importlibrary.cpp
source/objectfile.cpp
source/sourcepackage.cpp
source/sourcepackage.h
source/staticlibrary.cpp

index 05a475d71bb4b02ff82c8333f06cc1c976f6d40e..9f0bfcd2e5aa273fd11fc878ec1bfe4c8d9a22a3 100644 (file)
@@ -18,7 +18,7 @@ Binary::Binary(Builder &b, const FS::Path &p):
 { }
 
 Binary::Binary(Builder &b, const Component &c, const string &p, const list<ObjectFile *> &objs):
-       FileTarget(b, c.get_package(), c.get_package().get_out_dir()/p),
+       FileTarget(b, c.get_package(), c.get_package().get_output_directory()/p),
        objects(objs)
 {
        component = &c;
index d4a4ebc3857f25321fbb27d756d77aa02446d98b..a2d68248d14a91fcb641b9c76c59df5e0772f896 100644 (file)
@@ -59,7 +59,7 @@ void write_string(IO::Base &out, const string &str)
 
 Cache::Cache(SourcePackage &p):
        package(p),
-       filename(package.get_temp_dir()/"../cache"),
+       filename(package.get_temp_directory()/"../cache"),
        changed(false)
 { }
 
index bb61d7dea7babecc4bafb8cbbe9f4b029f11d15a..17a47b6437ce56b34efe024e00516b896576b10f 100644 (file)
@@ -15,5 +15,5 @@ DataFile::DataFile(Builder &b, const Component &c, File &s):
 
 Msp::FS::Path DataFile::generate_target_path(const Component &comp)
 {
-       return comp.get_package().get_out_dir()/(comp.get_name()+".dat");
+       return comp.get_package().get_output_directory()/(comp.get_name()+".dat");
 }
index 8fbf76e9f037c21ffaf3b2b541ac2a6e780039da..7e497211ce77fbe2c7cfb7258a37503a36e2d70a 100644 (file)
@@ -16,5 +16,5 @@ ExportDefinitions::ExportDefinitions(Builder &b, const Component &c, const list<
 
 FS::Path ExportDefinitions::generate_target_path(const Component &comp)
 {
-       return comp.get_package().get_temp_dir()/comp.get_name()/(comp.get_name()+".def");
+       return comp.get_package().get_temp_directory()/comp.get_name()/(comp.get_name()+".def");
 }
index 0fb5f72ff88d3628f46723fa5cb09dd3f4dc49a0..1e6650fdac1ee648ebae4fbf642ef2cf498a1c6e 100644 (file)
@@ -14,7 +14,7 @@ ImportLibrary::ImportLibrary(Builder &b, const FS::Path &p):
 { }
 
 ImportLibrary::ImportLibrary(Builder &b, const Component &c, SharedLibrary &sl, ExportDefinitions &exp):
-       FileTarget(b, c.get_package(), c.get_package().get_out_dir()/format("lib%s.dll.a", sl.get_libname())),
+       FileTarget(b, c.get_package(), c.get_package().get_output_directory()/format("lib%s.dll.a", sl.get_libname())),
        shared_lib(&sl)
 {
        component = &c;
index fff1309057916baefffe63bf4ce8192469796647..97e52552b8d553ae3d360245a56bd15a440efc91 100644 (file)
@@ -29,7 +29,7 @@ FS::Path ObjectFile::generate_target_path(const Component &comp, const FS::Path
                if(*i!=".")
                        fn += *i;
        }
-       return pkg.get_temp_dir()/comp.get_name()/(FS::basepart(fn)+".o");
+       return pkg.get_temp_directory()/comp.get_name()/(FS::basepart(fn)+".o");
 }
 
 void ObjectFile::find_dependencies()
index cb4f978aedba7c6e61c5fb4f8719e67e05f0123f..b84b22a58f0a33ea326cfc99845e9363ade5081c 100644 (file)
@@ -42,7 +42,7 @@ void SourcePackage::set_build_type(const BuildType &t)
        build_type = &t;
 }
 
-FS::Path SourcePackage::get_temp_dir() const
+FS::Path SourcePackage::get_temp_directory() const
 {
        string subdir = builder.get_current_arch().get_name();
        if(build_type)
@@ -58,7 +58,7 @@ FS::Path SourcePackage::get_temp_dir() const
                return source_dir/temp/subdir;
 }
 
-FS::Path SourcePackage::get_out_dir() const
+FS::Path SourcePackage::get_output_directory() const
 {
        const Architecture &arch = builder.get_current_arch();
        if(arch.is_native())
index 086690765d691eb5dd124a7def583ebd20db2521..94555d6e3e96dc85c3ad662f0c896a10637f3af6 100644 (file)
@@ -81,8 +81,8 @@ public:
        const std::string &get_description() const { return description; }
        FileTarget &get_build_file() const { return *build_file; }
        const Msp::FS::Path &get_source_directory() const { return source_dir; }
-       Msp::FS::Path get_temp_dir() const;
-       Msp::FS::Path get_out_dir() const;
+       Msp::FS::Path get_temp_directory() const;
+       Msp::FS::Path get_output_directory() const;
        const ComponentList &get_components() const { return components; }
        const Config &get_config() const { return config; }
        bool match_feature(const std::string &) const;
index 2bb17fc04b9ff47b1f0552039f04687a2cc571f5..29abc0d36efda33358038d8db90f703e2458f5e4 100644 (file)
@@ -12,7 +12,7 @@ StaticLibrary::StaticLibrary(Builder &b, const FS::Path &p):
 { }
 
 StaticLibrary::StaticLibrary(Builder &b, const Component &c, const list<ObjectFile *> &objs):
-       FileTarget(b, c.get_package(), c.get_package().get_out_dir()/generate_filename(c))
+       FileTarget(b, c.get_package(), c.get_package().get_output_directory()/generate_filename(c))
 {
        component = &c;
        for(list<ObjectFile *>::const_iterator i=objs.begin(); i!=objs.end(); ++i)