mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 09:21:12 +03:00
4digitdisplay: rename to tm1637
* Use new cmake macro Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
@ -1,12 +0,0 @@
|
||||
set (libname "4digitdisplay")
|
||||
add_library (4digitdisplay SHARED tm1637.cxx)
|
||||
include_directories (${MAA_INCLUDE_DIR})
|
||||
target_link_libraries (4digitdisplay ${MAA_LIBRARIES})
|
||||
|
||||
install (TARGETS ${libname} DESTINATION lib/upm COMPONENT ${libname})
|
||||
install (FILES tm1637.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 4 Digit Buzzer")
|
||||
endif()
|
4
src/tm1637/CMakeLists.txt
Normal file
4
src/tm1637/CMakeLists.txt
Normal file
@ -0,0 +1,4 @@
|
||||
set (libname "tm1637")
|
||||
set (libdescription "upm 4 digit display tm1637")
|
||||
add_library (${libname} SHARED tm1637.cxx)
|
||||
upm_module_init()
|
Reference in New Issue
Block a user