]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
cmake: always build pk3
authorTimePath <andrew.hardaker1995@gmail.com>
Sat, 5 May 2018 12:28:00 +0000 (22:28 +1000)
committerTimePath <andrew.hardaker1995@gmail.com>
Sat, 5 May 2018 12:28:00 +0000 (22:28 +1000)
CMakeLists.txt

index 9a66f9fd2ef4985cf06e873e7435c6735b8d1f91..f732e5b7afdece143b8c5de31f569375293bcc72 100644 (file)
@@ -125,12 +125,12 @@ copy(progs)
 copy(menu)
 
 function(pack prog)
-    add_custom_target(${prog}.pk3
+    add_custom_target(${prog}.pk3 ALL
             DEPENDS ${prog}-${GIT_DESC}.pk3
             )
     add_custom_command(OUTPUT ${prog}-${GIT_DESC}.pk3
             DEPENDS ${prog}
-            COMMAND ${CMAKE_COMMAND} -E echo "http://xonotic.org" > "${prog}-${GIT_DESC}.txt"
+            COMMAND ${CMAKE_COMMAND} -E echo "https://xonotic.org" > "${prog}-${GIT_DESC}.txt"
             COMMAND ${CMAKE_COMMAND} -E copy "$<TARGET_FILE_DIR:${prog}>/${prog}.dat" "${prog}-${GIT_DESC}.dat"
             COMMAND ${CMAKE_COMMAND} -E copy "$<TARGET_FILE_DIR:${prog}>/${prog}.lno" "${prog}-${GIT_DESC}.lno"
             COMMAND ${CMAKE_COMMAND} -E tar "cfv" "${prog}-${GIT_DESC}.pk3" --format=zip