Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Include command line building instructions contributed by vikas kumar.

  • Loading branch information...
commit 37aaa4fcba0d7669ddcbbfda78f1a153115e02c0 1 parent d1e7708
@lloyd authored
Showing with 15 additions and 2 deletions.
  1. +15 −2 BUILDING.win32
View
17 BUILDING.win32
@@ -1,5 +1,6 @@
-YAJL has been successfully built using Visual Studio 8. CMake is used to
-build the software and by specifying a generator explicitly at cmake:
+YAJL has been successfully built using Visual Studio 8. CMake, a build file
+generator, is used to build the software. CMake provides different build-file
+generators, so you may either build using the IDE via the following steps:
1. acquire cmake (http://www.cmake.org)
2. mkdir build
@@ -8,5 +9,17 @@ build the software and by specifying a generator explicitly at 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 have not been tested, but should
work without any major issues.
Please sign in to comment.
Something went wrong with that request. Please try again.