]> git.tdb.fi Git - builder.git/blobdiff - source/compile.h
Fix an incorrect assumption of target name being the basename of its path
[builder.git] / source / compile.h
index 42ae95c1f45c125ade30dc9bc92e730ab968efd7..5b55c4e9ee9d8f62b80da5afd9cfaf232022c85f 100644 (file)
@@ -1,19 +1,19 @@
 #ifndef COMPILE_H_
 #define COMPILE_H_
 
-#include <msp/path/path.h>
+#include <msp/fs/path.h>
 #include "externalaction.h"
 
 class Component;
+class ObjectFile;
 
+/**
+Compiles a source file into an object file.
+*/
 class Compile: public ExternalAction
 {
 public:
-       Compile(Builder &, const Msp::Path::Path &, const Msp::Path::Path &, const Component &);
-private:
-       Msp::Path::Path source;
-       Msp::Path::Path object;
-       const Component &comp;
+       Compile(Builder &, const ObjectFile &);
 };
 
 #endif