mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-15 15:11:32 +00:00
9d4c87c18f
SVN r1634 (trunk)
9 lines
382 B
CMake
9 lines
382 B
CMake
cmake_minimum_required( VERSION 2.4 )
|
|
|
|
|
|
add_custom_command( OUTPUT ${ZDOOM_OUTPUT_DIR}/zdoom.pk3
|
|
COMMAND ${CMAKE_BINARY_DIR}/tools/zipdir/zipdir -udf ${ZDOOM_OUTPUT_DIR}/zdoom.pk3 ${CMAKE_CURRENT_SOURCE_DIR}/static ${CMAKE_CURRENT_BINARY_DIR}/generated
|
|
DEPENDS zipdir ${CMAKE_CURRENT_SOURCE_DIR}/static )
|
|
|
|
add_custom_target( pk3 ALL
|
|
DEPENDS ${ZDOOM_OUTPUT_DIR}/zdoom.pk3 )
|