X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=release.cmake;h=e1c41973c3fb429162caa11c1ceec961a3f15ae4;hp=b8b4036e8f25ce2004e2983c75f879c4c733058a;hb=2093131da01fe2e85fe3c841a882b195456baf20;hpb=5b04f668367f7e4b2c587b9d4561e45cbf6338db diff --git a/release.cmake b/release.cmake index b8b4036e..e1c41973 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,19 +58,13 @@ 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-linux32-sdl) # +x - getbinary(Xonotic/xonotic-linux32-glx) # +x - getbinary(Xonotic/xonotic-linux32-dedicated) # +x - getbinary(Xonotic/xonotic-linux64-sdl) # +x getbinary(Xonotic/xonotic-linux64-glx) # +x getbinary(Xonotic/xonotic-linux64-dedicated) # +x