X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=release.cmake;h=8e40ad2cc4f3db14654686fba4f0fff10be9d3b5;hp=124d7d7beffa97e422c2545320340e5c45c99c95;hb=4331b691c0e4073402529c9de16fe57d38e3edfb;hpb=2d25ba3ea003813c844a6c4a15a6455e0d1a27dd diff --git a/release.cmake b/release.cmake index 124d7d7b..8e40ad2c 100644 --- a/release.cmake +++ b/release.cmake @@ -9,9 +9,9 @@ add_custom_target(release) string(TIMESTAMP stamp "%Y%m%d") string(TIMESTAMP filestamp "%Y-%m-%d") -file(STRINGS data/xonotic-data.pk3dir/defaultXonotic.cfg _contents REGEX "^gameversion ") +file(STRINGS data/xonotic-data.pk3dir/xonotic-common.cfg _contents REGEX "^gameversion ") if (NOT _contents) - message(FATAL_ERROR "defaultXonotic.cfg does not contain gameversion") + message(FATAL_ERROR "xonotic-common.cfg does not contain gameversion") else () string(REGEX REPLACE ".*gameversion ([0-9]+).*" "\\1" versionstr "${_contents}") math(EXPR versionstr_major "${versionstr} / 10000") @@ -58,17 +58,14 @@ if (0) message(STATUS "Downloading Darkplaces") getbinary(Xonotic/xonotic-x86.exe) - getbinary(Xonotic/xonotic-x86-wgl.exe) getbinary(Xonotic/xonotic-x86-dedicated.exe) getbinary(Xonotic/xonotic.exe) - getbinary(Xonotic/xonotic-wgl.exe) getbinary(Xonotic/xonotic-dedicated.exe) getbinary(Xonotic/Xonotic.app/Contents/MacOS/xonotic-osx-sdl-bin) # +x getbinary(Xonotic/xonotic-osx-dedicated) # +x getbinary(Xonotic/xonotic-linux64-sdl) # +x - getbinary(Xonotic/xonotic-linux64-glx) # +x getbinary(Xonotic/xonotic-linux64-dedicated) # +x endif ()