From 0ed17ccca29569cd858002ac144cd8014c87b0ff Mon Sep 17 00:00:00 2001
From: crs23
-
-This step is not necessary when using VC++ or XCode. +This step is not necessary on Windows.
To configure the build for your platform use the configure script:
@@ -52,14 +53,17 @@ so synergy can find the X11 includes and libraries.Building
- Start VC++ and open synergy.dsw. Set the - active configuration (Build > Set Active Configuration) to - All - Debug or All - - Release then build. Binaries are built into - ./debug or ./build. -
-
+ Open a command prompt window (cmd.exe or command.exe). If necessary + run vcvars.bat, created when VC++ or Visual Studio was installed. (Use + search to find it.) It's necessary to run the file if you didn't have + the installer set up environment variables for you. Then enter: +
+ nmake /nologo /f nmake.mak ++ This will build the programs into build\Release. + +
Simply enter:
@@ -67,27 +71,24 @@ so synergy can find the X11 includes and libraries.This will build the client and server and leave them in their respective source directories. -
-
- Start XCode and open the synergy.xcode - project. Build the all project using - the Deployment flavor. -
+
+
- You'll need NSIS, the - Nullsoft Scriptable Install System. Build All - - Release then build Installer - Release. - This creates SynergyInstaller.exe in the - build directory. Run this to install synergy. +
+ You'll need NSIS, + the Nullsoft Scriptable Install System. As in the building on Windows + description above, enter: +
+ nmake /nologo /f nmake.mak installer ++ to build build\Release\SynergyInstaller.exe. Run + this to install synergy.
Alternatively, you can simply copy the following files from the - debug or build + build\Release directory to a directory you choose (perhaps under the Program Files directory):
-
+
+
make installwill install the client and server into /usr/local/bin unless you specified a different directory when you ran configure. -
-
- Copy the following files from ./build to a convenient location: -
-