mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-06 04:50:43 +00:00
14 lines
667 B
Text
14 lines
667 B
Text
|
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 )
|