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
+1
View File
@@ -1,6 +1,7 @@
add_files(
LIB_GUI_FILES
platform_includes/deploy.h
platform_includes/includesDefault.h
platform_includes/includesMac.h
platform_includes/includesWindows.h
+1
View File
@@ -0,0 +1 @@
// #define DEPLOY
@@ -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
}