1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +00:00
srs/trunk/modules/readme.txt
2015-03-23 17:49:45 +08:00

12 lines
491 B
Text
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.

SRS模块规则
1. 一个模块一个目录
2. 目录下放一个config文件
3. 所有的configure中的变量模块中可以使用
模块中需要定义变量,例如:
1. SRS_MODULE_NAME模块名称用来做Makefile的phony以及执行binary文件名。
2. SRS_MODULE_MAIN模块的main函数所在的cpp文件在src/main目录。
3. SRS_MODULE_APP模块在src/app目录的源文件列表。
4. SRS_MODULE_DEFINES: 模块编译时的额外宏定义。
winlin, 2015.3