... | ... | @@ -26,4 +26,53 @@ This procedure applies to versions since 2.2.0.2. |
|
|
|
|
|
## Compiling Using Cmake
|
|
|
|
|
|
This procedure applies to version prior to 2.2.0.2. |
|
|
\ No newline at end of file |
|
|
This procedure applies to version prior to 2.2.0.2.
|
|
|
|
|
|
Built add-ons are created in the packages directory.
|
|
|
|
|
|
### Building the extension for Mozilla Firefox, Google Chrome (Chromium) and Opera:
|
|
|
|
|
|
* For compilation on **Linux**-based systems run:
|
|
|
``` shell
|
|
|
cmake .
|
|
|
make
|
|
|
```
|
|
|
|
|
|
* For compilation on **OS X** execute:
|
|
|
``` shell
|
|
|
cmake -DTARGET_ARCH=x86_64 .
|
|
|
(cmake -DTARGET_ARCH=i386 .)
|
|
|
make
|
|
|
```
|
|
|
|
|
|
* For compilation on **BSD**-flavoured systems (tested on FreeBSD):
|
|
|
``` shell
|
|
|
cmake .
|
|
|
gmake
|
|
|
```
|
|
|
|
|
|
* To create a Windows version on Linux with MinGW32:
|
|
|
``` shell
|
|
|
make -f Makefile.libwin
|
|
|
make -f Makefile.win
|
|
|
make -f Makefile.win xpi_x86
|
|
|
```
|
|
|
|
|
|
* Clean project:
|
|
|
``` shell
|
|
|
make -f Makefile.main clean
|
|
|
```
|
|
|
|
|
|
### Building the extension for Internet Explorer:
|
|
|
|
|
|
* See build info in the GIT (add-on/ie) for more details. (MS Visual Studio is required.)
|
|
|
|
|
|
### Building the extension for Safari:
|
|
|
|
|
|
* On **OS X** execute:
|
|
|
``` shell
|
|
|
cmake -DTARGET_ARCH=x86_64 .
|
|
|
(cmake -DTARGET_ARCH=i386 .)
|
|
|
make
|
|
|
```
|
|
|
Run Safari. Load safari.extension folder into Safari Extesion Builder and build it. Then install extension package via Safari Extension Manager. |
|
|
\ No newline at end of file |