Remove "nncc_core" target (#3114)
author박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Tue, 26 Mar 2019 08:24:38 +0000 (17:24 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 26 Mar 2019 08:24:38 +0000 (17:24 +0900)
This commit removes "nncc_core" target from CMake script.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/angkor/CMakeLists.txt

index c67aab2..75202ce 100644 (file)
@@ -3,14 +3,11 @@ file(GLOB_RECURSE SOURCES "src/*.cpp")
 file(GLOB_RECURSE TESTS "src/*.test.cpp")
 list(REMOVE_ITEM SOURCES ${TESTS})
 
-# NOTE STATIC is deliberately used here to allow clients to use 'nncc_core' without installation
-# TODO Remove nncc_core target
-add_nncc_library(nncc_core STATIC ${HEADERS} ${SOURCES})
-set_target_properties(nncc_core PROPERTIES POSITION_INDEPENDENT_CODE ON)
-set_target_properties(nncc_core PROPERTIES LINKER_LANGUAGE CXX)
-target_include_directories(nncc_core PUBLIC include)
+# NOTE STATIC is deliberately used here to allow clients to use 'angkor' without installation
+add_nncc_library(angkor STATIC ${HEADERS} ${SOURCES})
+set_target_properties(angkor PROPERTIES POSITION_INDEPENDENT_CODE ON)
+set_target_properties(angkor PROPERTIES LINKER_LANGUAGE CXX)
+target_include_directories(angkor PUBLIC include)
 
-add_nncc_test(nncc_core_test ${TESTS})
-nncc_target_link_libraries(nncc_core_test nncc_core)
-
-add_library(angkor ALIAS nncc_core)
+add_nncc_test(angkor_test ${TESTS})
+nncc_target_link_libraries(angkor_test angkor)