From: MyungJoo Ham Date: Sat, 13 Oct 2018 07:04:22 +0000 (+0900) Subject: [Common] move common c files to gst/nnstreamer X-Git-Tag: v0.0.2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3a8259c78238da9d5e971ec0048a38a941a46b0;p=platform%2Fupstream%2Fnnstreamer.git [Common] move common c files to gst/nnstreamer Use /common/ for common utilities, not source files Use /gst/nnstreamer/ for common source files. This will make it easier to be upstreamed to GST communities later. Signed-off-by: MyungJoo Ham --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3fec085..85d10c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,7 +84,7 @@ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Werror -fPIC -g -std= SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS} -Wall -Werror -fPIC -g -std=c++11") # Provide common data -ADD_LIBRARY(common STATIC common/tensor_common.c common/tensor_meta.c) +ADD_LIBRARY(common STATIC gst/nnstreamer/tensor_common.c gst/nnstreamer/tensor_meta.c) TARGET_LINK_LIBRARIES(common ${pkgs_LIBRARIES}) TARGET_INCLUDE_DIRECTORIES(common PUBLIC ${pkgs_INCLUDE_DIRS}) SET(pkgs_LIBRARIES ${pkgs_LIBRARIES} common) diff --git a/common/tensor_common.c b/gst/nnstreamer/tensor_common.c similarity index 100% rename from common/tensor_common.c rename to gst/nnstreamer/tensor_common.c diff --git a/common/tensor_meta.c b/gst/nnstreamer/tensor_meta.c similarity index 100% rename from common/tensor_meta.c rename to gst/nnstreamer/tensor_meta.c