-
Notifications
You must be signed in to change notification settings - Fork 3
Building: CentOS 7
Craig Minihan edited this page Dec 9, 2016
·
6 revisions
To build on CentOS 7 you should run the following script to install the required packages:
yum -y install curl
yum -y install gcc-c++ make autoconf autoconf213 git
yum -y install ruby
yum -y install lcov
yum -y install valgrind
yum -y install python-develIf you want to build the GTK+ example then you should also install gtkmm:
yum -y install gtkmm30-develOnce you have the correct packages you can clone the repository and build the library:
git clone --recursive https://github.com/RipcordSoftware/libjsapi.git
cd libjsapi
makeThe make process will download SpiderMonkey and gtest 1.7. These projects will be built before libjsapi and are installed into the externals/installed directory under the source root directory.
To run tests and generate a coverage report execute:
make test && ./coverage.shThe coverage output will appear in the coverage sub-directory.