File: BUILDING.win32

package info (click to toggle)
yajl 2.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,104 kB
  • sloc: ansic: 4,426; sh: 144; makefile: 25
file content (27 lines) | stat: -rw-r--r-- 1,026 bytes parent folder | download | duplicates (11)
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
YAJL has been successfully built using Visual Studio 8.  CMake, a
build file generator, is used to build the software.  CMake supports
several different build environments, so you may either build YAJL
using the IDE via the following steps:

1. acquire cmake (http://www.cmake.org)
2. mkdir build
3. cd build
4. cmake ..
5. devenv YetAnotherJSONParser.sln /project ALL_BUILD /build Release
6. build output is left in build/yajl-X.Y.Z

Or you can build from the command line using nmake:

1. Click Start > Programs > Microsoft Visual Studio > Visual Studio
Tools > Visual Studio Command Prompt -- for your version of Visual
Studio, which will open a command prompt.  You may verify that the
compiler is in your path by typing "cl /?" at the prompt.
2. cd C:\path\to\yajl\source\
3. mkdir build
4. cd build
5. cmake -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=Release ..
6. nmake
7. nmake install

Earlier versions of visual studio and other build generators haven't
been thoroughly tested, but should work without any major issues.