Author: jgardou
Date: Sun May 15 11:52:14 2011
New Revision: 51755
URL:
http://svn.reactos.org/svn/reactos?rev=51755&view=rev
Log:
[CMAKE]
- create profiles directories for livecd
Modified:
branches/cmake-bringup/boot/CMakeLists.txt
Modified: branches/cmake-bringup/boot/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/boot/CMakeLists.t…
==============================================================================
--- branches/cmake-bringup/boot/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/boot/CMakeLists.txt [iso-8859-1] Sun May 15 11:52:14 2011
@@ -13,6 +13,19 @@
#clear it out
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake
"file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/livecd)\n")
+#create profiles directories too
+file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake
+ "file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/livecd/Profiles)\n")
+file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake
+ "file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/livecd/Profiles/All
Users)\n")
+file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake
+ "file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/livecd/Profiles/All
Users/Desktop)\n")
+file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake
+ "file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/livecd/Profiles/Default
User)\n")
+file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake
+ "file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/livecd/Profiles/Default
User/Desktop)\n")
+file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake
+ "file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/livecd/Profiles/Default User/My
Documents)\n")
add_custom_target(livecd
${CMAKE_COMMAND} -D CD_DIR=${CMAKE_CURRENT_BINARY_DIR}/livecd