From 40e2cf8ff0dff002ed58f72a6b23cbbbb3e20223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sun, 18 Jan 2015 16:28:18 +0000 Subject: [PATCH] =?UTF-8?q?[REACTOS]=20Introduce=20a=20way=20to=20add=20ar?= =?UTF-8?q?bitrary=20files=20into=20the=20hybrid=20cd=20under=20a=20"extra?= =?UTF-8?q?s"=20directory:=20-=20put=20your=20files=20into=20/trunk/reacto?= =?UTF-8?q?s/modules/hybridcd=5Fextras=20-=20do=20a=20cmake=20.=20&&=20nin?= =?UTF-8?q?ja=20hybridcd=20-=20voil=C3=A0.=20Notice=20that=20you=20need=20?= =?UTF-8?q?to=20redo=20a=20configure=20(via=20"cmake=20.")=20in=20order=20?= =?UTF-8?q?to=20update=20the=20hybridcd=20list=20of=20files=20that=20get?= =?UTF-8?q?=20included=20into=20the=20hybridcd...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CORE-9069 svn path=/trunk/; revision=66052 --- reactos/modules/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/reactos/modules/CMakeLists.txt b/reactos/modules/CMakeLists.txt index b362a104927..7d88206d734 100644 --- a/reactos/modules/CMakeLists.txt +++ b/reactos/modules/CMakeLists.txt @@ -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()