Skip to content
kylehuff edited this page Oct 8, 2012 · 4 revisions

Setting up the Environment to compile on Linux

Requirements

  • cmake

Clone the webpg-npapi repository

git clone git://github.com/kylehuff/webpg-npapi.git

Building the plugin

Initialize the submodule(s)

git submodule update --recursive --init

Create the project using the prep script(s)

./firebreath/prepmake.sh webpgPlugin build

Move to the build directory and build the plugin

cmake --build build --config MinSizeRel --target webpgPlugin

Move/link the plugin file to where the browser can find it

The plugin file can be found in the directory: build/bin/webpgPlugin/npwebpgPlugin.so