4 #include "filetarget.h"
9 Object files are compiled from source files.
11 class ObjectFile: public FileTarget
18 ObjectFile(Builder &, const Component &, SourceFile &);
20 static Msp::FS::Path generate_target_path(const Component &, const Msp::FS::Path &);
23 virtual const char *get_type() const { return "ObjectFile"; }
24 SourceFile &get_source() const { return source; }
26 void set_used_in_shared_library(bool);
27 bool is_used_in_shared_library() const { return used_in_shlib; }
29 virtual void collect_build_info(BuildInfo &) const;
32 virtual void find_dependencies();
34 void find_dependencies(FileTarget *);