You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.textile
+31-7Lines changed: 31 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ h2. Concept
10
10
* You could use eDriven.Gui to build a wide range of apps, from games to business applications.
11
11
* Some parts of the framework are ported from Apache Flex.
12
12
13
-
h2. Features:
13
+
h2. Features
14
14
15
15
* Built on top of eDriven.Core
16
16
* Retained mode GUI
@@ -36,17 +36,41 @@ h2. Features:
36
36
37
37
h2. Usage
38
38
39
-
1. Download the repository to your Windows PC
39
+
1. Download the repository to your Windows PC.
40
40
41
-
2. Open the solution file in Visual Studio (VS2012 or later)
41
+
2. Open the solution file in Visual Studio (VS2012 or later).
42
42
43
43
* The proper solution file to open is "UnityVS.Unity.sln":https://github.com/dkozar/edriven-gui/blob/master/eDriven.Playground/Unity/UnityVS.Unity.sln
44
-
* The location of the file is due to UnityVS not being able to work differently at a time
44
+
* The location of the file is due to UnityVS not being able to work differently at the time
45
45
46
-
3. Ctrl + Shift + B should build the solution
47
-
* the build process should copy all the relevant .DLLs into the "Libs":https://github.com/dkozar/edriven-gui/tree/master/eDriven.Playground/Unity/Assets/eDriven/Libs folder
46
+
3. Ctrl + Shift + B should build the solution.
47
+
* the post-build process should copy all the relevant .DLLs into the "Libs":https://github.com/dkozar/edriven-gui/tree/master/eDriven.Playground/Unity/Assets/eDriven/Libs folder
48
48
49
-
4. Open any Unity "Demo":https://github.com/dkozar/edriven-gui/tree/master/eDriven.Playground/Unity/Assets/eDriven/Demo/Gui/Code and run it
49
+
4. Open any Unity "Demo":https://github.com/dkozar/edriven-gui/tree/master/eDriven.Playground/Unity/Assets/eDriven/Demo/Gui/Code and run it.
50
+
51
+
h2. Build
52
+
53
+
There are currently 3 build configurations:
54
+
55
+
1. DEBUG
56
+
2. RELEASE
57
+
3. PRODUCTION
58
+
59
+
You can switch configurations using the combo box located at the top of Visual Studio.
60
+
61
+
Depending of the chosen configuration, some parts of framework code will be included or excluded in build (look for "#if DEBUG", "#if RELEASE" and "#if PRODUCTION" statements in code).
62
+
63
+
The .DLLs that are being built are always copied to the *same* location, owerwriting those built before ("Libs":https://github.com/dkozar/edriven-gui/tree/master/eDriven.Playground/Unity/Assets/eDriven/Libs)
64
+
65
+
You should manually add the "PRODUCTION" configuration (Visual Studio -> Configuration manager -> Active solution configuration -> New -> Name: "Production".
66
+
67
+
Here's the explanation for each build configuration:
68
+
69
+
1. DEBUG: Used for development. Multiple "#if DEBUG" statements are being pushed into code, as well as "DebugMode" switch on multiple classes. The DebugMode switch could be set to true to enable logging of messages for the host class.
70
+
71
+
2. RELEASE: I used this configuration for making the *free version* of the framework. The free version included multiple hack checks etc.
72
+
73
+
3. PRODUCTION: You would normally want .DLLs built with this configuration in production. This version excludes any debug statements and hack checks.
0 commit comments