Private
Public Access
2
0
Files
mraa/src/javascript/binding.gyp.cmake

31 lines
740 B
CMake
Raw Normal View History

{
'targets': [
{
'target_name': 'mraa',
'sources': [
@mraa_LIB_SRCS_GYP@
'src/version.c',
'src/mraajsJAVASCRIPT_wrap.cxx' ],
'include_dirs': [
@mraa_LIB_INCLUDE_DIRS_GYP@
],
'cflags_cc!': [ '-fno-rtti', '-fno-exceptions' ],
'cflags!': [ '-fno-exceptions' ],
'defines' : [ 'SWIG',
'SWIGNODE',
'BUILDING_NODE_EXTENSION=1' ],
'conditions' : [
[ 'target_arch=="x64"',
{ 'defines' : [ 'X86PLAT=ON' ], },
],
[ 'target_arch=="ia32"',
{ 'defines' : [ 'X86PLAT=ON' ], },
],
[ 'target_arch=="arm"',
{ 'defines' : [ 'ARMPLAT=ON' ], },
],
],
}
]
}