mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 12:14:32 +00:00
[REACTOS]
Introduce a way to add arbitrary files into the hybrid cd under a "extras" directory: - put your files into /trunk/reactos/modules/hybridcd_extras - do a cmake . && ninja hybridcd - voilà. Notice that you need to redo a configure (via "cmake .") in order to update the hybridcd list of files that get included into the hybridcd... CORE-9069 svn path=/trunk/; revision=66052
This commit is contained in:
parent
bb43ef9710
commit
40e2cf8ff0
1 changed files with 9 additions and 0 deletions
|
@ -10,3 +10,12 @@ endif()
|
|||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/wallpaper/)
|
||||
add_subdirectory(wallpaper)
|
||||
endif()
|
||||
|
||||
## Extra files for Hybrid CD. You need to put them under hybridcd_extras
|
||||
## in the same layout as you want them to be in the CD.
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/)
|
||||
file(GLOB_RECURSE EXTRA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/ ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/*)
|
||||
foreach(item ${EXTRA_FILES})
|
||||
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/hybridcd_extras/${item} DESTINATION extras NAME_ON_CD ${item} FOR hybridcd)
|
||||
endforeach(item)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue