mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 23:33:00 +00:00
Add first level folder contents to SOURCES for PK3 targets, so I can open the files from Visual Studio.
(cherry picked from commit c378cd4ff0b901051671932a39e3cb56e82541f4) # Conflicts: # CMakeLists.txt
This commit is contained in:
parent
7e4d0ecdbf
commit
fa52c9d098
1 changed files with 7 additions and 5 deletions
|
@ -49,11 +49,13 @@ function( add_pk3 PK3_NAME PK3_DIR )
|
||||||
DEPENDS zipdir )
|
DEPENDS zipdir )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Touch the zipdir executable here so that the pk3s are forced to
|
file(GLOB PK3_SRCS ${PK3_DIR}/*)
|
||||||
# rebuild each time since their dependecy has "changed."
|
# Touch the zipdir executable here so that the pk3s are forced to
|
||||||
add_custom_target( ${PK3_TARGET} ALL
|
# rebuild each time since their dependecy has "changed."
|
||||||
COMMAND ${CMAKE_COMMAND} -E touch $<TARGET_FILE:zipdir>
|
add_custom_target( ${PK3_TARGET} ALL
|
||||||
DEPENDS ${ZDOOM_OUTPUT_DIR}/${PK3_NAME} )
|
COMMAND ${CMAKE_COMMAND} -E touch $<TARGET_FILE:zipdir>
|
||||||
|
DEPENDS ${ZDOOM_OUTPUT_DIR}/${PK3_NAME}
|
||||||
|
SOURCES "${PK3_SRCS}")
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
# Macro for building libraries without debugging information
|
# Macro for building libraries without debugging information
|
||||||
|
|
Loading…
Reference in a new issue