From: 박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 Date: Fri, 5 Oct 2018 01:07:47 +0000 (+0900) Subject: [nnkit] Remove unused macros (#1752) X-Git-Tag: nncc_backup~1627 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=29e6f4d6eab17b358987c4b605abf7eca9b2bad8;p=platform%2Fcore%2Fml%2Fnnfw.git [nnkit] Remove unused macros (#1752) 'nnkit_add_action' and 'nnkit_add_backend' was introduced to support self-registration, but the current design of nnkit no longer uses self-registration. Signed-off-by: Jonghyun Park --- diff --git a/contrib/nnkit/CMakeLists.txt b/contrib/nnkit/CMakeLists.txt index 120d760..558d393 100644 --- a/contrib/nnkit/CMakeLists.txt +++ b/contrib/nnkit/CMakeLists.txt @@ -1,14 +1,3 @@ -# Pass --whole-archive to linker in order to permit self-registration -macro(nnkit_add_action PREFIX) - add_library(${PREFIX} ${ARGN}) - set_property(TARGET ${PREFIX} PROPERTY INTERFACE_LINK_LIBRARIES -Wl,--whole-archive,$,--no-whole-archive) -endmacro(nnkit_add_action) - -macro(nnkit_add_backend PREFIX) - add_library(${PREFIX} ${ARGN}) - set_property(TARGET ${PREFIX} PROPERTY INTERFACE_LINK_LIBRARIES -Wl,--whole-archive,$,--no-whole-archive) -endmacro(nnkit_add_backend) - add_subdirectory(libs) add_subdirectory(backends) add_subdirectory(actions)