ClickHouse/src/Common/ClickHouseRevision.cpp
Robert Schulze 6d70b4a1f6
Generate config_version.h into ${CONFIG_INCLUDE_PATH}
This makes the target location consistent with other auto-generated
files like config_formats.h, config_core.h, and config_functions.h and
simplifies the build of clickhouse_common.
2022-09-28 12:48:26 +00:00

9 lines
225 B
C++

#include <Common/ClickHouseRevision.h>
#include "config_version.h"
namespace ClickHouseRevision
{
unsigned getVersionRevision() { return VERSION_REVISION; }
unsigned getVersionInteger() { return VERSION_INTEGER; }
}