]> git.tdb.fi Git - builder.git/blobdiff - source/vcxprojectfile.cpp
Rearrange sources into subdirectories
[builder.git] / source / vcxprojectfile.cpp
diff --git a/source/vcxprojectfile.cpp b/source/vcxprojectfile.cpp
deleted file mode 100644 (file)
index c591524..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#include <msp/crypto/md5.h>
-#include <msp/strings/format.h>
-#include "builder.h"
-#include "sourcepackage.h"
-#include "vcxprojectfile.h"
-
-using namespace Msp;
-
-VcxProjectFile::VcxProjectFile(Builder &b, const SourcePackage &p):
-       FileTarget(b, p, p.get_source_directory()/(p.get_name()+".vcxproj"))
-{
-       tool = &builder.get_toolchain().get_tool("VCXG");
-
-       char digest[16];
-       Crypto::MD5(package->get_name()).get_digest(digest, sizeof(digest));
-       digest[6] = 3;
-       digest[8] = (digest[6]&0x3F)|0x80;
-       for(unsigned j=0; j<sizeof(digest); ++j)
-       {
-               if(j==4 || j==6 || j==8 || j==10)
-                       guid += '-';
-               guid += format("%02x", static_cast<unsigned char>(digest[j]));
-       }
-}