]> git.tdb.fi Git - builder.git/blob - source/exportdefinitions.cpp
Build and install import libraries on windows
[builder.git] / source / exportdefinitions.cpp
1 #include "component.h"
2 #include "exportdefinitions.h"
3 #include "sourcepackage.h"
4
5 using namespace Msp;
6
7 ExportDefinitions::ExportDefinitions(Builder &b, const Component &c, SharedLibrary &l):
8         FileTarget(b, c.get_package(), generate_target_path(c)),
9         lib(l)
10 {
11         component = &c;
12 }
13
14 FS::Path ExportDefinitions::generate_target_path(const Component &comp)
15 {
16         return comp.get_package().get_temp_dir()/comp.get_name()/(comp.get_name()+".def");
17 }