aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/gpg.vs/docs/gpgvs.architecture.txt
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/gpg.vs/docs/gpgvs.architecture.txt')
-rwxr-xr-xlinden/indra/gpg.vs/docs/gpgvs.architecture.txt108
1 files changed, 108 insertions, 0 deletions
diff --git a/linden/indra/gpg.vs/docs/gpgvs.architecture.txt b/linden/indra/gpg.vs/docs/gpgvs.architecture.txt
new file mode 100755
index 0000000..4a2c251
--- /dev/null
+++ b/linden/indra/gpg.vs/docs/gpgvs.architecture.txt
@@ -0,0 +1,108 @@
1~~~~~~~~~~~~
2ARCHITECTURE
3~~~~~~~~~~~~
4I admit that architecture meaning is too much for this project,
5but with this document I explain how is built and
6how to use these projects.
7First of all you should respect the directory structure otherwise
8projects will not compile, but obviously you can change it:
9rembember to change vs workspace relativ paths too.
10Regarding workspaces compile flags: I decided to not provide particular
11building flags, so if you have to optimize (or anything else) you
12have to change settings.
13
14
15~~~~~~~~~~~
16DIRECTORIES
17~~~~~~~~~~~
18As said in “aim” document, I do not want to get inside original
19source code, less than it is not forced:
20so the first step is to look at directories structure (not whole)
21
22
23[anywhwere]\
24 \libgcrypt-1.2.1\
25 \libgcrypt-1.2.1\
26 \[...]
27 \gpg.vs\bin.vs\
28 \inc.vs\
29 \libgcrypt-1.2.1.vs\
30 \libgpg-error-1.1.vs\custom\
31 \libgpg_error_1_1.dsp
32 \libgpg_error_1_1.dsw
33
34There is a "root" directory, use whatever you want:
35inside this directory extract the original package, like
36libgcrypt-1.2.1, libgcrypt-1.2.1 and so on.
37Inside the "root" download/extract gpg.vs (otr.vs) project:
38you should have at least the same directories structure just shown.
39Inside you have "[original.package.name].vs" and all tools to be
40able to build original packages with visual studio.
41
42
43~~~~~~
44bin.vs
45~~~~~~
46here we'll go binaries created by visual studio, as
47\bin.vs\libgpg-error-1.1\debug\static\...
48\bin.vs\libgpg-error-1.1\release\static\...
49\bin.vs\libgpg-error-1.1\release\dll\...
50
51
52~~~~~~
53inc.vs
54~~~~~~
55this folder contains include files needed to build original packages
56without changing their code, like empty "socket.h" headers;
57and you will find "hooked" includes (like stddef.h) useful to declare
58definition that visual studio misses (like pid_t)
59
60
61~~~~~~~~~~~~~~~~~
62package.vs.custom
63~~~~~~~~~~~~~~~~~
64here you'll always find package->"config.h" header, made "by hand".
65You will find some others files that under *nix are automatically
66created, and I provide them in a "custom" way
67
68
69~~~~~~~
70EXAMPLE
71~~~~~~~
72You want to compile with vs libgpg-error-1.1.: choose your parent directory,
73in my case “gnu”
74
75\gnu\
76
77download and extract here the libgpg-error-1.1, so now I have
78
79\gnu\libgpg-error-1.1\libgpg-error\[source code]
80
81basically extract always in libgpg-error directory and the
82closest parent is libgpg-error-version, to have
83
84\gnu\libgpg-error-1.0\libgpg-error\[source code]
85\gnu\libgpg-error-1.1\libgpg-error\[source code]
86
87Now download gpg.vs project (or take it from cvs), which includes
88vs project for libgpg-error, and extract it in the directory
89you have choosen (gnu in my case),
90
91\gnu\gpg.vs\
92
93In gpg.vs directory find the libgpg-error-1.1.vs
94(appending .vs at the end of package name is the “standard” for this project)
95
96\gnu\gpg.vs\ libgpg-error-1.1.vs\
97
98And inside find the dsw/dsp of the project
99
100libgpg_error_1_1.dsw
101libgpg_error_1_1.dsp
102
103Note: the little change to names is due to vs limitations.
104You have only to build it.
105The binaries files will be created in
106
107\gnu\gpg.vs\bin.vs\libgpg-error.1.1\debug
108\gnu\gpg.vs\bin.vs\libgpg-error.1.1\release \ No newline at end of file