cmake: rename some so files to keep a consistent naming rule
authorSangjung woo <sangjung.woo@samsung.com>
Tue, 18 Sep 2018 22:32:01 +0000 (07:32 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Wed, 19 Sep 2018 01:46:29 +0000 (10:46 +0900)
Some generated so files use an underscore between `libtensor' and
element name but others do not use it. To keep a consistent naming rule
in so files, this patch uses an underscore.

Signed-off-by: Sangjung woo <sangjung.woo@samsung.com>
gst/tensor_decoder/CMakeLists.txt
gst/tensor_demux/CMakeLists.txt
gst/tensor_mux/CMakeLists.txt
gst/tensor_split/CMakeLists.txt

index d63b77d..0770549 100644 (file)
@@ -1,14 +1,14 @@
-ADD_LIBRARY(tensordec SHARED tensordec.c)
-ADD_LIBRARY(tensordecStatic STATIC tensordec.c)
+ADD_LIBRARY(tensor_dec SHARED tensordec.c)
+ADD_LIBRARY(tensor_decStatic STATIC tensordec.c)
 
-TARGET_LINK_LIBRARIES(tensordec ${pkgs_LIBRARIES})
-TARGET_INCLUDE_DIRECTORIES(tensordec PUBLIC ${pkgs_INCLUDE_DIRS})
-TARGET_COMPILE_OPTIONS(tensordec PUBLIC ${pkgs_CFLAGS_OTHER})
-TARGET_LINK_LIBRARIES(tensordecStatic ${pkgs_LIBRARIES})
-TARGET_INCLUDE_DIRECTORIES(tensordecStatic PUBLIC ${pkgs_INCLUDE_DIRS})
-TARGET_COMPILE_OPTIONS(tensordecStatic PUBLIC ${pkgs_CFLAGS_OTHER})
+TARGET_LINK_LIBRARIES(tensor_dec ${pkgs_LIBRARIES})
+TARGET_INCLUDE_DIRECTORIES(tensor_dec PUBLIC ${pkgs_INCLUDE_DIRS})
+TARGET_COMPILE_OPTIONS(tensor_dec PUBLIC ${pkgs_CFLAGS_OTHER})
+TARGET_LINK_LIBRARIES(tensor_decStatic ${pkgs_LIBRARIES})
+TARGET_INCLUDE_DIRECTORIES(tensor_decStatic PUBLIC ${pkgs_INCLUDE_DIRS})
+TARGET_COMPILE_OPTIONS(tensor_decStatic PUBLIC ${pkgs_CFLAGS_OTHER})
 
-INSTALL(TARGETS tensordec tensordecStatic
+INSTALL(TARGETS tensor_dec tensor_decStatic
        RUNTIME DESTINATION ${EXEC_PREFIX}
        LIBRARY DESTINATION ${GST_INSTALL_DIR}
        ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
index 9065675..4d18bf9 100644 (file)
@@ -1,14 +1,14 @@
-ADD_LIBRARY(tensordemux SHARED gsttensordemux.c )
-ADD_LIBRARY(tensordemuxStatic STATIC gsttensordemux.c)
+ADD_LIBRARY(tensor_demux SHARED gsttensordemux.c )
+ADD_LIBRARY(tensor_demuxStatic STATIC gsttensordemux.c)
 
-TARGET_LINK_LIBRARIES(tensordemux ${pkgs_LIBRARIES})
-TARGET_INCLUDE_DIRECTORIES(tensordemux PUBLIC ${pkgs_INCLUDE_DIRS})
-TARGET_COMPILE_OPTIONS(tensordemux PUBLIC ${pkgs_CFLAGS_OTHER})
-TARGET_LINK_LIBRARIES(tensordemuxStatic ${pkgs_LIBRARIES})
-TARGET_INCLUDE_DIRECTORIES(tensordemuxStatic PUBLIC ${pkgs_INCLUDE_DIRS})
-TARGET_COMPILE_OPTIONS(tensordemuxStatic PUBLIC ${pkgs_CFLAGS_OTHER})
+TARGET_LINK_LIBRARIES(tensor_demux ${pkgs_LIBRARIES})
+TARGET_INCLUDE_DIRECTORIES(tensor_demux PUBLIC ${pkgs_INCLUDE_DIRS})
+TARGET_COMPILE_OPTIONS(tensor_demux PUBLIC ${pkgs_CFLAGS_OTHER})
+TARGET_LINK_LIBRARIES(tensor_demuxStatic ${pkgs_LIBRARIES})
+TARGET_INCLUDE_DIRECTORIES(tensor_demuxStatic PUBLIC ${pkgs_INCLUDE_DIRS})
+TARGET_COMPILE_OPTIONS(tensor_demuxStatic PUBLIC ${pkgs_CFLAGS_OTHER})
 
-INSTALL(TARGETS tensordemux tensordemuxStatic
+INSTALL(TARGETS tensor_demux tensor_demuxStatic
        RUNTIME DESTINATION ${EXEC_PREFIX}
        LIBRARY DESTINATION ${GST_INSTALL_DIR}
        ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
index 4e6beb3..e5e26d3 100644 (file)
@@ -1,14 +1,14 @@
-ADD_LIBRARY(tensormux SHARED gsttensormux.c )
-ADD_LIBRARY(tensormuxStatic STATIC gsttensormux.c)
+ADD_LIBRARY(tensor_mux SHARED gsttensormux.c )
+ADD_LIBRARY(tensor_muxStatic STATIC gsttensormux.c)
 
-TARGET_LINK_LIBRARIES(tensormux ${pkgs_LIBRARIES})
-TARGET_INCLUDE_DIRECTORIES(tensormux PUBLIC ${pkgs_INCLUDE_DIRS})
-TARGET_COMPILE_OPTIONS(tensormux PUBLIC ${pkgs_CFLAGS_OTHER})
-TARGET_LINK_LIBRARIES(tensormuxStatic ${pkgs_LIBRARIES})
-TARGET_INCLUDE_DIRECTORIES(tensormuxStatic PUBLIC ${pkgs_INCLUDE_DIRS})
-TARGET_COMPILE_OPTIONS(tensormuxStatic PUBLIC ${pkgs_CFLAGS_OTHER})
+TARGET_LINK_LIBRARIES(tensor_mux ${pkgs_LIBRARIES})
+TARGET_INCLUDE_DIRECTORIES(tensor_mux PUBLIC ${pkgs_INCLUDE_DIRS})
+TARGET_COMPILE_OPTIONS(tensor_mux PUBLIC ${pkgs_CFLAGS_OTHER})
+TARGET_LINK_LIBRARIES(tensor_muxStatic ${pkgs_LIBRARIES})
+TARGET_INCLUDE_DIRECTORIES(tensor_muxStatic PUBLIC ${pkgs_INCLUDE_DIRS})
+TARGET_COMPILE_OPTIONS(tensor_muxStatic PUBLIC ${pkgs_CFLAGS_OTHER})
 
-INSTALL(TARGETS tensormux tensormuxStatic
+INSTALL(TARGETS tensor_mux tensor_muxStatic
        RUNTIME DESTINATION ${EXEC_PREFIX}
        LIBRARY DESTINATION ${GST_INSTALL_DIR}
        ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
index c7edb78..43ed4a5 100644 (file)
@@ -1,14 +1,14 @@
-ADD_LIBRARY(tensorsplit SHARED gsttensorsplit.c )
-ADD_LIBRARY(tensorsplitStatic STATIC gsttensorsplit.c)
+ADD_LIBRARY(tensor_split SHARED gsttensorsplit.c )
+ADD_LIBRARY(tensor_splitStatic STATIC gsttensorsplit.c)
 
-TARGET_LINK_LIBRARIES(tensorsplit ${pkgs_LIBRARIES})
-TARGET_INCLUDE_DIRECTORIES(tensorsplit PUBLIC ${pkgs_INCLUDE_DIRS})
-TARGET_COMPILE_OPTIONS(tensorsplit PUBLIC ${pkgs_CFLAGS_OTHER})
-TARGET_LINK_LIBRARIES(tensorsplitStatic ${pkgs_LIBRARIES})
-TARGET_INCLUDE_DIRECTORIES(tensorsplitStatic PUBLIC ${pkgs_INCLUDE_DIRS})
-TARGET_COMPILE_OPTIONS(tensorsplitStatic PUBLIC ${pkgs_CFLAGS_OTHER})
+TARGET_LINK_LIBRARIES(tensor_split ${pkgs_LIBRARIES})
+TARGET_INCLUDE_DIRECTORIES(tensor_split PUBLIC ${pkgs_INCLUDE_DIRS})
+TARGET_COMPILE_OPTIONS(tensor_split PUBLIC ${pkgs_CFLAGS_OTHER})
+TARGET_LINK_LIBRARIES(tensor_splitStatic ${pkgs_LIBRARIES})
+TARGET_INCLUDE_DIRECTORIES(tensor_splitStatic PUBLIC ${pkgs_INCLUDE_DIRS})
+TARGET_COMPILE_OPTIONS(tensor_splitStatic PUBLIC ${pkgs_CFLAGS_OTHER})
 
-INSTALL(TARGETS tensorsplit tensorsplitStatic
+INSTALL(TARGETS tensor_split tensor_splitStatic
        RUNTIME DESTINATION ${EXEC_PREFIX}
        LIBRARY DESTINATION ${GST_INSTALL_DIR}
        ARCHIVE DESTINATION ${LIB_INSTALL_DIR}