]> git.tdb.fi Git - builder.git/blobdiff - source/lib/target.h
Add visibility decorations to the library and plugins
[builder.git] / source / lib / target.h
index 6ef6457a0f5fe73d70ddc31d7f66b561e878b63b..0ba38f82031b06122aa10c001f222e0bbf143c49 100644 (file)
@@ -7,6 +7,7 @@
 #include <vector>
 #include <sigc++/signal.h>
 #include <msp/time/timestamp.h>
+#include "libbuilder_api.h"
 
 class Builder;
 class BuildInfo;
@@ -24,7 +25,7 @@ normal and transitive.  Normal dependencies will need to be built before the
 target itself, and will cause the target to be rebuilt if modified.  Transitive
 dependencies can be used by other targets further down the chain.
 */
-class Target
+class LIBBUILDER_API Target
 {
 public:
        using Dependencies = std::vector<Target *>;