Updated compiling documentation for upcoming change.
This commit is contained in:
parent
90b1d4d8ab
commit
0ed17ccca2
|
@ -15,7 +15,8 @@ To build synergy from the sources you'll need the following:
|
||||||
<ul>
|
<ul>
|
||||||
<li>Windows
|
<li>Windows
|
||||||
<ul>
|
<ul>
|
||||||
<li>VC++ 6.0 or up
|
<li>Microsoft Windows SDK for Vista; or
|
||||||
|
<li>VC++ 6.0 or up should work
|
||||||
</ul>
|
</ul>
|
||||||
</p><p>
|
</p><p>
|
||||||
<li>Unix
|
<li>Unix
|
||||||
|
@ -26,14 +27,14 @@ To build synergy from the sources you'll need the following:
|
||||||
</p><p>
|
</p><p>
|
||||||
<li>Mac OS X
|
<li>Mac OS X
|
||||||
<ul>
|
<ul>
|
||||||
<li>XCode; or gcc 2.95 or up
|
<li>gcc 2.95 or up
|
||||||
<li>Carbon development headers and libraries
|
<li>Carbon development headers and libraries
|
||||||
</ul>
|
</ul>
|
||||||
</ul>
|
</ul>
|
||||||
</p><p>
|
</p><p>
|
||||||
</p><h3>Configuring the build</h3><p>
|
</p><h3>Configuring the build</h3><p>
|
||||||
</p><p>
|
</p><p>
|
||||||
This step is not necessary when using VC++ or XCode.
|
This step is not necessary on Windows.
|
||||||
</p><p>
|
</p><p>
|
||||||
To configure the build for your platform use the configure script:
|
To configure the build for your platform use the configure script:
|
||||||
<pre>
|
<pre>
|
||||||
|
@ -52,14 +53,17 @@ so synergy can find the X11 includes and libraries.
|
||||||
</p><h3>Building</h3><p>
|
</p><h3>Building</h3><p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Windows
|
<li>Windows
|
||||||
</p><p>
|
<p>
|
||||||
Start VC++ and open <span class="code">synergy.dsw</span>. Set the
|
Open a command prompt window (cmd.exe or command.exe). If necessary
|
||||||
active configuration (Build > Set Active Configuration) to
|
run vcvars.bat, created when VC++ or Visual Studio was installed. (Use
|
||||||
<span class="code">All - Debug</span> or <span class="code">All -
|
search to find it.) It's necessary to run the file if you didn't have
|
||||||
Release</span> then build. Binaries are built into
|
the installer set up environment variables for you. Then enter:
|
||||||
<span class="code">./debug</span> or <span class="code">./build</span>.
|
<pre>
|
||||||
</p><p>
|
nmake /nologo /f nmake.mak
|
||||||
<li>Unix or Mac OS X without XCode
|
</pre>
|
||||||
|
This will build the programs into <span class="code">build\Release</span>.
|
||||||
|
</p>
|
||||||
|
<li>Unix or Mac OS X
|
||||||
</p><p>
|
</p><p>
|
||||||
Simply enter:
|
Simply enter:
|
||||||
<pre>
|
<pre>
|
||||||
|
@ -67,27 +71,24 @@ so synergy can find the X11 includes and libraries.
|
||||||
</pre>
|
</pre>
|
||||||
This will build the client and server and leave them in their
|
This will build the client and server and leave them in their
|
||||||
respective source directories.
|
respective source directories.
|
||||||
</p><p>
|
</p>
|
||||||
<li>Mac OS X with XCode
|
|
||||||
</p><p>
|
|
||||||
Start XCode and open the <span class="code">synergy.xcode</span>
|
|
||||||
project. Build the <span class="code">all</span> project using
|
|
||||||
the <span class="code">Deployment</span> flavor.
|
|
||||||
</p><p>
|
|
||||||
</ul>
|
</ul>
|
||||||
</p><p>
|
<p>
|
||||||
</p><h3>Installing</h3><p>
|
</p><h3>Installing</h3><p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Windows
|
<li>Windows
|
||||||
</p><p>
|
<p>
|
||||||
You'll need <a target="_top" href="http://nsis.sourceforge.net/">NSIS</a>, the
|
You'll need <a target="_top" href="http://nsis.sourceforge.net/">NSIS</a>,
|
||||||
Nullsoft Scriptable Install System. Build <span class="code">All -
|
the Nullsoft Scriptable Install System. As in the building on Windows
|
||||||
Release</span> then build <span class="code">Installer - Release</span>.
|
description above, enter:
|
||||||
This creates <span class="code">SynergyInstaller.exe</span> in the
|
<pre>
|
||||||
<span class="code">build</span> directory. Run this to install synergy.
|
nmake /nologo /f nmake.mak installer
|
||||||
|
</pre>
|
||||||
|
to build <span class="code">build\Release\SynergyInstaller.exe</span>. Run
|
||||||
|
this to install synergy.
|
||||||
</p><p>
|
</p><p>
|
||||||
Alternatively, you can simply copy the following files from the
|
Alternatively, you can simply copy the following files from the
|
||||||
<span class="code">debug</span> or <span class="code">build</span>
|
<span class="code">build\Release</span>
|
||||||
directory to a directory you choose (perhaps under the
|
directory to a directory you choose (perhaps under the
|
||||||
<span class="code">Program Files</span> directory):
|
<span class="code">Program Files</span> directory):
|
||||||
<ul class="code">
|
<ul class="code">
|
||||||
|
@ -96,24 +97,15 @@ so synergy can find the X11 includes and libraries.
|
||||||
<li>synergys.exe
|
<li>synergys.exe
|
||||||
<li>synrgyhk.dll
|
<li>synrgyhk.dll
|
||||||
</ul>
|
</ul>
|
||||||
</p><p>
|
</p>
|
||||||
<li>Unix or Mac OS X without XCode
|
<li>Unix or Mac OS X
|
||||||
</p><p>
|
<p>
|
||||||
<pre>
|
<pre>
|
||||||
make install
|
make install
|
||||||
</pre>
|
</pre>
|
||||||
will install the client and server into
|
will install the client and server into
|
||||||
<span class="code">/usr/local/bin</span> unless you
|
<span class="code">/usr/local/bin</span> unless you
|
||||||
specified a different directory when you ran configure.
|
specified a different directory when you ran configure.
|
||||||
</p><p>
|
|
||||||
<li>Mac OS X with XCode
|
|
||||||
</p><p>
|
|
||||||
Copy the following files from ./build to a convenient location:
|
|
||||||
</p><p>
|
|
||||||
<ul class="code">
|
|
||||||
<li>synergyc
|
|
||||||
<li>synergys
|
|
||||||
</ul>
|
|
||||||
</p>
|
</p>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue