From 301aa3eb3fe00623d61907e93d0a412f984ec082 Mon Sep 17 00:00:00 2001 From: Ammar Qammaz Date: Thu, 18 Nov 2021 13:11:06 +0200 Subject: [PATCH] adding a BVH Template mini utility.. --- CMakeLists.txt | 1 + src/MocapNET2/BVHTemplate/CMakeLists.txt | 16 ++++++++++++++++ src/MocapNET2/BVHTemplate/main.c | 0 3 files changed, 17 insertions(+) create mode 100644 src/MocapNET2/BVHTemplate/CMakeLists.txt create mode 100644 src/MocapNET2/BVHTemplate/main.c diff --git a/CMakeLists.txt b/CMakeLists.txt index ac2d43f..3167c06 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -354,6 +354,7 @@ add_subdirectory(src/MocapNET2/BVHGUI2) add_subdirectory(src/MocapNET2/MocapNET2LiveWebcamDemo) ENDIF(OpenCV_FOUND) +#add_subdirectory(src/MocapNET2/BVHTemplate/) add_subdirectory(src/MocapNET2/MocapNETLib2/) add_subdirectory(src/MocapNET2/MocapNETFromCSV/) add_subdirectory(src/MocapNET2/Converters/Openpose) diff --git a/src/MocapNET2/BVHTemplate/CMakeLists.txt b/src/MocapNET2/BVHTemplate/CMakeLists.txt new file mode 100644 index 0000000..6a69281 --- /dev/null +++ b/src/MocapNET2/BVHTemplate/CMakeLists.txt @@ -0,0 +1,16 @@ +project( BVHTemplate ) +cmake_minimum_required( VERSION 2.8.7 ) +set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/modules ${CMAKE_MODULE_PATH}) + + +add_executable(BVHTemplate main.c ${BVH_SOURCE} ) + +target_link_libraries(BVHTemplate rt m pthread ) +#add_dependencies(BVHTemplate OGLRendererSandbox) + + +set_target_properties(BVHTemplate PROPERTIES + ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}" + LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}" + RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}" + ) diff --git a/src/MocapNET2/BVHTemplate/main.c b/src/MocapNET2/BVHTemplate/main.c new file mode 100644 index 0000000..e69de29