From 48b1514db116860150996a658951565283249b0d Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Wed, 23 Jul 2008 19:11:58 +0000 Subject: [PATCH] Added missing wadsrc/CMakeLists.txt to repository. SVN r1084 (trunk) --- wadsrc/CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 wadsrc/CMakeLists.txt diff --git a/wadsrc/CMakeLists.txt b/wadsrc/CMakeLists.txt new file mode 100644 index 000000000..fa6b376a2 --- /dev/null +++ b/wadsrc/CMakeLists.txt @@ -0,0 +1,13 @@ +cmake_minimum_required( VERSION 2.6 ) + +add_custom_command( OUTPUT generated/dehsupp.lmp + COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/generated + COMMAND dehsupp ${CMAKE_CURRENT_SOURCE_DIR}/sources/dehsupp.txt ${CMAKE_CURRENT_BINARY_DIR}/generated/dehsupp.lmp + DEPENDS dehsupp ${CMAKE_CURRENT_SOURCE_DIR}/sources/dehsupp.txt ) + +add_custom_command( OUTPUT ${ZDOOM_OUTPUT_DIR}/zdoom.pk3 + COMMAND zipdir ${ZDOOM_OUTPUT_DIR}/zdoom.pk3 ${CMAKE_CURRENT_SOURCE_DIR}/static ${CMAKE_CURRENT_BINARY_DIR}/generated + DEPENDS zipdir ${CMAKE_CURRENT_BINARY_DIR}/generated/dehsupp.lmp ) + +add_custom_target( pk3 ALL + DEPENDS ${ZDOOM_OUTPUT_DIR}/zdoom.pk3 )