mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Script: Discover version from code.
This commit is contained in:
parent
8a0ac8e3a1
commit
87a2ef100a
6 changed files with 42 additions and 5 deletions
|
@ -8,7 +8,7 @@
|
|||
#define SRS_CORE_HPP
|
||||
|
||||
// The version config.
|
||||
#include <srs_core_version5.hpp>
|
||||
#include <srs_core_version.hpp>
|
||||
|
||||
// The macros generated by configure script.
|
||||
#include <srs_auto_headers.hpp>
|
||||
|
|
8
trunk/src/core/srs_core_version.cpp
Normal file
8
trunk/src/core/srs_core_version.cpp
Normal file
|
@ -0,0 +1,8 @@
|
|||
//
|
||||
// Copyright (c) 2013-2022 The SRS Authors
|
||||
//
|
||||
// SPDX-License-Identifier: MIT or MulanPSL-2.0
|
||||
//
|
||||
|
||||
#include <srs_core_version.hpp>
|
||||
|
12
trunk/src/core/srs_core_version.hpp
Normal file
12
trunk/src/core/srs_core_version.hpp
Normal file
|
@ -0,0 +1,12 @@
|
|||
//
|
||||
// Copyright (c) 2013-2022 The SRS Authors
|
||||
//
|
||||
// SPDX-License-Identifier: MIT or MulanPSL-2.0
|
||||
//
|
||||
|
||||
#ifndef SRS_CORE_VERSION_HPP
|
||||
#define SRS_CORE_VERSION_HPP
|
||||
|
||||
#include <srs_core_version5.hpp>
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue