hunting/README.md
2024-05-04 09:56:22 -07:00

36 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 1. README
## 1.1. 概述
  基于IPC领域产品的SDK工程。
阅读小技巧:
* 本工程所有文档描述路径时,"//"双斜杠表示工程根目录;
## 1.2. 编译
  架构设计上支持去平台编译和运行本仓库源码可仿真运行在ubuntu系统。
### 1.2.1. Ubuntu系统
在项目根目录下执行命令:
```
make clean // 如果之前有跨平台编译过需要先make clean
make cmake // 构建源码生成Makefile文件
cd cmake-shell/ // 在中间文件目录进行编译,把所有中间文件创建在此目录
make // 编译全部输出构建文件
```
### 1.2.2. 交叉编译
参考:
```
//build/cmake/toolchain/linux.toolchain.cmake
//Makefile
```
  参考上述文件新建一份配置文件建议不要修改原文档新建一个交叉编译工程把IPC SDK工程作为子仓库进行git管理维护SDK的绝对跨平台属性。
  交叉编译请参考基于IPC SDK作为子仓库的工程配置此处忽略。