Skip to content

Instantly share code, notes, and snippets.

@arfoll
Created November 23, 2014 18:03
Show Gist options
  • Select an option

  • Save arfoll/f0adb366725d0b538307 to your computer and use it in GitHub Desktop.

Select an option

Save arfoll/f0adb366725d0b538307 to your computer and use it in GitHub Desktop.

Revisions

  1. arfoll created this gist Nov 23, 2014.
    20 changes: 20 additions & 0 deletions binding.gyp
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    {
    'targets': [
    {
    'target_name': 'mraa',
    'sources': [ '../src/mraa.c',
    '../src/gpio/gpio.c',
    '../src/aio/aio.c',
    '../src/i2c/i2c.c',
    '../src/pwm/pwm.c',
    '../src/spi/spi.c',
    '../src/uart/uart.c',
    'mraajsJAVASCRIPT_wrap.cxx' ],
    'include_dirs': [ '/home/brendan/git/mraa/api/mraa',
    '/home/brendan/git/mraa/include',
    '/home/brendan/git/mraa/api' ],
    'cflags_cc!': [ '-fno-rtti', '-fno-exceptions' ],
    'cflags!': [ '-fno-exceptions' ],
    }
    ]
    }