1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

add cmakelists.txt for cmake for clion of jetbrains. 0.9.214

This commit is contained in:
winlin 2014-09-26 11:05:45 +08:00
parent 83f266b9e2
commit 2d7f5ddcbf
3 changed files with 59 additions and 5 deletions

View file

@ -55,7 +55,10 @@ ISrsThreadContext* _srs_context = new SrsThreadContext();
SrsConfig* _srs_config = new SrsConfig();
SrsServer* _srs_server = new SrsServer();
void show_features()
/**
* show the features by macro, the actual macro values.
*/
void show_macro_features()
{
#ifdef SRS_AUTO_SSL
srs_trace("rtmp handshake: on");
@ -130,11 +133,13 @@ void show_features()
#endif
}
// main entrance.
/**
* main entrance.
*/
int main(int argc, char** argv)
{
int ret = ERROR_SUCCESS;
// TODO: support both little and big endian.
srs_assert(srs_is_little_endian());
@ -180,7 +185,7 @@ int main(int argc, char** argv)
srs_trace("conf: %s, limit: %d", _srs_config->config().c_str(), _srs_config->get_max_connections());
// features
show_features();
show_macro_features();
/**
* we do nothing in the constructor of server,