X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=plugins%2Fbuiltin%2Fvssolutionfile.cpp;fp=plugins%2Fbuiltin%2Fvssolutionfile.cpp;h=0000000000000000000000000000000000000000;hb=d3e9e3db18a9fb6024fced0fe506752763c91c7f;hp=38908df99ff7c842815db0363330992137328a11;hpb=d5535ad0823221b326b47f4549bd546118e72599;p=builder.git diff --git a/plugins/builtin/vssolutionfile.cpp b/plugins/builtin/vssolutionfile.cpp deleted file mode 100644 index 38908df..0000000 --- a/plugins/builtin/vssolutionfile.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include -#include -#include -#include "vssolutionfile.h" - -using namespace std; -using namespace Msp; - -VsSolutionFile::VsSolutionFile(Builder &b, const SourcePackage &p): - FileTarget(b, p, p.get_source_directory()/(p.get_name()+".sln")) -{ - tool = &builder.get_toolchain().get_tool("VSSG"); -} - -void VsSolutionFile::find_dependencies() -{ - find_dependencies(*package); -} - -void VsSolutionFile::find_dependencies(const SourcePackage &spkg) -{ - if(FileTarget *project = builder.get_vfs().get_target(spkg.get_source_directory()/(spkg.get_name()+".vcxproj"))) - if(!any_equals(depends, static_cast(project))) - { - add_dependency(*project); - - for(const Package *r: spkg.get_required_packages()) - if(const SourcePackage *s = dynamic_cast(r)) - find_dependencies(*s); - } -}