PosturePerfection
Functions
CMakeLists.txt File Reference

Functions

 set (CMAKE_CXX_STANDARD 11) cmake_minimum_required(VERSION 3.16) project(PosturePerfection VERSION 1.0.0) if(APPLE) set(CMAKE_PREFIX_PATH "/usr/local/Cellar/") endif() if(UNIX AND NOT APPLE) set(CMAKE_CXX_LINK_FLAGS "$
 
latomic endif () add_subdirectory(gui ENABLE_EXPORTS) include_directories("$
 
src gui set (LIBSRC iir.cpp inference_core.cpp framerate_settings.cpp post_processor.cpp pre_processor.cpp posture_estimator.cpp pipeline.cpp) set(OpenCV_DIR "$
 
opencv_build find_package (OpenCV REQUIRED) if(NOT TENSORFLOW_SOURCE_DIR) get_filename_component(TENSORFLOW_SOURCE_DIR "$
 
 include_directories ("${TENSORFLOW_SOURCE_DIR}/tensorflow/lite") include_directories("$
 
 add_subdirectory ("${TENSORFLOW_SOURCE_DIR}/tensorflow/lite" "${CMAKE_CURRENT_BINARY_DIR}/tensorflow-lite" EXCLUDE_FROM_ALL) add_library(PosturePerfection_static STATIC $
 
 target_include_directories (PosturePerfection_static PUBLIC "${CMAKE_CURRENT_BINARY_DIR}/../flatbuffers/include") add_executable(PosturePerfection $
 
main cpp target_link_libraries (PosturePerfection cpptimer rt RemoteNotifyBroadcast) target_link_libraries(PosturePerfection tensorflow-lite PosturePerfection_gui $
 
 target_link_libraries (PosturePerfection ${OpenCV_LIBS}) target_include_directories(PosturePerfection PRIVATE "$
 

Function Documentation

◆ add_subdirectory()

add_subdirectory ( "${TENSORFLOW_SOURCE_DIR}/tensorflow/lite" "${CMAKE_CURRENT_BINARY_DIR}/tensorflow-lite"  EXCLUDE_FROM_ALL)

◆ endif()

tensorflow_src ABSOLUTE endif ( )

◆ find_package()

opencv_build find_package ( OpenCV  REQUIRED)

◆ include_directories()

include_directories ( "${TENSORFLOW_SOURCE_DIR}/tensorflow/lite"  )

◆ set() [1/2]

set ( CMAKE_CXX_STANDARD  11)

◆ set() [2/2]

src gui set ( LIBSRC iir.cpp inference_core.cpp framerate_settings.cpp post_processor.cpp pre_processor.cpp posture_estimator.cpp pipeline.  cpp)

◆ target_include_directories()

target_include_directories ( PosturePerfection_static PUBLIC "${CMAKE_CURRENT_BINARY_DIR}/../flatbuffers/include"  )

◆ target_link_libraries() [1/2]

target_link_libraries ( PosturePerfection ${OpenCV_LIBS}  )

◆ target_link_libraries() [2/2]

main cpp target_link_libraries ( PosturePerfection cpptimer rt  RemoteNotifyBroadcast)