* Sync up to trunk HEAD (r62502).
[reactos.git] / boot / CMakeLists.txt
1 ##bootcd
2 #clear it out
3 file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/bootcd.lst "")
4
5 add_custom_target(bootcd
6 COMMAND native-cdmake -j -m -b ${CMAKE_CURRENT_BINARY_DIR}/freeldr/bootsect/isoboot.bin @${CMAKE_CURRENT_BINARY_DIR}/bootcd.lst REACTOS ${REACTOS_BINARY_DIR}/bootcd.iso
7 DEPENDS native-cdmake
8 VERBATIM)
9
10 ##bootcdregtest
11 #clear it out
12 file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/bootcdregtest.lst "")
13
14 add_custom_target(bootcdregtest
15 COMMAND native-cdmake -j -m -b ${CMAKE_CURRENT_BINARY_DIR}/freeldr/bootsect/isobtrt.bin @${CMAKE_CURRENT_BINARY_DIR}/bootcdregtest.lst REACTOS ${REACTOS_BINARY_DIR}/bootcdregtest.iso
16 DEPENDS native-cdmake
17 VERBATIM)
18
19 ##livecd
20 #clear it out and create the empty Desktop folder
21 file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/livecd.lst "Profiles/Default User/Desktop\n")
22
23 add_custom_target(livecd
24 COMMAND native-cdmake -j -m -b ${CMAKE_CURRENT_BINARY_DIR}/freeldr/bootsect/isoboot.bin @${CMAKE_CURRENT_BINARY_DIR}/livecd.lst REACTOS ${REACTOS_BINARY_DIR}/livecd.iso
25 DEPENDS native-cdmake
26 VERBATIM)
27
28 add_subdirectory(freeldr)
29 add_subdirectory(bootdata)