Skip to content

Building on windows

kylehuff edited this page Oct 8, 2012 · 3 revisions

Setting up the Environment to compile on Windows

Requirements

Build the plugin

  1. Navigate to the webpg-npapi directory and execute:

    1.1 For Visual Studio 2008:

     firebreath\prep2008.cmd . build
    

    1.2 For Visual Studio 2009:

     firebreath\prep2009.cmd . build
    

    1.3 For Visual Studio 2010:

     firebreath\prep2010.cmd . build
    
  2. Navigate to the newly created build directory and execute:

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

The plugin is now built, and should be found in build\bin\webpgPlugin\MinSizeRel\npwebpgPlugin.dll