File: building.html

package info (click to toggle)
quickfix 1.15.1%2Bdfsg-4
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 42,080 kB
  • sloc: cpp: 631,686; python: 129,549; ruby: 106,716; xml: 43,737; ansic: 7,668; java: 1,826; cs: 816; makefile: 544; sh: 462; sql: 313
file content (152 lines) | stat: -rw-r--r-- 3,690 bytes parent folder | download | duplicates (2)
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
  <link href="doxygen.css" rel="stylesheet" type="text/css">

  <title>Building QuickFIX</title>
</head>

<body>
  <div class='header'>
    <div class='headertitle'>
      Building QuickFIX
    </div>
  </div>

  <div class='contents'>
    <h1>Windows</h1>

    <p>Open <b>quickfix_vs12.sln</b>, <b>quickfix_vs14.sln</b>, or
    <b>quickfix_vs15.sln</b></p>

    <p>Batch build all projects. <b>lib\quickfix.lib</b> and
    <b>lib\debug\quickfix.lib</b> can be linked into your
    application. Header files are copied to the <b>include</b>
    directory.</p>

    <p>Compile time options are controlled from the
    <b>config_windows.h</b> file in the <i>src</i> directory. The
    following options are supported:<br>
    <br></p>

    <table>
      <tr>
        <td><font color="#0000FF">#define HAVE_STLPORT
        1</font></td>
      </tr>

      <tr>
        <td>Compile with stlport instead of standard visual c++ STL
        implementation.</td>
      </tr>

      <tr>
        <td><font color="#0000FF">#define HAVE_ODBC 1</font></td>
      </tr>

      <tr>
        <td>Compiles ODBC support into QuickFIX.</td>
      </tr>

      <tr>
        <td><font color="#0000FF">#define HAVE_MYSQL 1</font></td>
      </tr>

      <tr>
        <td>Compiles MySQL support into QuickFIX. If you enable
        this option, the mysql include and library directories must
        be in the Visual Studio search paths.</td>
      </tr>

      <tr>
        <td><font color="#0000FF">#define HAVE_POSTGRESQL
        1</font></td>
      </tr>

      <tr>
        <td>Compiles PostgreSQL support into QuickFIX. If you
        enable this option, the postgres include and library
        directories must be in the Visual Studio search paths.</td>
      </tr>
    </table>

    <br/><hr/>
    <h1>Linux / Solaris / FreeBSD / Mac OS X</h1>
    <pre class='fragment'>
./configure &amp;&amp; ./make

sudo make install
</pre>

    <p>You can also run configure with the <font color=
    "#0000FF">--prefix=&lt;base directory&gt;</font> option to
    install to a custom location.</p>

    <p><b>./configure</b> options:</p>

    <table>
      <tr>
        <td><font color="#0000FF">--with-python2</font></td>
      </tr>

      <tr>
        <td>Build the Python2 API</td>
      </tr>

      <tr>
        <td><font color="#0000FF">--with-python3</font></td>
      </tr>

      <tr>
        <td>Build the Python3 API</td>
      </tr>

      <tr>
        <td><font color="#0000FF">--with-ruby</font></td>
      </tr>

      <tr>
        <td>Build the Ruby API</td>
      </tr>

      <tr>
        <td><font color="#0000FF">--with-mysql</font></td>
      </tr>

      <tr>
        <td>Compile in mysql support</td>
      </tr>

      <tr>
        <td><font color="#0000FF">--with-postgresql</font></td>
      </tr>

      <tr>
        <td>Compile in postgresql support</td>
      </tr>

      <tr>
        <td><font color="#0000FF">--with-stlport=&lt;base
        directory&gt;</font></td>
      </tr>

      <tr>
        <td>Compile with stlport instead of standard gcc STL
        implementation</td>
      </tr>
    </table>

    <p>When using the SUNPro compiler:<br>
    <br>
    <b>CC</b>=<i>&lt;full path to SUNPro CC binary&gt;</i><br>
    <b>CFLAGS</b>=<i>-g -xs</i><br>
    <b>CXX</b>=<i>&lt;full path to SUNPro CC binary&gt;</i><br>
    <b>CXXFLAGS</b>=<i>-g -xs</i><br>
    <b>LD</b>=<i>&lt;full path to SUNPro CC binary&gt;</i><br>
    <b>LDFLAGS</b>=<i>-g -xs -lCstd</i><br>
    <b>AR</b>=<i>&lt;full path to SUNPro CC binary&gt;</i><br>
    <b>AR_FLAGS</b>=<i>-g -xs -xar -o</i><br></p>
  </div>
</body>
</html>