if (BUILD_BINARIES)
add_definitions(-DRADIANT_VERSION="${RADIANT_VERSION}")
+ add_definitions(-DRADIANT_VERSION_STRING="${RADIANT_VERSION_STRING}")
if (NOT CMAKE_BUILD_TYPE MATCHES Release)
add_definitions(-D_DEBUG=1)
Q3MAP_VERSION := $(Q3MAP_VERSION)-git-$(GIT_VERSION)
endif
-CPPFLAGS += -DRADIANT_VERSION="\"$(RADIANT_VERSION)\"" -DRADIANT_ABOUTMSG="\"$(RADIANT_ABOUTMSG)\"" -DRADIANT_NAME="\"${RADIANT_NAME}\"" -DRADIANT_BASENAME="\"${RADIANT_BASENAME}\"" -DQ3MAP_VERSION="\"$(Q3MAP_VERSION)\"" -DRADIANT_EXECUTABLE="\"$(RADIANT_EXECUTABLE)\""
+CPPFLAGS += -DRADIANT_VERSION="\"$(RADIANT_VERSION)\"" -DRADIANT_VERSION_STRING="\"$(RADIANT_VERSION_STRING)\"" -DRADIANT_ABOUTMSG="\"$(RADIANT_ABOUTMSG)\"" -DRADIANT_NAME="\"${RADIANT_NAME}\"" -DRADIANT_BASENAME="\"${RADIANT_BASENAME}\"" -DQ3MAP_VERSION="\"$(Q3MAP_VERSION)\"" -DRADIANT_EXECUTABLE="\"$(RADIANT_EXECUTABLE)\""
CPPFLAGS += -DGTK_TARGET=2
.PHONY: all
#ifndef RADIANT_VERSION
#error no RADIANT_VERSION defined
#endif
+#ifndef RADIANT_VERSION_STRING
+#error no RADIANT_VERSION_STRING defined
+#endif
}
{
- char const *label_text = "NetRadiant " RADIANT_VERSION "\n"
+ char const *label_text = "NetRadiant " RADIANT_VERSION_STRING "\n"
__DATE__ "\n\n"
RADIANT_ABOUTMSG "\n\n"
"This program is free software\n"