X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbuilder.h;h=6835299b4ac464807240565fd231731d80b2edd0;hb=f4a10e1dc189f28367eafe3b91723d275928ced7;hp=653a81ad22cf51ca83bbced40c0183c991b89947;hpb=433f9ef196b6f5af6bb38447b650f5afaa5a783a;p=builder.git diff --git a/source/builder.h b/source/builder.h index 653a81a..6835299 100644 --- a/source/builder.h +++ b/source/builder.h @@ -22,8 +22,10 @@ Distributed under the LGPL class Analyzer; class Config; +class FileTarget; class Package; class SourcePackage; +class VirtualTarget; /** The main application class. Controls and owns everything. Rules the world. @@ -69,6 +71,7 @@ private: SourcePackage *main_pkg; PathList pkg_path; PathList pkg_dirs; + bool no_externals; TargetMap targets; TargetList new_tgts; @@ -146,7 +149,8 @@ public: /** Adds a target to both the target map and the new target queue. Called from Target constructor. */ - void add_target(Target *); + void add_target(FileTarget *); + void add_target(VirtualTarget *); void problem(const std::string &, const std::string &);