File: project_settings.html

package info (click to toggle)
diasce2 1.3.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,688 kB
  • ctags: 1,586
  • sloc: ansic: 22,810; sh: 3,060; makefile: 489; yacc: 318
file content (131 lines) | stat: -rw-r--r-- 6,556 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Project settings</title>
</head>
<body>
<style type="text/css"><!--
table {
	border: solid 2px blue;
	margin-bottom: 0.5em;
	margin-top: 0.5em;
	background-color: #01A4FF;
	width: 100%;
	padding: 2;
}

--></style>

<table cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="preferences.html"><img src="images/left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="diasce03.html"><img src="images/up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="images/home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">DiaSCE manual</th>
<td><a accesskey="n" href="recently_oppened.html"><img src="images/right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<p><h2>Project settings</h2></p>
<p>In this menu, you can fill the information about your project. Whenever you 
start a new project, the Project Settings Windows will pop up and you'll have 
to enter some options, like the project directories, compilation options, ...
If you want to change this information during the development of your project, 
you can access this windows from the "Project Menu". </p>

<p>You can find the following options in this window:</p>
<ul>
<p><li>"General" Tab:</li>
	WARNING: Don't use special characters (non-ascii) for project name.
<ul>
<li>Name: Name of the project.</li>
<li>Version: Current version. This is used for the "--version" option of the 
command line, for example.</li>
<li>Author: You ;-)</li>
<li>e-mail: Your e-mail adress.</li>
<li>Languaje: The languaje of the project.</li>
</ul></p>
<p><img src="images/proj_general.png" width="706" height="392" alt="General Project Settings "></p>
<p><li>"Files" Tab:</li>

In this tab you can choose the directories where the project will be stored, 
as well as some other options.

	WARNING: Don't use special characters (non-ascii) for executable and 
	file names.
<ul>
<li>Executable's Name: The name of the executable of the project</li>
<li>Project's Directory: The directory where the project files will be stored.</li>
<li>Source's Directory: The directory where the source files (sources and 
headers) will be stored.</li>
<li>Pixmap's Directory: The directory where the project pixmaps will be stored.</li>
<li>Data Directory: The directory where project data files will be stored.</li>
<li>Docs Directory: The directory where documents will be stored. Manuals and other information that you think users will need.</li>
<li>Glade's project file: If your project is going to have a GUI, you must 
select this option and especify a name for the glade project file</li>
<li>Create a header for every source file: Select this option if you want 
DiaSCE to automatically create a header file for every new source file you create.</li>
<li>Add GNU header to every file: Select this option if you want the GNU header 
to be added to the beginning of every file you create.</li>
<li>Add "#ifndef _HEADER_H"...: Select this option if you want DiaSCE to 
automatically add "#ifndef _HEADER_H_", "#define _HEADER_H_" and "#endif" to 
every new header file of the project.</li>
</ul></p>
<p><img src="images/proj_files.png" width="706" height="392" alt="Project File Settings"></p>
<p><li>"Libraries" Tab:</li>

In this tab you can select the libraries your project will be linked against. 
If you select one of the libraries listed in this tab, and that library 
depends on another ones, the dependencies will be selected too. You can also 
especify libraries that are not listed in this window, by using the text 
entries at the bottom:
<ul>
<li>Others: Other libraries to link against</li>
<li>Libraries Path: Aditional paths to libraries for linking</li>
<li>Headers Path: Aditional paths to headers for compilation</li>
</ul>
Note: You must enter the (-l, -L, -I) too, for example:
<ul>
<li>Others:  -lglib-2.0  -lm  -latk-1.0</li>
<li>Libraries Path:  -L/usr/lib</li>
<li>Headers Path:  -I/usr/include/gkt-2.0</li>
</ul></p>
<p><img src="images/proj_libraries.png" width="706" height="392" alt="Project Library Settings"></p>
<p><li>"Gettext" Tab:</li>
In this tab you can add gettext support to your project. Doing this, all the necesary files and directories will be added to the project.
In the entry you have to write the languages your project supports separated by spaces ( ES EN FR ... ).
</p>
<p><img src="images/proj_gettext.png" width="706" height="392" alt="Project Internationalization Settings"></p>
<p><li>"Warnings" Tab:</li>

In this tab, you can select the warning levels you want to use to compile your 
project. You can select individual warnings, or you can select all the 
warnings by choosing -Wall at the top.
</p>
<p><img src="images/proj_warnings.png" width="706" height="392" alt="Project Warning Settings"></p>
<p><li>"Compiler" Tab:</li>

In this tab you can select the following options:
<ul>
<li>Optimize: Select this option if you want optimization to be added to the 
compilation of your project</li>
<li>Level: Level of optiomization selected.</li>
<li>Add debugging information: Select this option if you want your project to 
be compiled with debugging information.</li>
<li>Level: The debugging level selected</li>
<li>Link with electric-fence: If you have electric-fence instaled, you can 
select this option to have your project linked against it for debugging 
purposes.</li>
<li>Additional options: Additional options you want to pass to the compiler.</li>
</ul></p>
<p><img src="images/proj_compiler.png" width="706" height="392" alt="Project Compiler Settings"></p>
<p><li>"CVS" Tab:</li>
<ul>
<li>Enable CVS: This will allow you to use the CVS support implemented in DiaSCE.</li>
<li>CVSROOT: Here you have to enter the cvsroot of your project ( :pserver:ander@cvs.es.gnome.org:/home/cvs/gnome )</li>
<li>Module: Here you have to enter the module name of your project ( diasce )</li>
<li>Compression: This is the compression level that you want to use in the comunication with the CVS server</li>
<li>Update when opening a project: This will run the update command automaticaly each time you open your project</li>
<li>Add and remove files when they are added and removed from the project: This will automaticaly run update or remove when you add or remove a file from the project.</li>
</ul></p>
<p><img src="images/proj_cvs.png" width="706" height="392" alt="Project CVS Settings"></p>
</ul>
</body>
</html>