mirror of
https://github.com/ossrs/srs.git
synced 2025-02-14 20:31:56 +00:00
add srs module rule.
This commit is contained in:
parent
f31412db21
commit
aaf87cf3d9
1 changed files with 10 additions and 0 deletions
10
trunk/modules/readme.txt
Normal file
10
trunk/modules/readme.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
SRS模块规则:
|
||||
1. 一个模块一个目录
|
||||
2. 目录下放一个config文件
|
||||
3. 所有的configure中的变量模块中可以使用
|
||||
|
||||
模块中需要定义变量,例如:
|
||||
1. SRS_MODULE_NAME:模块名称,用来做Makefile的phony以及执行binary文件名。
|
||||
2. SRS_MODULE_MAIN:模块的main函数所在的cpp文件,在src/main目录。
|
||||
|
||||
winlin, 2015.3
|
Loading…
Reference in a new issue