INACTIVE - Native event generation for Firefox and Thunderbird
Перейти к файлу
ahal 9edf535176 Try and make the ifdefs more sane 2011-04-15 11:37:46 -07:00
common Try and make the ifdefs more sane 2011-04-15 11:37:46 -07:00
js Testing out building on windows 2011-04-14 00:28:31 -07:00
linux Try and make the ifdefs more sane 2011-04-15 11:37:46 -07:00
windows Try and make the ifdefs more sane 2011-04-15 11:37:46 -07:00
Makefile Refactor directory structure and add keypress events 2011-04-13 12:03:36 -07:00
README.txt Testing out building on windows 2011-04-14 00:28:31 -07:00
SConstruct Testing out building on windows 2011-04-14 00:28:31 -07:00
gitignore Add gitignore and remove accidental object 2011-04-15 09:23:11 -07:00
native_events.c Try and make the ifdefs more sane 2011-04-15 11:37:46 -07:00
native_events.h Try and make the ifdefs more sane 2011-04-15 11:37:46 -07:00

README.txt

This is a little native events c library that can be called from JS using
JS ctypes.  In order to build the library, you need to install
scons: http://www.scons.org/doc/production/HTML/scons-user.html#chap-build-install

Then, in this directory type:
scons

= Windows =
In Windows you can either build it with an msys shell (powered by mozilla-build) or
you can run it using a visual studio command prompt (found in the start menu beneath the
visual studio folder).  You'll need to have python installed and scons installed
into that python either through virutalenv or into sitepackages.

== Fun Hat Trick ==
If you're on Windows and you need to run in the visual studio command line for
some reason (perhaps you're hacking on build stuff and are worried about '/' versus
'\'.  Then if you installed scons into the mozilla-build/msys python environment, 
you can simply add two environment variables to the visual studio shell and "install"
it there:
> set PATH=C:\mozilla-build\python;%PATH%
> set PYTHON_HOME=C:\mozilla-build\python

= Still under construction =
This is obviously, still under construction.  More info to come.