build: windows deploy

* implemented a new deploy script for windows
* created a new setup project for the Coati Trail
This commit is contained in:
malte_langkabel
2016-02-24 10:52:24 +01:00
parent 64ffafffa8
commit 4dabe31776
45 changed files with 7259 additions and 943 deletions
@@ -6,14 +6,22 @@
#include "vld.h"
#include "utility/UserPaths.h"
#include "isTrial.h"
// #define DEPLOY
#include "platform_includes/deploy.h"
void setup(int argc, char *argv[])
{
#ifdef DEPLOY
std::string path = std::getenv("APPDATA");
path += "/../local/Coati Software/Coati/";
if (isTrial())
{
path += "/../local/Coati Software/Coati Trial/";
}
else
{
path += "/../local/Coati Software/Coati/";
}
UserPaths::setUserDataPath(path);
#endif
}