visio 设计

1.上下文

 

 

2.应用架构

 3.技术架构

 

4.实现业务逻辑

 

 5.时序图:

 

 

 6概要设计:(vis图分章加文字说明)

 

 

7.详细设计(功能分块,文字描述逻辑实现)

 

 8.工程代码结构设计

null

 cmake工程:

 

 

cmake_minimum_required(VERSION 3.8)

##################PROJECT part#############################################
#set dir path
SET(TOP_PATH ${CMAKE_SOURCE_DIR})
SET(BUILD_PATH ${CMAKE_CURRENT_BINARY_DIR})


project(ACEServer LANGUAGES C CXX )

add_definitions(-std=c++11)
SET(CMAKE_POSITION_INDEPENDENT_CODE ON)
SET(CMAKE_CXX_FLAGS "-g -O0 -Wno-deprecated-declarations -fPIC -fvisibility=hidden")

##################Library part#############################################
include_directories(${TOP_PATH}/include)
include_directories(${TOP_PATH}/src)
#include_directories(${TOP_PATH}/thirdparty/**)
#include_directories(/home/app4/workspace/third_project/ACE)

link_directories(${TOP_PATH}/lib)

FILE(GLOB DIR_SRC ${TOP_PATH}/src/*.cpp ${TOP_PATH}/src/*.cu ${TOP_PATH}/src/*.c)

SET(EXECUTABLE_OUTPUT_PATH ${TOP_PATH}/bin)

##build SO
#add_library(ACEServer SHARED ${DIR_SRC})
##build program
add_executable(ACEServer ${DIR_SRC})
#add_executable(ACEServer ${TOP_PATH}/src/ACE_Server.cpp)
#ACE_Server

#target_include_directories()
target_link_libraries(ACEServer -pthread -lACE -lrt -lASRDecoderSDK -lTitCppKits)

##################test program part#############################################
if(BUILD_TESTS)
message(STATUS "BUILD " ${PROJECT_NAME} " ttsTestMain")
add_subdirectory(test)
#aux_source_directory(${TOP_PATH}/test DIR_TESTMAIN)
#add_executable(ttsTestMain ${DIR_TESTMAIN} )
#target_link_libraries(ttsTestMain )
endif()

 

posted @ 2021-01-20 15:03  小菜77  阅读(194)  评论(0编辑  收藏  举报