maa: Refactor maa build system and partly implement i2c
* API headers moved to api/ * smbus file added from libi2c and kernel i2c header cleaned up * fix compilation of swig and use i2c.h header Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -16,7 +16,7 @@ include_directories(
|
||||
SET_SOURCE_FILES_PROPERTIES(maajs.i PROPERTIES CPLUSPLUS ON)
|
||||
SET_SOURCE_FILES_PROPERTIES(maajs.i PROPERTIES SWIG_FLAGS "-node")
|
||||
|
||||
SWIG_ADD_MODULE(maajs javascript maajs.i ../maa.cxx ../i2c/i2c.cxx)
|
||||
SWIG_ADD_MODULE(maajs javascript ${maa_LIB_SRCS})
|
||||
SWIG_LINK_LIBRARIES(maajs ${NODE_LIBRARIES})
|
||||
|
||||
set_target_properties(maajs PROPERTIES
|
||||
|
||||
Reference in New Issue
Block a user