This is a fork of YAJL 2 (https://github.com/lloyd/yajl). It maily aims at better platform building support.
The following are cmake building options:
DISABLE_DOCS
: Disable building docsDISABLE_TESTS
: Disable building tests and examplesDISABLE_TOOLS
: Disable building toolsDISABLE_STATIC
: Disable building staticDISABLE_SHARED
: Disable building sharedDISABLE_SO_VERSION
: Disable so version
You can also get them by
cd yajl
cmake -LH
sudo apt-get install -y cmake
cd yajl
cmake -G"Unix Makefiles"
make
sudo yum install -y cmake
cd yajl
cmake -G"Unix Makefiles"
make
Please get CMake RPM (http://www.perzl.org/aix/index.php?n=Main.Cmake)
cd yajl
cmake -G"Unix Makefiles"
make
Please get CMake (http://www.cmake.org)
cmake -G"NMake Makefiles"
nmake
or
cmake -G"Visual Studio 10"
sudo apt-get install -y build-essential cmake doxygen
cd yajl
dpkg-buildpackage -us -uc -rfakeroot
sudo yum install -y cmake doxygen
cd yajl
git archive --prefix=yajl-2.0.5/ | bzip2 -9 > `rpm -E %{_topdir}`/yajl-2.0.5.tar.bz2
rpmbuild -ba yajl.spec
Additionally, you can build YAJL i686 rpm on x86_64 platform as
CC="gcc -m32" rpmbuild -ba --target=i686 yajl.spec
Please get CMake RPM (http://www.perzl.org/aix/index.php?n=Main.Cmake)
cd yajl
git archive --prefix=yajl-2.0.5/ | bzip2 -9 > `rpm -E %{_topdir}`/yajl-2.0.5.tar.bz2
rpmbuild -ba yajl.spec
Additionally, you can build YAJL ppc64 rpm as
CC="gcc -maix64" rpmbuild -ba --target=ppc64 yajl.spec