1
0
Fork 0
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:
winlin 2022-12-28 14:20:18 +08:00
parent 8a0ac8e3a1
commit 87a2ef100a
6 changed files with 42 additions and 5 deletions

View file

@ -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>

View 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>

View 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