CMake config - updates and fixes (#532)

* CMake Config - updates and fixes

* Version - Updates

* Changelog - updates

* Update CHANGELOG.md

Co-authored-by: spolifroni-amd <Sandra.Polifroni@amd.com>

---------

Co-authored-by: spolifroni-amd <Sandra.Polifroni@amd.com>

[ROCm/rocdecode commit: 6b026af151]
This commit is contained in:
Kiriti Gowda
2025-03-17 11:38:01 -05:00
committed by GitHub
szülő 68dee64275
commit 26a67fb210
34 fájl változott, egészen pontosan 154 új sor hozzáadva és 150 régi sor törölve
@@ -21,9 +21,9 @@ THE SOFTWARE.
*/
#pragma once
#include "rocdecode.h"
#include "rocparser.h"
#include "roc_bitstream_reader.h"
#include "rocdecode/rocdecode.h"
#include "rocdecode/rocparser.h"
#include "rocdecode/roc_bitstream_reader.h"
// Define version macros for the rocDecode API dispatch table, specifying the MAJOR and STEP versions.
//
@@ -22,7 +22,7 @@ THE SOFTWARE.
#pragma once
#include "rocdecode.h"
#include "rocdecode/rocdecode.h"
/*!
* \file
@@ -30,7 +30,6 @@ THE SOFTWARE.
#pragma once
#include "hip/hip_runtime.h"
#include "rocdecode_version.h"
/*!
* \file
@@ -22,7 +22,7 @@ THE SOFTWARE.
#pragma once
#include "rocdecode.h"
#include "rocdecode/rocdecode.h"
/*!
* \file
@@ -20,8 +20,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
#ifndef ROCDECODE_VERSION_H
#define ROCDECODE_VERSION_H
#ifndef _ROCDECODE_VERSION_H_
#define _ROCDECODE_VERSION_H_
/*!
* \file
@@ -32,12 +32,11 @@ THE SOFTWARE.
#ifdef __cplusplus
extern "C" {
#endif
/* NOTE: Match version with CMakeLists.txt */
#define ROCDECODE_MAJOR_VERSION 0
#define ROCDECODE_MINOR_VERSION 11
#define ROCDECODE_MICRO_VERSION 1
#endif /* __cplusplus */
#define ROCDECODE_MAJOR_VERSION @PROJECT_VERSION_MAJOR@
#define ROCDECODE_MINOR_VERSION @PROJECT_VERSION_MINOR@
#define ROCDECODE_MICRO_VERSION @PROJECT_VERSION_PATCH@
/**
* ROCDECODE_CHECK_VERSION:
@@ -45,7 +44,7 @@ extern "C" {
* @minor: minor version, like 2 in 1.2.3
* @micro: micro version, like 3 in 1.2.3
*
* Evaluates to %TRUE if the version of rocDecode is greater than
* Evaluates to %TRUE if the version of ROCDECODE is greater than
* @major, @minor and @micro
*/
#define ROCDECODE_CHECK_VERSION(major, minor, micro) \
@@ -54,7 +53,7 @@ extern "C" {
(ROCDECODE_MAJOR_VERSION == (major) && ROCDECODE_MINOR_VERSION == (minor) && ROCDECODE_MICRO_VERSION >= (micro)))
#ifdef __cplusplus
}
} // end extern "C" block
#endif
#endif
#endif //_ROCDECODE_VERSION_H_ header guard