diff options
author | Lloyd Hilaiel <lloyd@hilaiel.com> | 2010-10-12 07:37:32 -0700 |
---|---|---|
committer | Lloyd Hilaiel <lloyd@hilaiel.com> | 2010-10-12 07:37:32 -0700 |
commit | 37aaa4fcba0d7669ddcbbfda78f1a153115e02c0 (patch) | |
tree | febb6c4a0acb07da48368b63e8d706c422cc6c79 | |
parent | d1e770838efaa76811f1cd8930d19d13b14fbc2b (diff) | |
download | yajl-37aaa4fcba0d7669ddcbbfda78f1a153115e02c0.tar.gz |
Include command line building instructions contributed by vikas kumar.
-rw-r--r-- | BUILDING.win32 | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/BUILDING.win32 b/BUILDING.win32 index 3668541..43c3539 100644 --- a/BUILDING.win32 +++ b/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. |