mirror of
https://github.com/znc/znc.git
synced 2026-08-07 09:22:55 +02:00
Remove autoconf, leave only CMake
This commit is contained in:
@@ -16,19 +16,9 @@ limitations under the License.
|
||||
#ifndef ZNC_VERSION_H
|
||||
#define ZNC_VERSION_H
|
||||
|
||||
#ifndef BUILD_WITH_CMAKE
|
||||
// The following defines are for #if comparison (preprocessor only likes ints)
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 9
|
||||
#define VERSION_PATCH -1
|
||||
// This one is for display purpose and to check ABI compatibility of modules
|
||||
#define VERSION_STR "1.9.x"
|
||||
#endif
|
||||
|
||||
// Don't use this one
|
||||
#define VERSION (VERSION_MAJOR + VERSION_MINOR / 10.0)
|
||||
|
||||
// autoconf: You can add -DVERSION_EXTRA="stuff" to your CXXFLAGS!
|
||||
// CMake: You can add -DVERSION_EXTRA=stuff to cmake!
|
||||
#ifndef VERSION_EXTRA
|
||||
#define VERSION_EXTRA ""
|
||||
|
||||
Reference in New Issue
Block a user