]> git.tdb.fi Git - builder.git/blob - source/lib/exportdefinitions.h
Add visibility decorations to the library and plugins
[builder.git] / source / lib / exportdefinitions.h
1 #ifndef EXPORTDEFINITIONS_H_
2 #define EXPORTDEFINITIONS_H_
3
4 #include "filetarget.h"
5 #include "libbuilder_api.h"
6
7 class ObjectFile;
8
9 /**
10 An export definition file for a shared library.  Only used on Windows.
11 */
12 class LIBBUILDER_API ExportDefinitions: public FileTarget
13 {
14 public:
15         ExportDefinitions(Builder &, const Component &, const std::vector<ObjectFile *> &);
16 private:
17         static Msp::FS::Path generate_target_path(const Component &);
18
19 public:
20         const char *get_type() const override { return "ExportDefinitions"; }
21 };
22
23 #endif