1 | <!-- This comment will put IE 6, 7 and 8 in quirks mode --> |
---|
2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
4 | <head> |
---|
5 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
---|
6 | <title>TSPSG: TSP Solver and Generator: src/version.h Source File</title> |
---|
7 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
---|
8 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
---|
9 | <script type="text/javaScript" src="search/search.js"></script> |
---|
10 | <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
---|
11 | </head> |
---|
12 | <body onload='searchBox.OnSelectItem(0);'> |
---|
13 | <!-- Generated by Doxygen 1.6.1 --> |
---|
14 | <script type="text/javascript"><!-- |
---|
15 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
---|
16 | --></script> |
---|
17 | <script type="text/javascript"> |
---|
18 | <!-- |
---|
19 | function changeDisplayState (e){ |
---|
20 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
21 | var button=this.firstChild; |
---|
22 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
23 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
24 | sectionDiv.style.display='block'; |
---|
25 | button.src='open.gif'; |
---|
26 | }else{ |
---|
27 | sectionDiv.style.display='none'; |
---|
28 | button.src='closed.gif'; |
---|
29 | } |
---|
30 | } |
---|
31 | function initDynSections(){ |
---|
32 | var divs=document.getElementsByTagName('div'); |
---|
33 | var sectionCounter=1; |
---|
34 | for(var i=0;i<divs.length-1;i++){ |
---|
35 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
36 | var header=divs[i]; |
---|
37 | var section=divs[i+1]; |
---|
38 | var button=header.firstChild; |
---|
39 | if (button!='IMG'){ |
---|
40 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
41 | button=document.createElement('img'); |
---|
42 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
43 | } |
---|
44 | header.style.cursor='pointer'; |
---|
45 | header.onclick=changeDisplayState; |
---|
46 | header.id='dynheader'+sectionCounter; |
---|
47 | button.src='closed.gif'; |
---|
48 | section.id='dynsection'+sectionCounter; |
---|
49 | section.style.display='none'; |
---|
50 | section.style.marginLeft='14px'; |
---|
51 | sectionCounter++; |
---|
52 | } |
---|
53 | } |
---|
54 | } |
---|
55 | window.onload = initDynSections; |
---|
56 | --> |
---|
57 | </script> |
---|
58 | <div class="navigation" id="top"> |
---|
59 | <div class="tabs"> |
---|
60 | <ul> |
---|
61 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
62 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
63 | <li><a href="annotated.html"><span>Classes</span></a></li> |
---|
64 | <li class="current"><a href="files.html"><span>Files</span></a></li> |
---|
65 | <li> |
---|
66 | <div id="MSearchBox" class="MSearchBoxInactive"> |
---|
67 | <img id="MSearchSelect" src="search/search.png" |
---|
68 | onmouseover="return searchBox.OnSearchSelectShow()" |
---|
69 | onmouseout="return searchBox.OnSearchSelectHide()" |
---|
70 | alt=""/> |
---|
71 | <input type="text" id="MSearchField" value="Search" accesskey="S" |
---|
72 | onfocus="searchBox.OnSearchFieldFocus(true)" |
---|
73 | onblur="searchBox.OnSearchFieldFocus(false)" |
---|
74 | onkeyup="searchBox.OnSearchFieldChange(event)"/> |
---|
75 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
---|
76 | </div> |
---|
77 | </li> |
---|
78 | </ul> |
---|
79 | </div> |
---|
80 | <div class="tabs"> |
---|
81 | <ul> |
---|
82 | <li><a href="files.html"><span>File List</span></a></li> |
---|
83 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
84 | </ul> |
---|
85 | </div> |
---|
86 | <h1>src/version.h</h1><a href="version_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 |
---|
87 | <a name="l00049"></a>00049 <span class="preprocessor">#ifndef VERSION_H</span> |
---|
88 | <a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor">#define VERSION_H</span> |
---|
89 | <a name="l00051"></a>00051 <span class="preprocessor"></span> |
---|
90 | <a name="l00052"></a>00052 <span class="preprocessor">#ifndef BUILD_VERSION_MAJOR</span> |
---|
91 | <a name="l00054"></a><a class="code" href="version_8h.html#a5cf508f5e45c0cfbf12ee768b9c7a0a2">00054</a> <span class="preprocessor"> #define BUILD_VERSION_MAJOR 0</span> |
---|
92 | <a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor">#endif // BUILD_VERSION_MAJOR</span> |
---|
93 | <a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor">#ifndef BUILD_VERSION_MINOR</span> |
---|
94 | <a name="l00058"></a><a class="code" href="version_8h.html#ac631d87f240fc2c15f11be2bbbb23ff3">00058</a> <span class="preprocessor"> #define BUILD_VERSION_MINOR 0</span> |
---|
95 | <a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor">#endif // BUILD_VERSION_MINOR</span> |
---|
96 | <a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor">#ifndef BUILD_RELEASE</span> |
---|
97 | <a name="l00062"></a><a class="code" href="version_8h.html#a962258f08e30f89054491f457d225aaf">00062</a> <span class="preprocessor"> #define BUILD_RELEASE 0</span> |
---|
98 | <a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor">#endif // BUILD_RELEASE</span> |
---|
99 | <a name="l00064"></a>00064 <span class="preprocessor"></span> |
---|
100 | <a name="l00065"></a>00065 <span class="preprocessor">#ifndef BUILD_NUMBER</span> |
---|
101 | <a name="l00067"></a><a class="code" href="version_8h.html#ae7f90861d8c4d5b1cbdcf71d325feea2">00067</a> <span class="preprocessor"> #define BUILD_NUMBER 0</span> |
---|
102 | <a name="l00068"></a>00068 <span class="preprocessor"></span><span class="preprocessor">#endif // BUILD_NUMBER</span> |
---|
103 | <a name="l00069"></a>00069 <span class="preprocessor"></span> |
---|
104 | <a name="l00074"></a>00074 <span class="preprocessor">#ifdef DEBUG</span> |
---|
105 | <a name="l00075"></a>00075 <span class="preprocessor"></span><span class="preprocessor"> #ifndef BUILD_STATUS</span> |
---|
106 | <a name="l00076"></a>00076 <span class="preprocessor"></span><span class="preprocessor"> #define BUILD_STATUS (debug build BUILD_NUMBER)</span> |
---|
107 | <a name="l00077"></a>00077 <span class="preprocessor"></span><span class="preprocessor"> #endif</span> |
---|
108 | <a name="l00078"></a>00078 <span class="preprocessor"></span><span class="preprocessor">#else</span> |
---|
109 | <a name="l00079"></a>00079 <span class="preprocessor"></span><span class="preprocessor"> #if !defined(TSPSG_RELEASE_BUILD)</span> |
---|
110 | <a name="l00080"></a><a class="code" href="version_8h.html#a7a713d0890ab037efe896938904fb407">00080</a> <span class="preprocessor"></span><span class="preprocessor"> #define BUILD_STATUS (dev build)</span> |
---|
111 | <a name="l00081"></a>00081 <span class="preprocessor"></span><span class="preprocessor"> #elif !defined(BUILD_STATUS)</span> |
---|
112 | <a name="l00082"></a>00082 <span class="preprocessor"></span><span class="preprocessor"> #define BUILD_STATUS (build BUILD_NUMBER)</span> |
---|
113 | <a name="l00083"></a>00083 <span class="preprocessor"></span><span class="preprocessor"> #endif // TSPSG_RELEASE_BUILD</span> |
---|
114 | <a name="l00084"></a>00084 <span class="preprocessor"></span><span class="preprocessor">#endif // DEBUG</span> |
---|
115 | <a name="l00085"></a>00085 <span class="preprocessor"></span> |
---|
116 | <a name="l00087"></a><a class="code" href="version_8h.html#a7853af8e699fd3e5e8690e4760eb61cb">00087</a> <span class="preprocessor">#define QUOTE_X(x) #x</span> |
---|
117 | <a name="l00089"></a><a class="code" href="version_8h.html#a2117b58e19182dff91ad3558e650541d">00089</a> <span class="preprocessor">#define QUOTE(x) QUOTE_X(x)</span> |
---|
118 | <a name="l00090"></a>00090 <span class="preprocessor"></span> |
---|
119 | <a name="l00092"></a><a class="code" href="version_8h.html#ad7a967dd260384e94010b31b1412a0b4">00092</a> <span class="preprocessor">#define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE BUILD_STATUS)</span> |
---|
120 | <a name="l00093"></a>00093 <span class="preprocessor"></span> |
---|
121 | <a name="l00094"></a>00094 <span class="preprocessor">#endif // VERSION_H</span> |
---|
122 | </pre></div></div> |
---|
123 | <!--- window showing the filter options --> |
---|
124 | <div id="MSearchSelectWindow" |
---|
125 | onmouseover="return searchBox.OnSearchSelectShow()" |
---|
126 | onmouseout="return searchBox.OnSearchSelectHide()" |
---|
127 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
---|
128 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Defines</a></div> |
---|
129 | |
---|
130 | <!-- iframe showing the search results (closed by default) --> |
---|
131 | <div id="MSearchResultsWindow"> |
---|
132 | <iframe src="" frameborder="0" |
---|
133 | name="MSearchResults" id="MSearchResults"> |
---|
134 | </iframe> |
---|
135 | </div> |
---|
136 | |
---|
137 | <hr size="1"/><address style="text-align: right;"><small>Generated on Fri Apr 9 00:25:38 2010 for TSPSG: TSP Solver and Generator by |
---|
138 | <a href="http://www.doxygen.org/index.html"> |
---|
139 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> |
---|
140 | </body> |
---|
141 | </html> |
---|