blob: 0d9ea01514913f6e411e558d2c8a681c30f96539 (
plain)
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
|
Building on Windows
-------------------
* Any Visual Studio compiler should do fine
* gengetopt: easiest is to install Cygwin and build your own version,
we just need the gengetopt.exe binary to generate the command line parser.
Alternatively you can build the *_cmdline.* files on Unix and copy them
to Windows:
# open a Cygwin shell
./configure --prefix=/usr/local/bin
make
make install
* confuse:
# Download the ZIP version
# Open windows\msvs.net.sln
# Choose Debug/Release
# eventually convert the solutions
# build
# create layout with bin, lib, include
# copy dlls into bin, libs into lib, *.h into include
* pthreads-win32: for pthread emulation on Windows
# open a Visual Studio Command line
nmake clean vc-inlined-debug
* nanomsg:
# Install cmake for Windows
# open a Visual Studio Command line
C:\Program Files\CMake\bin\cmake.exe .
# Open nanomsg.sln
# Choose Debug/Release
# Build the solution
# create layout with bin, lib, include
# copy dlls into bin, libs into lib, *.h into include
* json-c:
# Open and convert json-c.vcproj
copy config.h.win32 config.h
copy json_config.h.in json_config.h
# Choose Debug/Release
# eventually convert the solutions
# build
* biruda
# open a Visual Studio Command line
set PATH=%PATH%;c:\cygwin\bin
nmake /f NMakefile
|