From e3a8259c78238da9d5e971ec0048a38a941a46b0 Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Sat, 13 Oct 2018 16:04:22 +0900 Subject: [PATCH] [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 --- CMakeLists.txt | 2 +- {common => gst/nnstreamer}/tensor_common.c | 0 {common => gst/nnstreamer}/tensor_meta.c | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename {common => gst/nnstreamer}/tensor_common.c (100%) rename {common => gst/nnstreamer}/tensor_meta.c (100%) 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 -- 2.7.4