mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Move CMake template files to separate directory
This commit is contained in:
parent
64ebdec438
commit
25da02fe50
12 changed files with 29 additions and 26 deletions
21
cmake_templates/zeek-version.h.in
Normal file
21
cmake_templates/zeek-version.h.in
Normal file
|
@ -0,0 +1,21 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#pragma once
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "@VERSION@"
|
||||
|
||||
// Zeek version number.
|
||||
// This is the result of (major * 10000 + minor * 100 + patch)
|
||||
// For example, 3.1.2 becomes 30102.
|
||||
#define ZEEK_VERSION_NUMBER @ZEEK_VERSION_NUMBER@
|
||||
|
||||
/* A C function that has the Zeek version encoded into its name. */
|
||||
#define ZEEK_VERSION_FUNCTION zeek_version_@VERSION_C_IDENT@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern const char* ZEEK_VERSION_FUNCTION();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue