From: 박천교/On-Device Lab(SR)/Engineer/삼성전자 Date: Thu, 5 Dec 2019 09:57:47 +0000 (+0900) Subject: [encodump] Build only when prepared (#9406) X-Git-Tag: accepted/tizen/unified/20191209.144032~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f372cc269a7a8d30bf73342c8da1545dc3aee61;p=platform%2Fcore%2Fml%2Fnnfw.git [encodump] Build only when prepared (#9406) This commit amends encodump build policy: encodump will not be built when its dependency not built. Signed-off-by: Cheongyo Bahk --- diff --git a/compiler/encodump/CMakeLists.txt b/compiler/encodump/CMakeLists.txt index 10f3e0d..58fe17a 100644 --- a/compiler/encodump/CMakeLists.txt +++ b/compiler/encodump/CMakeLists.txt @@ -1,3 +1,11 @@ +if(NOT TARGET enco_intf_frontend) + return() +endif(NOT TARGET enco_intf_frontend) + +if(NOT TARGET enco_core) + return() +endif(NOT TARGET enco_core) + file(GLOB_RECURSE SOURCES "src/*.cpp") add_executable(encodump ${SOURCES})