qzdoom-gpl/wadsrc_lights/CMakeLists.txt
2013-06-23 09:32:35 +02:00

9 lines
381 B
CMake

cmake_minimum_required( VERSION 2.4 )
add_custom_command( OUTPUT ${ZDOOM_OUTPUT_DIR}/lights.pk3
COMMAND ${CMAKE_BINARY_DIR}/tools/zipdir/zipdir ${ZDOOM_OUTPUT_DIR}/lights.pk3 ${CMAKE_CURRENT_SOURCE_DIR}/static ${CMAKE_CURRENT_BINARY_DIR}/generated
DEPENDS zipdir ${CMAKE_CURRENT_SOURCE_DIR}/static )
add_custom_target( lights_pk3 ALL
DEPENDS ${ZDOOM_OUTPUT_DIR}/lights.pk3 )