mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
servo: update to use cmake macro for servo
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
parent
cea5816c43
commit
058c40e340
@ -1,12 +1,5 @@
|
|||||||
set (libname "servo")
|
set (libname "servo")
|
||||||
add_library (servo SHARED servo.cxx es08a.cxx)
|
set (libdescription "upm servo")
|
||||||
include_directories (${MAA_INCLUDE_DIR})
|
set (module_src servo.cxx es08a.cxx)
|
||||||
target_link_libraries (servo ${MAA_LIBRARIES})
|
set (module_h servo.h es08a.h)
|
||||||
|
upm_module_init()
|
||||||
install (TARGETS ${libname} DESTINATION lib/upm COMPONENT ${libname})
|
|
||||||
install (FILES servo.h DESTINATION include/upm COMPONENT ${libname})
|
|
||||||
|
|
||||||
if (IPK)
|
|
||||||
cpack_add_component (${libname} DISPLAY_NAME ${libname} REQUIRED INSTALL_TYPES all)
|
|
||||||
set(CPACK_COMPONENT_${libname}_DESCRIPTION "libupm servo")
|
|
||||||
endif()
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
%module jsupm_es08a
|
|
||||||
|
|
||||||
%{
|
|
||||||
#include "es08a.h"
|
|
||||||
%}
|
|
||||||
|
|
||||||
%include "es08a.h"
|
|
7
src/servo/jsupm_servo.i
Normal file
7
src/servo/jsupm_servo.i
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
%module jsupm_servo
|
||||||
|
|
||||||
|
%{
|
||||||
|
#include "servo.h"
|
||||||
|
%}
|
||||||
|
|
||||||
|
%include "servo.h"
|
@ -1,4 +1,4 @@
|
|||||||
%module pyupm_es08a
|
%module pyupm_servo
|
||||||
|
|
||||||
%feature("autodoc", "3");
|
%feature("autodoc", "3");
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user