mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-05 20:40:30 +00:00
01fed92920
SVN r4166 (trunk)
10 lines
361 B
CMake
10 lines
361 B
CMake
cmake_minimum_required( VERSION 2.4 )
|
|
|
|
get_target_property(ZIPDIR_EXE zipdir LOCATION)
|
|
|
|
add_custom_command( OUTPUT ${ZDOOM_OUTPUT_DIR}/zdoom.pk3
|
|
COMMAND ${ZIPDIR_EXE} -udf ${ZDOOM_OUTPUT_DIR}/zdoom.pk3 ${CMAKE_CURRENT_SOURCE_DIR}/static
|
|
DEPENDS zipdir ${CMAKE_CURRENT_SOURCE_DIR}/static )
|
|
|
|
add_custom_target( pk3 ALL
|
|
DEPENDS ${ZDOOM_OUTPUT_DIR}/zdoom.pk3 )
|