cmake_minimum_required(VERSION 2.6)
-if(${CMAKE_VERSION} VERSION_GREATER "2.8.3")
+if(POLICY CMP0017)
# Shadow cmake provided modules
cmake_policy(SET CMP0017 OLD)
endif()
# Don't escape preprocessor definition values added via add_definitions
cmake_policy(SET CMP0005 OLD)
+cmake_policy(SET CMP0002 NEW)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE NEVER)
+
+ #useful stuff!
+ include(CMakeParseArguments)
# Do some cleanup
file(REMOVE
include(baseaddress.cmake)
- add_subdirectory(base)
+ #begin with boot so reactos_cab target is defined before all other modules
add_subdirectory(boot)
+ add_subdirectory(base)
add_subdirectory(dll)
add_subdirectory(drivers)
add_subdirectory(hal)
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/importlibs)
- #bootcd and livecd
- include(ros_cd.cmake)
-
add_dependency_footer()
endif()
DEPENDS ${_asm_file})\r
set_source_files_properties(${_object_file} PROPERTIES GENERATED TRUE)\r
add_custom_target(${_target_name} ALL DEPENDS ${_object_file})\r
- add_minicd(${_object_file} loader ${OBJECT_NAME})\r
endmacro()\r
\r
else()\r
\r
endif()\r
\r
-macro(add_minicd_target _targetname _dir) # optional parameter: _nameoncd\r
- if("${ARGN}" STREQUAL "")\r
- get_target_property(FILENAME ${_targetname} LOCATION)\r
- get_filename_component(_nameoncd ${FILENAME} NAME)\r
- else()\r
- set(_nameoncd ${ARGN})\r
- endif()\r
-\r
- file(APPEND ${REACTOS_BINARY_DIR}/boot/ros_minicd_target.txt "${_targetname}\t${_dir}\t${_nameoncd}\n")\r
-endmacro()\r
-\r
-macro(add_minicd FILENAME _dir _nameoncd)\r
- file(APPEND ${REACTOS_BINARY_DIR}/boot/ros_minicd.txt "${FILENAME}\t${_dir}\t${_nameoncd}\n")\r
-endmacro()\r
-\r
macro(set_cpp)\r
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/c++/stlport)\r
set(IS_CPP 1)\r
-DNATIVE_C_INCLUDE=${REACTOS_SOURCE_DIR}/include/crt)\r
endmacro()\r
\r
-macro(add_livecd_target _targetname _dir )# optional parameter : _nameoncd\r
- if("${ARGN}" STREQUAL "")\r
- get_target_property(FILENAME ${_targetname} LOCATION)\r
- get_filename_component(_nameoncd ${FILENAME} NAME)\r
- else()\r
- set(_nameoncd ${ARGN})\r
- endif()\r
-\r
- file(APPEND ${REACTOS_BINARY_DIR}/boot/ros_livecd_target.txt "${_targetname}\t${_dir}\t${_nameoncd}\n")\r
-endmacro()\r
-\r
-macro(add_livecd FILENAME _dir)# optional parameter : _nameoncd\r
- if("${ARGN}" STREQUAL "")\r
- get_filename_component(_nameoncd ${FILENAME} NAME)\r
- else()\r
- set(_nameoncd ${ARGN})\r
- endif()\r
- file(APPEND ${REACTOS_BINARY_DIR}/boot/ros_livecd.txt "${FILENAME}\t${_dir}\t${_nameoncd}\n")\r
-endmacro()\r
-\r
-macro(cab_to_dir _dir_num _var_name)\r
-# 1 = system32\r
-# 2 = system32\drivers\r
-# 3 = Fonts\r
-# 4 =\r
-# 5 = system32\drivers\etc\r
-# 6 = inf\r
-# 7 = bin\r
-# 8 = media\r
- if(${_dir_num} STREQUAL "1")\r
- set(${_var_name} "reactos/system32")\r
- elseif(${_dir_num} STREQUAL "2")\r
- set(${_var_name} "reactos/system32/drivers")\r
- elseif(${_dir_num} STREQUAL "3")\r
- set(${_var_name} "reactos/fonts")\r
- elseif(${_dir_num} STREQUAL "4")\r
- set(${_var_name} "reactos")\r
- elseif(${_dir_num} STREQUAL "5")\r
- set(${_var_name} "reactos/system32/drivers/etc")\r
- elseif(${_dir_num} STREQUAL "6")\r
- set(${_var_name} "reactos/inf")\r
- elseif(${_dir_num} STREQUAL "7")\r
- set(${_var_name} "reactos/bin")\r
- elseif(${_dir_num} STREQUAL "8")\r
- set(${_var_name} "reactos/system32/drivers")\r
- else()\r
- message(FATAL_ERROR "Wrong directory ${_dir_num}")\r
- endif()\r
-endmacro()\r
-\r
-macro(add_cab_target _targetname _num )\r
- file(APPEND ${REACTOS_BINARY_DIR}/boot/ros_cab_target.txt "${_targetname}\t${_num}\n")\r
- cab_to_dir(${_num} _dir)\r
- add_livecd_target(${_targetname} ${_dir})\r
-endmacro()\r
-\r
-macro(add_cab FILENAME _num)\r
- file(APPEND ${REACTOS_BINARY_DIR}/boot/ros_cab.txt "${FILENAME}\t${_num}\n")\r
- cab_to_dir(${_num} _dir)\r
- add_livecd(${FILENAME} ${_dir})\r
-endmacro()\r
-\r
macro(add_dependency_node _node)\r
if(GENERATE_DEPENDENCY_GRAPH)\r
get_target_property(_type ${_node} TYPE)\r
endforeach()\r
endmacro()\r
\r
+macro(dir_to_num dir var)\r
+ if(${dir} STREQUAL reactos/system32)\r
+ set(${var} 1)\r
+ elseif(${dir} STREQUAL reactos/system32/drivers)\r
+ set(${var} 2)\r
+ elseif(${dir} STREQUAL reactos/Fonts)\r
+ set(${var} 3)\r
+ elseif(${dir} STREQUAL reactos)\r
+ set(${var} 4)\r
+ elseif(${dir} STREQUAL reactos/system32/drivers/etc)\r
+ set(${var} 5)\r
+ elseif(${dir} STREQUAL reactos/inf)\r
+ set(${var} 6)\r
+ elseif(${dir} STREQUAL reactos/bin)\r
+ set(${var} 7)\r
+ elseif(${dir} STREQUAL reactos/media)\r
+ set(${var} 8)\r
+ else()\r
+ message(ERROR "Wrong destination: ${dir}")\r
+ endif()\r
+endmacro()\r
+\r
+function(add_cd_file)\r
+ cmake_parse_arguments(_CD "NO_CAB;NO_LIVECD" "DESTINATION;NAME_ON_CD;TARGET" "FILE" ${ARGN})\r
+ if(NOT (_CD_TARGET OR _CD_FILE))\r
+ message(FATAL_ERROR "You must provide a target or a file to install!")\r
+ endif()\r
+ \r
+ if(NOT _CD_DESTINATION)\r
+ message(FATAL_ERROR "You must provide a destination")\r
+ elseif(${_CD_DESTINATION} STREQUAL root)\r
+ set(_CD_DESTINATION "")\r
+ endif()\r
+ \r
+ if(NOT _CD_FILE)\r
+ get_target_property(__file ${_CD_TARGET} LOCATION)\r
+ else()\r
+ if(NOT _CD_NO_CAB)\r
+ add_dependencies(reactos_cab ${_CD_FILE})\r
+ endif()\r
+ set(__file ${_CD_FILE})\r
+ endif()\r
+ #whether or not we should put it in reactos.cab or directly on cd\r
+ if(_CD_NO_CAB)\r
+ foreach(item ${__file})\r
+ file(APPEND ${REACTOS_BINARY_DIR}/boot/bootcd.cmake "file(COPY \"${item}\" DESTINATION \"\${CD_DIR}/${_CD_DESTINATION}\")\n")\r
+ endforeach()\r
+ if(_CD_NAME_ON_CD)\r
+ get_filename_component(__file ${__file} NAME)\r
+ #rename it in the cd tree\r
+ file(APPEND ${REACTOS_BINARY_DIR}/boot/bootcd.cmake "file(RENAME \${CD_DIR}/${_CD_DESTINATION}/${__file} \${CD_DIR}/${_CD_DESTINATION}/${_CD_NAME_ON_CD})\n")\r
+ endif()\r
+ #add right dependency\r
+ if(_CD_TARGET)\r
+ add_dependencies(bootcd ${_CD_TARGET})\r
+ else()\r
+ add_dependencies(bootcd ${_CD_FILE})\r
+ endif()\r
+ if(NOT _CD_NO_LIVECD)\r
+ file(APPEND ${REACTOS_BINARY_DIR}/boot/livecd.cmake "file(COPY \"${__file}\" DESTINATION \"\${CD_DIR}/${_CD_DESTINATION}\")\n")\r
+ endif()\r
+ else()\r
+ #add right dependency\r
+ if(_CD_TARGET)\r
+ add_dependencies(reactos_cab ${_CD_TARGET})\r
+ else()\r
+ add_dependencies(reactos_cab ${_CD_FILE})\r
+ endif()\r
+ dir_to_num(${_CD_DESTINATION} _num)\r
+ file(APPEND ${REACTOS_BINARY_DIR}/boot/bootdata/packages/reactos.dff.dyn "${__file} ${_num}\n")\r
+ endif()\r
+endfunction()\r
set_module_type(cacls win32cui)
add_importlibs(cacls advapi32 user32 shell32 msvcrt kernel32)
-add_cab_target(cacls 1)
+add_cd_file(TARGET cacls DESTINATION reactos/system32)
add_importlibs(calc ntdll)
endif()
-add_cab_target(calc 1)
+add_cd_file(TARGET calc DESTINATION reactos/system32)
add_importlibs(charmap user32 gdi32 comctl32 kernel32 msvcrt)
-add_cab_target(charmap 1)
+add_cd_file(TARGET charmap DESTINATION reactos/system32)
add_executable(dbgprint dbgprint.c)
set_module_type(dbgprint win32cui)
add_importlibs(dbgprint msvcrt kernel32)
-add_cab_target(dbgprint 1)
+add_cd_file(TARGET dbgprint DESTINATION reactos/system32)
set_module_type(doskey win32cui)
add_importlibs(doskey user32 msvcrt kernel32)
-add_cab_target(doskey 1)
+add_cd_file(TARGET doskey DESTINATION reactos/system32)
set_module_type(find win32cui)
add_importlibs(find user32 msvcrt kernel32)
-add_cab_target(find 1)
+add_cd_file(TARGET find DESTINATION reactos/system32)
set_module_type(hostname win32cui)
add_importlibs(hostname msvcrt kernel32)
-add_cab_target(hostname 1)
+add_cd_file(TARGET hostname DESTINATION reactos/system32)
set_module_type(lodctr win32cui)
add_importlibs(lodctr loadperf msvcrt kernel32)
-add_cab_target(lodctr 1)
+add_cd_file(TARGET lodctr DESTINATION reactos/system32)
set_module_type(more win32cui)
add_importlibs(more user32 msvcrt kernel32)
-add_cab_target(more 1)
+add_cd_file(TARGET more DESTINATION reactos/system32)
set_module_type(reg win32cui)
add_importlibs(reg advapi32 user32 msvcrt kernel32)
-add_cab_target(reg 1)
+add_cd_file(TARGET reg DESTINATION reactos/system32)
set_module_type(xcopy win32cui)
add_importlibs(xcopy shell32 user32 msvcrt kernel32 ntdll)
-add_cab_target(xcopy 1)
+add_cd_file(TARGET xcopy DESTINATION reactos/system32)
set_module_type(control win32gui)
add_importlibs(control advapi32 shell32 msvcrt kernel32)
-add_cab_target(control 1)
+add_cd_file(TARGET control DESTINATION reactos/system32)
add_importlibs(dxdiag user32 advapi32 comctl32 dinput8 setupapi dsound ddraw version gdi32 winmm d3d9 msvcrt kernel32 ntdll)
-add_cab_target(dxdiag 1)
+add_cd_file(TARGET dxdiag DESTINATION reactos/system32)
set_module_type(extrac32 win32gui)
add_importlibs(extrac32 shell32 setupapi shlwapi user32 msvcrt kernel32 ntdll)
-add_cab_target(extrac32 1)
+add_cd_file(TARGET extrac32 DESTINATION reactos/system32)
set_module_type(findstr win32cui)
add_importlibs(findstr user32 msvcrt kernel32)
-add_cab_target(findstr 1)
+add_cd_file(TARGET findstr DESTINATION reactos/system32)
set_module_type(fontview win32gui)
add_importlibs(fontview gdi32 shell32 user32 msvcrt kernel32)
-add_cab_target(fontview 1)
+add_cd_file(TARGET fontview DESTINATION reactos/system32)
add_importlibs(sol advapi32 comctl32 user32 gdi32 kernel32 msvcrt)
-add_cab_target(sol 1)
+add_cd_file(TARGET sol DESTINATION reactos/system32)
add_importlibs(spider advapi32 comctl32 user32 gdi32 kernel32 msvcrt)
-add_cab_target(spider 1)
+add_cd_file(TARGET spider DESTINATION reactos/system32)
target_link_libraries(winmine wine)
add_importlibs(winmine user32 gdi32 advapi32 shell32 msvcrt kernel32 ntdll)
-add_cab_target(winmine 1)
+add_cd_file(TARGET winmine DESTINATION reactos/system32)
add_executable(hh main.c hh.rc)
set_module_type(hh win32gui)
add_importlibs(hh gdi32 user32 msvcrt kernel32)
-add_cab_target(hh 4)
+add_cd_file(TARGET hh DESTINATION reactos)
add_executable(iexplore main.c iexplore.rc)
set_module_type(iexplore win32gui)
add_importlibs(iexplore shdocvw msvcrt kernel32)
-add_cab_target(iexplore 4)
+add_cd_file(TARGET iexplore DESTINATION reactos)
set_module_type(kbswitch win32gui)
add_importlibs(kbswitch advapi32 user32 shell32 gdi32 msvcrt kernel32)
-add_cab_target(kbswitch 1)
+add_cd_file(TARGET kbswitch DESTINATION reactos/system32)
add_subdirectory(kbsdll)
set_module_type(kbsdll win32dll)
add_importlibs(kbsdll user32 comctl32 kernel32 msvcrt)
-add_cab_target(kbsdll 1)
+add_cd_file(TARGET kbsdll DESTINATION reactos/system32)
set_module_type(logoff win32cui)
add_importlibs(logoff advapi32 user32 msvcrt kernel32)
-add_cab_target(logoff 1)
+add_cd_file(TARGET logoff DESTINATION reactos/system32)
set_module_type(magnify win32gui)
add_importlibs(magnify user32 gdi32 advapi32 shell32 msvcrt kernel32)
-add_cab_target(magnify 1)
+add_cd_file(TARGET magnify DESTINATION reactos/system32)
set_module_type(mplay32 win32gui)
add_importlibs(mplay32 advapi32 comctl32 comdlg32 user32 gdi32 winmm shell32 msvcrt kernel32)
-add_cab_target(mplay32 1)
+add_cd_file(TARGET mplay32 DESTINATION reactos/system32)
set_module_type(msconfig win32gui)
add_importlibs(msconfig user32 advapi32 version comctl32 shell32 shlwapi msvcrt kernel32)
-add_cab_target(msconfig 1)
+add_cd_file(TARGET msconfig DESTINATION reactos/system32)
set_module_type(devmgmt win32gui)
add_importlibs(devmgmt setupapi gdi32 user32 comctl32 advapi32 devmgr msvcrt kernel32)
-add_cab_target(devmgmt 1)
+add_cd_file(TARGET devmgmt DESTINATION reactos/system32)
add_importlibs(eventvwr ntdll)
endif()
-add_cab_target(eventvwr 1)
+add_cd_file(TARGET eventvwr DESTINATION reactos/system32)
add_importlibs(servman user32 gdi32 advapi32 version comctl32 shell32 comdlg32 msvcrt kernel32)
-add_cab_target(servman 1)
+add_cd_file(TARGET servman DESTINATION reactos/system32)
set_module_type(mspaint win32gui)
add_importlibs(mspaint comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32)
-add_cab_target(mspaint 1)
+add_cd_file(TARGET mspaint DESTINATION reactos/system32)
add_importlibs(mstsc user32 gdi32 comctl32 ws2_32 advapi32 shell32 ole32 comdlg32 msvcrt kernel32)
-add_cab_target(mstsc 1)
+add_cd_file(TARGET mstsc DESTINATION reactos/system32)
add_importlibs(arp iphlpapi ws2_32 shlwapi msvcrt kernel32)
-add_cab_target(arp 1)
+add_cd_file(TARGET arp DESTINATION reactos/system32)
add_importlibs(dwnl ntdll)
endif()
-add_cab_target(dwnl 1)
+add_cd_file(TARGET dwnl DESTINATION reactos/system32)
set_module_type(finger win32cui)
add_importlibs(finger ws2_32 msvcrt kernel32)
-add_cab_target(finger 1)
+add_cd_file(TARGET finger DESTINATION reactos/system32)
add_importlibs(ftp ntdll)
endif()
-add_cab_target(ftp 1)
+add_cd_file(TARGET ftp DESTINATION reactos/system32)
add_executable(ipconfig ipconfig.c ipconfig.rc)
set_module_type(ipconfig win32cui)
add_importlibs(ipconfig user32 iphlpapi advapi32 msvcrt kernel32)
-add_cab_target(ipconfig 1)
+add_cd_file(TARGET ipconfig DESTINATION reactos/system32)
set_module_type(net win32cui)
add_importlibs(net ws2_32 msvcrt kernel32)
-add_cab_target(net 1)
+add_cd_file(TARGET net DESTINATION reactos/system32)
add_executable(netstat netstat.c netstat.rc)
set_module_type(netstat win32cui)
add_importlibs(netstat user32 ws2_32 snmpapi iphlpapi msvcrt kernel32)
-add_cab_target(netstat 1)
+add_cd_file(TARGET netstat DESTINATION reactos/system32)
set_module_type(nslookup win32cui)
add_importlibs(nslookup user32 ws2_32 snmpapi iphlpapi msvcrt kernel32)
-add_cab_target(nslookup 1)
+add_cd_file(TARGET nslookup DESTINATION reactos/system32)
add_importlibs(ping ntdll)
endif()
-add_cab_target(ping 1)
+add_cd_file(TARGET ping DESTINATION reactos/system32)
set_module_type(route win32cui)
add_importlibs(route ws2_32 iphlpapi msvcrt kernel32)
-add_cab_target(route 1)
+add_cd_file(TARGET route DESTINATION reactos/system32)
set_module_type(telnet win32cui)
add_importlibs(telnet ws2_32 user32 kernel32 msvcrt)
-add_cab_target(telnet 1)
+add_cd_file(TARGET telnet DESTINATION reactos/system32)
add_importlibs(tracert ntdll)
endif()
-add_cab_target(tracert 1)
+add_cd_file(TARGET tracert DESTINATION reactos/system32)
set_module_type(whois win32cui)
add_importlibs(whois ws2_32 msvcrt kernel32)
-add_cab_target(whois 1)
+add_cd_file(TARGET whois DESTINATION reactos/system32)
set_module_type(notepad win32gui)
add_importlibs(notepad user32 gdi32 comctl32 comdlg32 advapi32 shell32 msvcrt kernel32)
-add_cab_target(notepad 1)
+add_cd_file(TARGET notepad DESTINATION reactos/system32)
add_importlibs(rapps advapi32 comctl32 gdi32 urlmon user32 shell32 shlwapi kernel32 msvcrt ntdll)
add_dependencies(rapps rappsmsg)
add_message_headers(rappsmsg.mc)
-add_cab_target(rapps 1)
+add_cd_file(TARGET rapps DESTINATION reactos/system32)
#add_subdirectory(clb)
-add_cab_target(regedit 4)
+add_cd_file(TARGET regedit DESTINATION reactos)
set_module_type(regedt32 win32gui)
add_importlibs(regedt32 shell32 shlwapi msvcrt kernel32)
-add_cab_target(regedt32 1)
+add_cd_file(TARGET regedt32 DESTINATION reactos/system32)
set_module_type(sc win32cui)
add_importlibs(sc advapi32 msvcrt kernel32)
-add_cab_target(sc 1)
+add_cd_file(TARGET sc DESTINATION reactos/system32)
target_link_libraries(3dtext scrnsave)
add_importlibs(3dtext user32 gdi32 opengl32 glu32 advapi32 msvcrt kernel32)
-add_cab_target(3dtext 1)
+add_cd_file(TARGET 3dtext DESTINATION reactos/system32)
target_link_libraries(logon scrnsave)
add_importlibs(logon user32 gdi32 msvcrt kernel32)
-add_cab_target(logon 1)
+add_cd_file(TARGET logon DESTINATION reactos/system32)
set_module_type(shutdown win32cui)
add_importlibs(shutdown advapi32 user32 msvcrt kernel32)
-add_cab_target(shutdown 1)
+add_cd_file(TARGET shutdown DESTINATION reactos/system32)
target_link_libraries(sndrec32 stlport)
set_module_type(sndrec32 win32gui)
add_importlibs(sndrec32 winmm user32 msacm32 comctl32 comdlg32 gdi32 msvcrt kernel32)
-add_cab_target(sndrec32 1)
+add_cd_file(TARGET sndrec32 DESTINATION reactos/system32)
set_module_type(sndvol32 win32gui)
add_importlibs(sndvol32 user32 advapi32 gdi32 comctl32 shell32 winmm msvcrt kernel32 ntdll)
-add_cab_target(sndvol32 1)
+add_cd_file(TARGET sndvol32 DESTINATION reactos/system32)
set_module_type(taskmgr win32gui)
add_importlibs(taskmgr advapi32 user32 gdi32 shell32 comctl32 msvcrt kernel32 ntdll)
-add_cab_target(taskmgr 1)
+add_cd_file(TARGET taskmgr DESTINATION reactos/system32)
target_link_libraries(winhlp32 wine)
add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32 ntdll)
-add_cab_target(winhlp32 4)
+add_cd_file(TARGET winhlp32 DESTINATION reactos)
add_executable(winver winver.c)
set_module_type(winver win32gui)
add_importlibs(winver shell32 msvcrt kernel32)
-add_cab_target(winver 1)
+add_cd_file(TARGET winver DESTINATION reactos/system32)
target_link_libraries(wordpad wine uuid)
add_importlibs(wordpad comdlg32 ole32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32 ntdll)
-add_cab_target(wordpad 1)
+add_cd_file(TARGET wordpad DESTINATION reactos/system32)
add_executable(write write.c rsrc.rc)
set_module_type(write win32gui)
add_importlibs(write user32 gdi32 msvcrt kernel32)
-add_cab_target(write 1)
+add_cd_file(TARGET write DESTINATION reactos/system32)
set_module_type(audiosrv win32cui)
add_importlibs(audiosrv advapi32 user32 setupapi msvcrt kernel32)
-add_cab_target(audiosrv 1)
+add_cd_file(TARGET audiosrv DESTINATION reactos/system32)
set_module_type(eventlog win32cui)
add_importlibs(eventlog advapi32 rpcrt4 msvcrt kernel32 ntdll)
-add_cab_target(eventlog 1)
+add_cd_file(TARGET eventlog DESTINATION reactos/system32)
set_module_type(rpcss win32cui)
add_importlibs(rpcss advapi32 rpcrt4 msvcrt kernel32 ntdll)
-add_cab_target(rpcss 1)
+add_cd_file(TARGET rpcss DESTINATION reactos/system32)
add_dependencies(rpcss winesdk)
set_module_type(spoolsv win32cui)
add_importlibs(spoolsv advapi32 msvcrt kernel32 ntdll)
-add_cab_target(spoolsv 1)
+add_cd_file(TARGET spoolsv DESTINATION reactos/system32)
set_module_type(svchost win32cui)
add_importlibs(svchost advapi32 msvcrt kernel32 ntdll)
-add_cab_target(svchost 1)
+add_cd_file(TARGET svchost DESTINATION reactos/system32)
add_importlibs(tcpsvcs ws2_32 advapi32 msvcrt kernel32 ntdll)
-add_cab_target(tcpsvcs 1)
-add_cab(${CMAKE_CURRENT_SOURCE_DIR}/quotes 5)
\ No newline at end of file
+add_cd_file(TARGET tcpsvcs DESTINATION reactos/system32)
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/quotes DESTINATION reactos/system32/drivers/etc)
\ No newline at end of file
set_module_type(telnetd win32cui)
add_importlibs(telnetd advapi32 ws2_32 msvcrt kernel32 ntdll)
-add_cab_target(telnetd 1)
+add_cd_file(TARGET telnetd DESTINATION reactos/system32)
set_module_type(umpnpmgr win32cui)
add_importlibs(umpnpmgr advapi32 rpcrt4 userenv msvcrt kernel32 ntdll)
-add_cab_target(umpnpmgr 1)
+add_cd_file(TARGET umpnpmgr DESTINATION reactos/system32)
set_module_type(wlansvc win32cui)
add_importlibs(wlansvc advapi32 rpcrt4 iphlpapi msvcrt kernel32 ntdll)
-add_cab_target(wlansvc 1)
+add_cd_file(TARGET wlansvc DESTINATION reactos/system32)
set_module_type(reactos win32gui)
add_importlibs(reactos gdi32 user32 comctl32 setupapi msvcrt kernel32 ntdll)
-add_minicd_target(reactos reactos)
+add_cd_file(TARGET reactos DESTINATION reactos NO_CAB NO_LIVECD)
set_module_type(setup win32gui)
add_importlibs(setup userenv msvcrt kernel32 ntdll)
-add_cab_target(setup 1)
+add_cd_file(TARGET setup DESTINATION reactos/system32)
set_module_type(usetup nativecui)
add_importlibs(usetup kernel32 ntdll)
-add_minicd_target(usetup reactos/system32 smss.exe)
+add_cd_file(TARGET usetup DESTINATION reactos/system32 NO_CAB NO_LIVECD NAME_ON_CD smss.exe)
FILE_SEQUENTIAL_ONLY);
if(!NT_SUCCESS(Status))
{
- DPRINT1("NtOpenFile failed: %x\n", Status);
+ DPRINT1("NtOpenFile failed: %x, %wZ\n", Status, &FileName);
goto done;
}
#else
PWCHAR FileKeyValue;
PWCHAR DirKeyValue;
PWCHAR TargetFileName;
+ WCHAR CompleteOrigFileName[512];
if (SourceCabinet)
return AddSectionToCopyQueueCab(InfFile, L"SourceFiles", SourceCabinet, DestinationPath, Ir);
break;
}
+ wcscpy(CompleteOrigFileName, SourceRootDir.Buffer);
+ wcscat(CompleteOrigFileName, L"\\");
+ wcscat(CompleteOrigFileName, DirKeyValue);
+
if (!SetupQueueCopy(SetupFileQueue,
SourceCabinet,
SourceRootPath.Buffer,
- SourceRootDir.Buffer,
+ CompleteOrigFileName,
FileKeyName,
DirKeyValue,
TargetFileName))
kernel32
ntdll)
-add_cab_target(vmwinst 1)
+add_cd_file(TARGET vmwinst DESTINATION reactos/system32)
set_module_type(welcome win32gui)
add_importlibs(welcome gdi32 user32 msvcrt kernel32 ntdll)
-add_minicd_target(welcome reactos)
+add_cd_file(TARGET welcome DESTINATION reactos NO_CAB NO_LIVECD)
add_pch(cmd ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h SOURCE)
set_module_type(cmd win32cui)
add_importlibs(cmd advapi32 user32 msvcrt kernel32 ntdll)
-add_cab_target(cmd 1)
+add_cd_file(TARGET cmd DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(explorer_new 4)
+add_cd_file(TARGET explorer_new DESTINATION reactos)
set_image_base(explorer 0x00400000)
add_dependencies(explorer psdk)
-add_cab_target(explorer 4)
-add_cab(${CMAKE_CURRENT_SOURCE_DIR}/explorer-cfg-template.xml 4)
+add_cd_file(TARGET explorer DESTINATION reactos)
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/explorer-cfg-template.xml DESTINATION reactos)
add_importlibs(notifyhook user32 msvcrt kernel32)
add_importlib_target(notifyhook.spec)
-add_cab_target(notifyhook 1)
+add_cd_file(TARGET notifyhook DESTINATION reactos/system32)
target_link_libraries(autochk mingw_common nt)
add_importlibs(autochk kernel32 ntdll)
-add_cab_target(autochk 1)
+add_cd_file(TARGET autochk DESTINATION reactos/system32)
set_module_type(bootok win32cui)
add_importlibs(bootok advapi32 msvcrt kernel32 ntdll)
-add_cab_target(bootok 1)
+add_cd_file(TARGET bootok DESTINATION reactos/system32)
set_module_type(expand win32cui)
add_importlibs(expand lz32 setupapi user32 msvcrt kernel32 ntdll)
-add_cab_target(expand 1)
+add_cd_file(TARGET expand DESTINATION reactos/system32)
set_module_type(format win32cui)
add_importlibs(format user32 fmifs msvcrt kernel32 ntdll)
-add_cab_target(format 1)
+add_cd_file(TARGET format DESTINATION reactos/system32)
set_module_type(lsass win32gui)
add_importlibs(lsass advapi32 lsasrv msvcrt kernel32 ntdll)
-add_cab_target(lsass 1)
+add_cd_file(TARGET lsass DESTINATION reactos/system32)
target_link_libraries(msiexec uuid wine)
add_importlibs(msiexec user32 advapi32 ole32 msi msvcrt kernel32 ntdll)
-add_cab_target(msiexec 1)
+add_cd_file(TARGET msiexec DESTINATION reactos/system32)
set_module_type(regsvr32 win32gui)
add_importlibs(regsvr32 user32 shell32 ole32 msvcrt kernel32 ntdll)
-add_cab_target(regsvr32 1)
+add_cd_file(TARGET regsvr32 DESTINATION reactos/system32)
set_module_type(rundll32 win32gui)
add_importlibs(rundll32 user32 msvcrt kernel32 ntdll)
-add_cab_target(rundll32 1)
+add_cd_file(TARGET rundll32 DESTINATION reactos/system32)
set_module_type(runonce win32gui)
add_importlibs(runonce advapi32 user32 msvcrt kernel32 ntdll)
-add_cab_target(runonce 1)
+add_cd_file(TARGET runonce DESTINATION reactos/system32)
set_module_type(services win32cui)
add_importlibs(services user32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
-add_cab_target(services 1)
+add_cd_file(TARGET services DESTINATION reactos/system32)
set_module_type(smss nativecui)
add_importlibs(smss ntdll)
-add_cab_target(smss 1)
+add_cd_file(TARGET smss DESTINATION reactos/system32)
set_module_type(subst win32cui)
add_importlibs(subst msvcrt kernel32 user32 ntdll)
-add_cab_target(subst 1)
+add_cd_file(TARGET subst DESTINATION reactos/system32)
set_module_type(userinit win32gui)
add_importlibs(userinit user32 gdi32 advapi32 shell32 shlwapi msvcrt kernel32 ntdll)
-add_cab_target(userinit 1)
+add_cd_file(TARGET userinit DESTINATION reactos/system32)
set_module_type(winlogon win32gui)
add_importlibs(winlogon user32 advapi32 userenv secur32 msvcrt kernel32 ntdll)
-add_cab_target(winlogon 1)
+add_cd_file(TARGET winlogon DESTINATION reactos/system32)
-add_subdirectory(freeldr)
-
-add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/bootdata/txtsetup.sif reactos txtsetup.sif)
-add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/bootdata/bootcd.ini "" freeldr.ini)
-add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/bootdata/hivecls_${ARCH}.inf reactos hivecls.inf)
-add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/bootdata/hivedef_${ARCH}.inf reactos hivedef.inf)
-add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/bootdata/hivesft_${ARCH}.inf reactos hivesft.inf)
-add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/bootdata/hivesys_${ARCH}.inf reactos hivesys.inf)
-add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/bootdata/autorun.inf "" autorun.inf)
-add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/bootdata/icon.ico "" icon.ico)
-add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/bootdata/readme.txt "" readme.txt)
-# Livecd files
-list(APPEND LIVECD_HIVES
- ${CMAKE_CURRENT_SOURCE_DIR}/bootdata/livecd.inf
- ${CMAKE_CURRENT_SOURCE_DIR}/bootdata/hiveinst_${ARCH}.inf)
-
-add_custom_command(
- OUTPUT ${LIVECD_DIR}/reactos/system32/config/sam
- COMMAND native-mkhive ${CMAKE_CURRENT_SOURCE_DIR}/bootdata ${LIVECD_DIR}/reactos/system32/config ${ARCH} ${LIVECD_HIVES}
- DEPENDS native-mkhive)
+#clear it out
+file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/bootcd.cmake
+ "file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bootcd)\n")
-add_custom_target(livecd_hives DEPENDS ${LIVECD_DIR}/reactos/system32/config/sam)
+add_custom_target(bootcd
+ ${CMAKE_COMMAND} -D CD_DIR=${CMAKE_CURRENT_BINARY_DIR}/bootcd
+ -P ${CMAKE_CURRENT_BINARY_DIR}/bootcd.cmake
+ COMMAND native-cdmake -v -j -m -b ${CMAKE_CURRENT_BINARY_DIR}/freeldr/bootsect/isoboot.bin ${BOOTCD_DIR} REACTOS ${REACTOS_BINARY_DIR}/bootcd.iso
+ #DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/bootcd.cmake
+ VERBATIM)
-add_livecd(${REACTOS_SOURCE_DIR}/boot/bootdata/livecd.ini "" freeldr.ini)
-
-#regtest
-add_cab(${REACTOS_SOURCE_DIR}/boot/bootdata/bootcdregtest/regtest.cmd 7)
+add_subdirectory(freeldr)
+add_subdirectory(bootdata)
--- /dev/null
+
+add_subdirectory(packages)
+
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/txtsetup.sif DESTINATION reactos NO_CAB NO_LIVECD)
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/hivecls_${ARCH}.inf DESTINATION reactos NO_CAB NO_LIVECD NAME_ON_CD hivecls.inf)
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/hivedef_${ARCH}.inf DESTINATION reactos NO_CAB NO_LIVECD NAME_ON_CD hivedef.inf)
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/hivesft_${ARCH}.inf DESTINATION reactos NO_CAB NO_LIVECD NAME_ON_CD hivesft.inf)
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/hivesys_${ARCH}.inf DESTINATION reactos NO_CAB NAME_ON_CD hivesys.inf)
+
+# bootcd/livecd hives
+list(APPEND CD_HIVES
+ ${CMAKE_CURRENT_SOURCE_DIR}/livecd.inf
+ ${CMAKE_CURRENT_SOURCE_DIR}/hiveinst_${ARCH}.inf)
+
+add_custom_target(livecd_hives
+ native-mkhive ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${ARCH} ${CD_HIVES}
+ DEPENDS native-mkhive ${CD_HIVES})
+
+#regtest
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/bootcdregtest/regtest.cmd DESTINATION reactos/bin)
+
+#freeldr.ini
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/bootcd.ini DESTINATION root NO_CAB NAME_ON_CD freeldr.ini NO_LIVECD)
--- /dev/null
+#reactos.dff
+
+# reactos.dff is the concatenation of two files :
+# - reactos.dff.in, which is a static one and can be altered to
+# add custom modules/files to reactos.cab
+# - reactos.dff.dyn (dyn as dynamic) which is generated at configure time by our cmake scripts
+# If you want to slip-stream anything into the bootcd, then you want to alter reactos.dff.in
+
+# Idea taken from there : http://www.cmake.org/pipermail/cmake/2010-July/038028.html
+file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/concat.cmake "
+ file(READ \${SRC1} S1)
+ file(READ \${SRC2} S2)
+ file(WRITE \${DST} \"\${S1}\${S2}\")
+")
+
+file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/reactos.dff.dyn "")
+
+add_custom_command(
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/reactos.dff
+ COMMAND ${CMAKE_COMMAND} -D SRC1=${CMAKE_CURRENT_SOURCE_DIR}/reactos.dff.in
+ -D SRC2=${CMAKE_CURRENT_BINARY_DIR}/reactos.dff.dyn
+ -D DST=${CMAKE_CURRENT_BINARY_DIR}/reactos.dff
+ -P ${CMAKE_CURRENT_BINARY_DIR}/concat.cmake
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/reactos.dff.in
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/reactos.dff.dyn
+)
+
+# And now we build reactos.cab
+add_custom_command(
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/reactos.inf
+ COMMAND native-cabman -C ${CMAKE_CURRENT_BINARY_DIR}/reactos.dff -L ${CMAKE_CURRENT_BINARY_DIR} -I -P ${REACTOS_SOURCE_DIR}
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/reactos.dff
+)
+# add_custom_command(
+ # OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/reactos.cab
+ # COMMAND native-cabman -C ${CMAKE_CURRENT_BINARY_DIR}/reactos.dff -RC ${CMAKE_CURRENT_BINARY_DIR}/reactos.inf -L ${CMAKE_CURRENT_BINARY_DIR} -N -P ${REACTOS_SOURCE_DIR}
+ # DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/reactos.inf
+# )
+
+add_custom_target(reactos_cab
+ native-cabman -C ${CMAKE_CURRENT_BINARY_DIR}/reactos.dff -RC ${CMAKE_CURRENT_BINARY_DIR}/reactos.inf -L ${CMAKE_CURRENT_BINARY_DIR} -N -P ${REACTOS_SOURCE_DIR}
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/reactos.inf
+ VERBATIM)
+
+add_cd_file(TARGET reactos_cab FILE ${CMAKE_CURRENT_BINARY_DIR}/reactos.cab ${CMAKE_CURRENT_BINARY_DIR}/reactos.inf DESTINATION reactos NO_CAB NO_LIVECD)
+
; Main ReactOS package
.Set DiskLabelTemplate="ReactOS" ; Label of disk
scsiport.sys=,,,,,,x,,,,,,4
fastfat.sys=,,,,,,x,,,,,,4
ramdisk.sys=,,,,,,x,,,,,,4
-ext2.sys=,,,,,,x,,,,,,4
+ext2fs.sys=,,,,,,x,,,,,,4
+vgafonts.cab=,,,,,,,,,,,,1
+classpnp.sys=,,,,,,,,,,,,4
+pcix.sys=,,,,,,,,,,,,4
+pcmcia.sys=,,,,,,,,,,,,4
+swenum.sys=,,,,,,,,,,,,4
+ntdll.dll=,,,,,,,,,,,,2
[HardwareIdsDatabase]
;*PNP0A00 = isapnp
CreateBootSectorTarget(fat32 ${CMAKE_CURRENT_SOURCE_DIR}/fat32.asm ${CMAKE_CURRENT_BINARY_DIR}/fat32.bin)
CreateBootSectorTarget(fat ${CMAKE_CURRENT_SOURCE_DIR}/fat.asm ${CMAKE_CURRENT_BINARY_DIR}/fat.bin)
CreateBootSectorTarget(isoboot ${CMAKE_CURRENT_SOURCE_DIR}/isoboot.asm ${CMAKE_CURRENT_BINARY_DIR}/isoboot.bin)
-CreateBootSectorTarget(isobtrt ${CMAKE_CURRENT_SOURCE_DIR}/isobtrt.asm ${CMAKE_CURRENT_BINARY_DIR}/isobtrt.bin)
\ No newline at end of file
+CreateBootSectorTarget(isobtrt ${CMAKE_CURRENT_SOURCE_DIR}/isobtrt.asm ${CMAKE_CURRENT_BINARY_DIR}/isobtrt.bin)
+
+add_cd_file(TARGET dosmbr DESTINATION loader NO_CAB FILE ${CMAKE_CURRENT_BINARY_DIR}/dosmbr.bin)
+add_cd_file(TARGET ext2 DESTINATION loader NO_CAB FILE ${CMAKE_CURRENT_BINARY_DIR}/ext2.bin)
+add_cd_file(TARGET fat32 DESTINATION loader NO_CAB FILE ${CMAKE_CURRENT_BINARY_DIR}/fat32.bin)
+add_cd_file(TARGET fat DESTINATION loader NO_CAB FILE ${CMAKE_CURRENT_BINARY_DIR}/fat.bin)
+add_cd_file(TARGET isoboot DESTINATION loader NO_CAB FILE ${CMAKE_CURRENT_BINARY_DIR}/isoboot.bin)
+add_cd_file(TARGET isobtrt DESTINATION loader NO_CAB FILE ${CMAKE_CURRENT_BINARY_DIR}/isobtrt.bin)
\ No newline at end of file
add_pch(freeldr ${CMAKE_CURRENT_SOURCE_DIR}/include/freeldr.h ${FREELDR_SOURCE})
add_dependencies(freeldr asm)
+add_cd_file(TARGET freeldr DESTINATION loader NO_CAB)
+
list(APPEND SETUPLDR_MAIN_SOURCE
bootmgr.c
inffile/inffile.c
add_dependencies(setupldr asm)
-# Bootcd files
-add_minicd_target(setupldr loader setupldr.sys)
-add_minicd_target(freeldr loader freeldr.sys)
-add_livecd_target(setupldr loader)
+add_cd_file(TARGET setupldr DESTINATION loader NO_CAB)
+
VOID
SetupLdrScanBootDrivers(PLOADER_PARAMETER_BLOCK LoaderBlock, HINF InfHandle, LPCSTR SearchPath)
{
- INFCONTEXT InfContext;
+ INFCONTEXT InfContext, dirContext;
BOOLEAN Status;
- LPCSTR Media, DriverName;
+ LPCSTR Media, DriverName, dirIndex, ImagePath;
WCHAR ServiceName[256];
- WCHAR ImagePath[256];
+ WCHAR ImagePathW[256];
/* Open inf section */
if (!InfFindFirstLine(InfHandle, "SourceDisksFiles", NULL, &InfContext))
do
{
if (InfGetDataField(&InfContext, 7, &Media) &&
- InfGetDataField(&InfContext, 0, &DriverName))
+ InfGetDataField(&InfContext, 0, &DriverName) &&
+ InfGetDataField(&InfContext, 13, &dirIndex))
{
- if (strcmp(Media, "x") == 0)
+ if ((strcmp(Media, "x") == 0) &&
+ InfFindFirstLine(InfHandle, "Directories", dirIndex, &dirContext) &&
+ InfGetDataField(&dirContext, 1, &ImagePath))
{
/* Convert name to widechar */
swprintf(ServiceName, L"%S", DriverName);
+ /* Prepare image path */
+ swprintf(ImagePathW, L"%S", ImagePath);
+ wcscat(ImagePathW, L"\\");
+ wcscat(ImagePathW, ServiceName);
+
/* Remove .sys extension */
ServiceName[wcslen(ServiceName) - 4] = 0;
- /* Prepare image path */
- swprintf(ImagePath, L"%S", DriverName);
-
/* Add it to the list */
Status = WinLdrAddDriverToList(&LoaderBlock->BootDriverListHead,
L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\",
- ImagePath,
+ ImagePathW,
ServiceName);
if (!Status)
/* Load kernel */
strcpy(FileName+strlen("\\ArcName\\"), BootPath);
- strcat(FileName, "NTOSKRNL.EXE");
+ strcat(FileName, "SYSTEM32\\NTOSKRNL.EXE");
Status = WinLdrLoadImage(FileName+strlen("\\ArcName\\"), LoaderSystemCode, &NtosBase);
DPRINTM(DPRINT_WINDOWS, "Ntos loaded with status %d at %p\n", Status, NtosBase);
- WinLdrAllocateDataTableEntry(LoaderBlock, "ntoskrnl.exe",
+ Status = WinLdrAllocateDataTableEntry(LoaderBlock, "ntoskrnl.exe",
FileName, NtosBase, &KernelDTE);
+ DPRINTM(DPRINT_WINDOWS, "Ntos Data Table Entry allocated with status %d at %p\n", Status, KernelDTE);
/* Load HAL */
strcpy(FileName+strlen("\\ArcName\\"), BootPath);
- strcat(FileName, "HAL.DLL");
+ strcat(FileName, "SYSTEM32\\HAL.DLL");
Status = WinLdrLoadImage(FileName+strlen("\\ArcName\\"), LoaderHalCode, &HalBase);
DPRINTM(DPRINT_WINDOWS, "HAL loaded with status %d at %p\n", Status, HalBase);
- WinLdrAllocateDataTableEntry(LoaderBlock, "hal.dll",
+ Status = WinLdrAllocateDataTableEntry(LoaderBlock, "hal.dll",
FileName, HalBase, &HalDTE);
+ DPRINTM(DPRINT_WINDOWS, "HAL Data Table Entry allocated with status %d at %p\n", Status, HalDTE);
/* Load kernel-debugger support dll */
strcpy(FileName+strlen("\\ArcName\\"), BootPath);
- strcat(FileName, "KDCOM.DLL");
+ strcat(FileName, "SYSTEM32\\KDCOM.DLL");
Status = WinLdrLoadImage(FileName+strlen("\\ArcName\\"), LoaderBootDriver, &KdComBase);
DPRINTM(DPRINT_WINDOWS, "KdCom loaded with status %d at %p\n", Status, KdComBase);
- WinLdrAllocateDataTableEntry(LoaderBlock, "kdcom.dll",
+ Status = WinLdrAllocateDataTableEntry(LoaderBlock, "kdcom.dll",
FileName, KdComBase, &KdComDTE);
+ DPRINTM(DPRINT_WINDOWS, "KdCom Data Table Entry allocated with status %d at %p\n", Status, HalDTE);
/* Load all referenced DLLs for kernel, HAL and kdcom.dll */
strcpy(SearchPath, BootPath);
WinLdrScanImportDescriptorTable(LoaderBlock, SearchPath, KernelDTE);
WinLdrScanImportDescriptorTable(LoaderBlock, SearchPath, HalDTE);
+ if (KdComDTE)
+ WinLdrScanImportDescriptorTable(LoaderBlock, SearchPath, KdComDTE);
+ /* In system32 too */
+ strcpy(SearchPath + strlen(BootPath), "system32\\");
+ WinLdrScanImportDescriptorTable(LoaderBlock, SearchPath, KernelDTE);
+ WinLdrScanImportDescriptorTable(LoaderBlock, SearchPath, HalDTE);
if (KdComDTE)
WinLdrScanImportDescriptorTable(LoaderBlock, SearchPath, KdComDTE);
- /* Load NLS data */
- SetupLdrLoadNlsData(LoaderBlock, InfHandle, BootPath);
+ /* Load NLS data, they are in system32 */
+ SetupLdrLoadNlsData(LoaderBlock, InfHandle, SearchPath);
/* Get a list of boot drivers */
SetupLdrScanBootDrivers(LoaderBlock, InfHandle, BootPath);
add_dependencies(dxtn psdk)
-add_cab_target(dxtn 1)
+add_cd_file(TARGET dxtn DESTINATION reactos/system32)
add_dependencies(libjpeg psdk)
-add_cab_target(libjpeg 1)
+add_cd_file(TARGET libjpeg DESTINATION reactos/system32)
add_dependencies(libpng psdk)
-add_cab_target(libpng 1)
+add_cd_file(TARGET libpng DESTINATION reactos/system32)
add_dependencies(libtiff psdk)
-add_cab_target(libtiff 1)
+add_cd_file(TARGET libtiff DESTINATION reactos/system32)
add_dependencies(libxslt psdk)
-add_cab_target(libxslt 1)
+add_cd_file(TARGET libxslt DESTINATION reactos/system32)
add_dependencies(mesa32 psdk)
-add_cab_target(mesa32 1)
+add_cd_file(TARGET mesa32 DESTINATION reactos/system32)
comctl32
kernel32)
-add_cab_target(access 1)
+add_cd_file(TARGET access DESTINATION reactos/system32)
shell32
kernel32)
-add_cab_target(appwiz 1)
+add_cd_file(TARGET appwiz DESTINATION reactos/system32)
kernel32)
add_pch(console ${CMAKE_CURRENT_SOURCE_DIR}/console.h ${SOURCE})
-add_cab_target(console 1)
+add_cd_file(TARGET console DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(desk 1)
+add_cd_file(TARGET desk DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(hdwwiz 1)
+add_cd_file(TARGET hdwwiz DESTINATION reactos/system32)
gdi32
kernel32)
-add_cab_target(input 1)
+add_cd_file(TARGET input DESTINATION reactos/system32)
shell32
kernel32)
-add_cab_target(intl 1)
+add_cd_file(TARGET intl DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(joy 1)
+add_cd_file(TARGET joy DESTINATION reactos/system32)
gdi32
kernel32)
-add_cab_target(main 1)
+add_cd_file(TARGET main DESTINATION reactos/system32)
ntdll
kernel32)
-add_cab_target(mmsys 1)
+add_cd_file(TARGET mmsys DESTINATION reactos/system32)
shell32
kernel32)
-add_cab_target(ncpa 1)
+add_cd_file(TARGET ncpa DESTINATION reactos/system32)
set_module_type(odbccp32i cpl)
add_importlibs(odbccp32i user32 comctl32 msvcrt kernel32)
-add_cab_target(odbccp32i 1)
+add_cd_file(TARGET odbccp32i DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(powercfg 1)
+add_cd_file(TARGET powercfg DESTINATION reactos/system32)
ntdll)
add_pch(sysdm ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-add_cab_target(sysdm 1)
+add_cd_file(TARGET sysdm DESTINATION reactos/system32)
msvcrt
kernel32)
-add_cab_target(telephon 1)
+add_cd_file(TARGET telephon DESTINATION reactos/system32)
msvcrt
kernel32)
-add_cab_target(timedate 1)
+add_cd_file(TARGET timedate DESTINATION reactos/system32)
ntdll)
-add_cab_target(usrmgr 1)
+add_cd_file(TARGET usrmgr DESTINATION reactos/system32)
ntdll)
add_dependencies(amstream dxsdk)
-add_cab_target(amstream 1)
+add_cd_file(TARGET amstream DESTINATION reactos/system32)
add_dependencies(d3d8thk psdk)
-add_cab_target(d3d8thk 1)
+add_cd_file(TARGET d3d8thk DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(devenum 1)
+add_cd_file(TARGET devenum DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(dinput 1)
+add_cd_file(TARGET dinput DESTINATION reactos/system32)
add_importlib_target(dinput.spec)
add_dependencies(dinput8 psdk)
-add_cab_target(dinput8 1)
+add_cd_file(TARGET dinput8 DESTINATION reactos/system32)
add_importlib_target(dinput8.spec)
add_dependencies(dmusic psdk)
-add_cab_target(dmusic 1)
+add_cd_file(TARGET dmusic DESTINATION reactos/system32)
add_dependencies(dplay psdk)
-add_cab_target(dplay 1)
+add_cd_file(TARGET dplay DESTINATION reactos/system32)
add_importlib_target(dplay.spec libdplayx)
kernel32
ntdll)
-add_cab_target(dplayx 1)
+add_cd_file(TARGET dplayx DESTINATION reactos/system32)
add_importlib_target(dplayx.spec)
kernel32
ntdll)
-add_cab_target(dsound 1)
+add_cd_file(TARGET dsound DESTINATION reactos/system32)
add_importlib_target(dsound.spec)
kernel32
ntdll)
-add_cab_target(dxdiagn 1)
+add_cd_file(TARGET dxdiagn DESTINATION reactos/system32)
add_dependencies(ksproxy psdk)
-add_cab_target(ksproxy 1)
+add_cd_file(TARGET ksproxy DESTINATION reactos/system32)
add_importlibs(ksuser advapi32 msvcrt kernel32 ntdll)
add_dependencies(ksuser psdk bugcodes)
-add_cab_target(ksuser 1)
+add_cd_file(TARGET ksuser DESTINATION reactos/system32)
add_importlib_target(ksuser.spec)
add_dependencies(msdmo dxsdk psdk)
-add_cab_target(msdmo 1)
+add_cd_file(TARGET msdmo DESTINATION reactos/system32)
ntdll)
add_dependencies(qedit dxsdk)
-add_cab_target(qedit 1)
+add_cd_file(TARGET qedit DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(quartz 1)
+add_cd_file(TARGET quartz DESTINATION reactos/system32)
ntdll)
add_dependencies(d3d8 wineheaders)
-add_cab_target(d3d8 1)
+add_cd_file(TARGET d3d8 DESTINATION reactos/system32)
ntdll)
add_dependencies(d3d9 wineheaders)
-add_cab_target(d3d9 1)
+add_cd_file(TARGET d3d9 DESTINATION reactos/system32)
add_importlib_target(d3d9.spec)
ntdll)
add_dependencies(d3dx9_24 wineheaders)
-add_cab_target(d3dx9_24 1)
+add_cd_file(TARGET d3dx9_24 DESTINATION reactos/system32)
add_importlib_target(d3dx9_24.spec libd3dx9_36)
ntdll)
add_dependencies(d3dx9_25 wineheaders)
-add_cab_target(d3dx9_25 1)
+add_cd_file(TARGET d3dx9_25 DESTINATION reactos/system32)
add_importlib_target(d3dx9_25.spec libd3dx9_24 libd3dx9_36)
ntdll)
add_dependencies(d3dx9_26 wineheaders)
-add_cab_target(d3dx9_26 1)
+add_cd_file(TARGET d3dx9_26 DESTINATION reactos/system32)
ntdll)
add_dependencies(d3dx9_27 wineheaders)
-add_cab_target(d3dx9_27 1)
+add_cd_file(TARGET d3dx9_27 DESTINATION reactos/system32)
ntdll)
add_dependencies(d3dx9_28 wineheaders)
-add_cab_target(d3dx9_28 1)
+add_cd_file(TARGET d3dx9_28 DESTINATION reactos/system32)
ntdll)
add_dependencies(d3dx9_29 wineheaders)
-add_cab_target(d3dx9_29 1)
+add_cd_file(TARGET d3dx9_29 DESTINATION reactos/system32)
ntdll)
add_dependencies(d3dx9_30 wineheaders)
-add_cab_target(d3dx9_30 1)
+add_cd_file(TARGET d3dx9_30 DESTINATION reactos/system32)
ntdll)
add_dependencies(d3dx9_31 wineheaders)
-add_cab_target(d3dx9_31 1)
+add_cd_file(TARGET d3dx9_31 DESTINATION reactos/system32)
ntdll)
add_dependencies(d3dx9_32 wineheaders)
-add_cab_target(d3dx9_32 1)
+add_cd_file(TARGET d3dx9_32 DESTINATION reactos/system32)
ntdll)
add_dependencies(d3dx9_33 wineheaders)
-add_cab_target(d3dx9_33 1)
+add_cd_file(TARGET d3dx9_33 DESTINATION reactos/system32)
ntdll)
add_dependencies(d3dx9_34 wineheaders)
-add_cab_target(d3dx9_34 1)
+add_cd_file(TARGET d3dx9_34 DESTINATION reactos/system32)
ntdll)
add_dependencies(d3dx9_35 wineheaders)
-add_cab_target(d3dx9_35 1)
+add_cd_file(TARGET d3dx9_35 DESTINATION reactos/system32)
ntdll)
add_dependencies(d3dx9_36 wineheaders)
-add_cab_target(d3dx9_36 1)
+add_cd_file(TARGET d3dx9_36 DESTINATION reactos/system32)
add_importlib_target(d3dx9_36.spec)
ntdll)
add_dependencies(d3dx9_37 wineheaders)
-add_cab_target(d3dx9_37 1)
+add_cd_file(TARGET d3dx9_37 DESTINATION reactos/system32)
ntdll)
add_dependencies(d3dx9_38 wineheaders)
-add_cab_target(d3dx9_38 1)
+add_cd_file(TARGET d3dx9_38 DESTINATION reactos/system32)
ntdll)
add_dependencies(d3dx9_39 wineheaders)
-add_cab_target(d3dx9_39 1)
+add_cd_file(TARGET d3dx9_39 DESTINATION reactos/system32)
ntdll)
add_dependencies(d3dx9_40 wineheaders)
-add_cab_target(d3dx9_40 1)
+add_cd_file(TARGET d3dx9_40 DESTINATION reactos/system32)
ntdll)
add_dependencies(d3dx9_41 wineheaders)
-add_cab_target(d3dx9_41 1)
+add_cd_file(TARGET d3dx9_41 DESTINATION reactos/system32)
ntdll)
add_dependencies(d3dx9_42 wineheaders)
-add_cab_target(d3dx9_42 1)
+add_cd_file(TARGET d3dx9_42 DESTINATION reactos/system32)
ntdll)
add_dependencies(ddraw wineheaders)
-add_cab_target(ddraw 1)
+add_cd_file(TARGET ddraw DESTINATION reactos/system32)
add_importlib_target(ddraw.spec)
ntdll)
add_dependencies(wined3d wineheaders)
-add_cab_target(wined3d 1)
+add_cd_file(TARGET wined3d DESTINATION reactos/system32)
add_importlib_target(wined3d.spec)
add_dependencies(kbda1 psdk)
-add_cab_target(kbda1 1)
+add_cd_file(TARGET kbda1 DESTINATION reactos/system32)
add_dependencies(kbda2 psdk)
-add_cab_target(kbda2 1)
+add_cd_file(TARGET kbda2 DESTINATION reactos/system32)
add_dependencies(kbda3 psdk)
-add_cab_target(kbda3 1)
+add_cd_file(TARGET kbda3 DESTINATION reactos/system32)
add_dependencies(kbdal psdk)
-add_cab_target(kbdal 1)
+add_cd_file(TARGET kbdal DESTINATION reactos/system32)
add_dependencies(kbdarme psdk)
-add_cab_target(kbdarme 1)
+add_cd_file(TARGET kbdarme DESTINATION reactos/system32)
add_dependencies(kbdarmw psdk)
-add_cab_target(kbdarmw 1)
+add_cd_file(TARGET kbdarmw DESTINATION reactos/system32)
add_dependencies(kbdaze psdk)
-add_cab_target(kbdaze 1)
+add_cd_file(TARGET kbdaze DESTINATION reactos/system32)
add_dependencies(kbdazel psdk)
-add_cab_target(kbdazel 1)
+add_cd_file(TARGET kbdazel DESTINATION reactos/system32)
add_dependencies(kbdbe psdk)
-add_cab_target(kbdbe 1)
+add_cd_file(TARGET kbdbe DESTINATION reactos/system32)
add_dependencies(kbdbga psdk)
-add_cab_target(kbdbga 1)
+add_cd_file(TARGET kbdbga DESTINATION reactos/system32)
add_dependencies(kbdbgm psdk)
-add_cab_target(kbdbgm 1)
+add_cd_file(TARGET kbdbgm DESTINATION reactos/system32)
add_dependencies(kbdbgt psdk)
-add_cab_target(kbdbgt 1)
+add_cd_file(TARGET kbdbgt DESTINATION reactos/system32)
add_dependencies(kbdblr psdk)
-add_cab_target(kbdblr 1)
+add_cd_file(TARGET kbdblr DESTINATION reactos/system32)
add_dependencies(kbdbr psdk)
-add_cab_target(kbdbr 1)
+add_cd_file(TARGET kbdbr DESTINATION reactos/system32)
add_dependencies(kbdbur psdk)
-add_cab_target(kbdbur 1)
+add_cd_file(TARGET kbdbur DESTINATION reactos/system32)
add_dependencies(kbdcan psdk)
-add_cab_target(kbdcan 1)
+add_cd_file(TARGET kbdcan DESTINATION reactos/system32)
add_dependencies(kbdcr psdk)
-add_cab_target(kbdcr 1)
+add_cd_file(TARGET kbdcr DESTINATION reactos/system32)
add_dependencies(kbdcz psdk)
-add_cab_target(kbdcz 1)
+add_cd_file(TARGET kbdcz DESTINATION reactos/system32)
add_dependencies(kbdcz1 psdk)
-add_cab_target(kbdcz1 1)
+add_cd_file(TARGET kbdcz1 DESTINATION reactos/system32)
add_dependencies(kbdda psdk)
-add_cab_target(kbdda 1)
+add_cd_file(TARGET kbdda DESTINATION reactos/system32)
add_dependencies(kbddv psdk)
-add_cab_target(kbddv 1)
+add_cd_file(TARGET kbddv DESTINATION reactos/system32)
add_dependencies(kbdes psdk)
-add_cab_target(kbdes 1)
+add_cd_file(TARGET kbdes DESTINATION reactos/system32)
add_dependencies(kbdest psdk)
-add_cab_target(kbdest 1)
+add_cd_file(TARGET kbdest DESTINATION reactos/system32)
add_dependencies(kbdfc psdk)
-add_cab_target(kbdfc 1)
+add_cd_file(TARGET kbdfc DESTINATION reactos/system32)
add_dependencies(kbdfi psdk)
-add_cab_target(kbdfi 1)
+add_cd_file(TARGET kbdfi DESTINATION reactos/system32)
add_dependencies(kbdfr psdk)
-add_cab_target(kbdfr 1)
+add_cd_file(TARGET kbdfr DESTINATION reactos/system32)
add_dependencies(kbdgeo psdk)
-add_cab_target(kbdgeo 1)
+add_cd_file(TARGET kbdgeo DESTINATION reactos/system32)
add_dependencies(kbdgerg psdk)
-add_cab_target(kbdgerg 1)
+add_cd_file(TARGET kbdgerg DESTINATION reactos/system32)
add_dependencies(kbdgneo psdk)
-add_cab_target(kbdgneo 1)
+add_cd_file(TARGET kbdgneo DESTINATION reactos/system32)
add_dependencies(kbdgr psdk)
-add_cab_target(kbdgr 1)
+add_cd_file(TARGET kbdgr DESTINATION reactos/system32)
add_dependencies(kbdgrist psdk)
-add_cab_target(kbdgrist 1)
+add_cd_file(TARGET kbdgrist DESTINATION reactos/system32)
add_dependencies(kbdhe psdk)
-add_cab_target(kbdhe 1)
+add_cd_file(TARGET kbdhe DESTINATION reactos/system32)
add_dependencies(kbdheb psdk)
-add_cab_target(kbdheb 1)
+add_cd_file(TARGET kbdheb DESTINATION reactos/system32)
add_dependencies(kbdhu psdk)
-add_cab_target(kbdhu 1)
+add_cd_file(TARGET kbdhu DESTINATION reactos/system32)
add_dependencies(kbdic psdk)
-add_cab_target(kbdic 1)
+add_cd_file(TARGET kbdic DESTINATION reactos/system32)
add_dependencies(kbdinasa psdk)
-add_cab_target(kbdinasa 1)
+add_cd_file(TARGET kbdinasa DESTINATION reactos/system32)
add_dependencies(kbdinben psdk)
-add_cab_target(kbdinben 1)
+add_cd_file(TARGET kbdinben DESTINATION reactos/system32)
add_dependencies(kbdindev psdk)
-add_cab_target(kbdindev 1)
+add_cd_file(TARGET kbdindev DESTINATION reactos/system32)
add_dependencies(kbdinguj psdk)
-add_cab_target(kbdinguj 1)
+add_cd_file(TARGET kbdinguj DESTINATION reactos/system32)
add_dependencies(kbdinmal psdk)
-add_cab_target(kbdinmal 1)
+add_cd_file(TARGET kbdinmal DESTINATION reactos/system32)
add_dependencies(kbdir psdk)
-add_cab_target(kbdir 1)
+add_cd_file(TARGET kbdir DESTINATION reactos/system32)
add_dependencies(kbdit psdk)
-add_cab_target(kbdit 1)
+add_cd_file(TARGET kbdit DESTINATION reactos/system32)
add_dependencies(kbdja psdk)
-add_cab_target(kbdja 1)
+add_cd_file(TARGET kbdja DESTINATION reactos/system32)
add_dependencies(kbdkaz psdk)
-add_cab_target(kbdkaz 1)
+add_cd_file(TARGET kbdkaz DESTINATION reactos/system32)
add_dependencies(kbdko psdk)
-add_cab_target(kbdko 1)
+add_cd_file(TARGET kbdko DESTINATION reactos/system32)
add_dependencies(kbdla psdk)
-add_cab_target(kbdla 1)
+add_cd_file(TARGET kbdla DESTINATION reactos/system32)
add_dependencies(kbdlt1 psdk)
-add_cab_target(kbdlt1 1)
+add_cd_file(TARGET kbdlt1 DESTINATION reactos/system32)
add_dependencies(kbdlv psdk)
-add_cab_target(kbdlv 1)
+add_cd_file(TARGET kbdlv DESTINATION reactos/system32)
add_dependencies(kbdmac psdk)
-add_cab_target(kbdmac 1)
+add_cd_file(TARGET kbdmac DESTINATION reactos/system32)
add_dependencies(kbdne psdk)
-add_cab_target(kbdne 1)
+add_cd_file(TARGET kbdne DESTINATION reactos/system32)
add_dependencies(kbdno psdk)
-add_cab_target(kbdno 1)
+add_cd_file(TARGET kbdno DESTINATION reactos/system32)
add_dependencies(kbdpl1 psdk)
-add_cab_target(kbdpl1 1)
+add_cd_file(TARGET kbdpl1 DESTINATION reactos/system32)
add_dependencies(kbdpo psdk)
-add_cab_target(kbdpo 1)
+add_cd_file(TARGET kbdpo DESTINATION reactos/system32)
add_dependencies(kbdro psdk)
-add_cab_target(kbdro 1)
+add_cd_file(TARGET kbdro DESTINATION reactos/system32)
add_dependencies(kbdru psdk)
-add_cab_target(kbdru 1)
+add_cd_file(TARGET kbdru DESTINATION reactos/system32)
add_dependencies(kbdru1 psdk)
-add_cab_target(kbdru1 1)
+add_cd_file(TARGET kbdru1 DESTINATION reactos/system32)
add_dependencies(kbdsg psdk)
-add_cab_target(kbdsg 1)
+add_cd_file(TARGET kbdsg DESTINATION reactos/system32)
add_dependencies(kbdsk psdk)
-add_cab_target(kbdsk 1)
+add_cd_file(TARGET kbdsk DESTINATION reactos/system32)
add_dependencies(kbdsk1 psdk)
-add_cab_target(kbdsk1 1)
+add_cd_file(TARGET kbdsk1 DESTINATION reactos/system32)
add_dependencies(kbdsw psdk)
-add_cab_target(kbdsw 1)
+add_cd_file(TARGET kbdsw DESTINATION reactos/system32)
add_dependencies(kbdtat psdk)
-add_cab_target(kbdtat 1)
+add_cd_file(TARGET kbdtat DESTINATION reactos/system32)
add_dependencies(kbdth0 psdk)
-add_cab_target(kbdth0 1)
+add_cd_file(TARGET kbdth0 DESTINATION reactos/system32)
add_dependencies(kbdth1 psdk)
-add_cab_target(kbdth1 1)
+add_cd_file(TARGET kbdth1 DESTINATION reactos/system32)
add_dependencies(kbdth2 psdk)
-add_cab_target(kbdth2 1)
+add_cd_file(TARGET kbdth2 DESTINATION reactos/system32)
add_dependencies(kbdth3 psdk)
-add_cab_target(kbdth3 1)
+add_cd_file(TARGET kbdth3 DESTINATION reactos/system32)
add_dependencies(kbdtuf psdk)
-add_cab_target(kbdtuf 1)
+add_cd_file(TARGET kbdtuf DESTINATION reactos/system32)
add_dependencies(kbdtuq psdk)
-add_cab_target(kbdtuq 1)
+add_cd_file(TARGET kbdtuq DESTINATION reactos/system32)
add_dependencies(kbduk psdk)
-add_cab_target(kbduk 1)
+add_cd_file(TARGET kbduk DESTINATION reactos/system32)
add_dependencies(kbdur psdk)
-add_cab_target(kbdur 1)
+add_cd_file(TARGET kbdur DESTINATION reactos/system32)
add_dependencies(kbdurs psdk)
-add_cab_target(kbdurs 1)
+add_cd_file(TARGET kbdurs DESTINATION reactos/system32)
add_dependencies(kbdus psdk)
-add_cab_target(kbdus 1)
+add_cd_file(TARGET kbdus DESTINATION reactos/system32)
add_dependencies(kbdusa psdk)
-add_cab_target(kbdusa 1)
+add_cd_file(TARGET kbdusa DESTINATION reactos/system32)
add_dependencies(kbdusl psdk)
-add_cab_target(kbdusl 1)
+add_cd_file(TARGET kbdusl DESTINATION reactos/system32)
add_dependencies(kbdusr psdk)
-add_cab_target(kbdusr 1)
+add_cd_file(TARGET kbdusr DESTINATION reactos/system32)
add_dependencies(kbdusx psdk)
-add_cab_target(kbdusx 1)
+add_cd_file(TARGET kbdusx DESTINATION reactos/system32)
add_dependencies(kbduzb psdk)
-add_cab_target(kbduzb 1)
+add_cd_file(TARGET kbduzb DESTINATION reactos/system32)
add_dependencies(kbdvntc psdk)
-add_cab_target(kbdvntc 1)
+add_cd_file(TARGET kbdvntc DESTINATION reactos/system32)
add_dependencies(kbdycc psdk)
-add_cab_target(kbdycc 1)
+add_cd_file(TARGET kbdycc DESTINATION reactos/system32)
add_dependencies(kbdycl psdk)
-add_cab_target(kbdycl 1)
+add_cd_file(TARGET kbdycl DESTINATION reactos/system32)
add_dependencies(idndl psdk)
-add_livecd_target(idndl reactos)
+add_cd_file(TARGET idndl DESTINATION reactos)
add_pch(ntdll ${CMAKE_CURRENT_SOURCE_DIR}/include/ntdll.h ${SOURCE})
add_dependencies(ntdll ntstatus asm)
-add_minicd_target(ntdll reactos/system32 ntdll.dll)
-add_cab_target(ntdll 1)
+add_cd_file(TARGET ntdll DESTINATION reactos/system32 NO_CAB)
add_importlib_target(def/ntdll.spec)
add_pch(deskadp ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-add_cab_target(deskadp 1)
+add_cd_file(TARGET deskadp DESTINATION reactos/system32)
add_pch(deskmon ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-add_cab_target(deskmon 1)
+add_cd_file(TARGET deskmon DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(devcpux 1)
+add_cd_file(TARGET devcpux DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(fontext 1)
+add_cd_file(TARGET fontext DESTINATION reactos/system32)
add_pch(slayer ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-add_cab_target(slayer 1)
+add_cd_file(TARGET slayer DESTINATION reactos/system32)
set_module_type(acledit win32dll)
add_importlibs(acledit msvcrt kernel32 ntdll)
-add_cab_target(acledit 1)
+add_cd_file(TARGET acledit DESTINATION reactos/system32)
add_importlib_target(acledit.spec)
add_pch(aclui ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-add_cab_target(aclui 1)
+add_cd_file(TARGET aclui DESTINATION reactos/system32)
add_importlibs(activeds msvcrt kernel32 ntdll)
-add_cab_target(activeds 1)
+add_cd_file(TARGET activeds DESTINATION reactos/system32)
add_definitions(-DREGISTER_PROXY_DLL -DPROXY_DELEGATION)
-add_cab_target(actxprxy 1)
+add_cd_file(TARGET actxprxy DESTINATION reactos/system32)
add_importlibs(advapi32 rpcrt4 kernel32 ntdll msvcrt)
add_pch(advapi32 ${CMAKE_CURRENT_SOURCE_DIR}/advapi32.h ${SOURCE})
-add_cab_target(advapi32 1)
+add_cd_file(TARGET advapi32 DESTINATION reactos/system32)
add_importlib_target(advapi32.spec)
target_link_libraries(advpack wine)
add_importlibs(advpack ole32 setupapi version advapi32 msvcrt kernel32 ntdll)
-add_cab_target(advpack 1)
+add_cd_file(TARGET advpack DESTINATION reactos/system32)
add_importlib_target(atl.spec)
add_dependencies(atl atl_atliface_header)
-add_cab_target(atl 1)
+add_cd_file(TARGET atl DESTINATION reactos/system32)
add_pch(authz ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
add_importlibs(authz advapi32 msvcrt kernel32 ntdll)
-add_cab_target(authz 1)
+add_cd_file(TARGET authz DESTINATION reactos/system32)
add_importlibs(avicap32 advapi32 user32 version msvcrt kernel32 ntdll)
-add_cab_target(avicap32 1)
+add_cd_file(TARGET avicap32 DESTINATION reactos/system32)
add_importlib_target(avicap32.spec)
ntdll)
add_importlib_target(avifil32.spec)
-add_cab_target(avifil32 1)
+add_cd_file(TARGET avifil32 DESTINATION reactos/system32)
add_importlibs(batt msvcrt kernel32 ntdll)
-add_cab_target(batt 1)
+add_cd_file(TARGET batt DESTINATION reactos/system32)
add_importlibs(bcrypt msvcrt kernel32 ntdll)
-add_cab_target(bcrypt 1)
+add_cd_file(TARGET bcrypt DESTINATION reactos/system32)
add_importlib_target(beepmidi.spec)
add_dependencies(beepmidi psdk)
-add_cab_target(beepmidi 1)
+add_cd_file(TARGET beepmidi DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(browseui 1)
+add_cd_file(TARGET browseui DESTINATION reactos/system32)
add_importlib_target(cabinet.spec)
add_dependencies(cabinet psdk)
-add_cab_target(cabinet 1)
+add_cd_file(TARGET cabinet DESTINATION reactos/system32)
set_module_type(cards win32dll)
add_importlibs(cards user32 gdi32 msvcrt kernel32)
add_importlib_target(cards.spec)
-add_cab_target(cards 1)
+add_cd_file(TARGET cards DESTINATION reactos/system32)
set_entrypoint(cfgmgr32 0)
add_importlibs(cfgmgr32 setupapi kernel32 ntdll)
add_dependencies(cfgmgr32 psdk)
-add_cab_target(cfgmgr32 1)
+add_cd_file(TARGET cfgmgr32 DESTINATION reactos/system32)
add_importlibs(clusapi msvcrt kernel32 ntdll)
-add_cab_target(clusapi 1)
+add_cd_file(TARGET clusapi DESTINATION reactos/system32)
add_importlibs(comcat ole32 user32 advapi32 ntdll)
add_dependencies(comcat psdk)
-add_cab_target(comcat 1)
+add_cd_file(TARGET comcat DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(comctl32 1)
+add_cd_file(TARGET comctl32 DESTINATION reactos/system32)
add_importlib_target(comctl32.spec)
kernel32
ntdll)
-add_cab_target(comdlg32 1)
+add_cd_file(TARGET comdlg32 DESTINATION reactos/system32)
add_importlib_target(comdlg32.spec)
target_link_libraries(compstui wine)
add_importlibs(compstui msvcrt kernel32 ntdll)
-add_cab_target(compstui 1)
+add_cd_file(TARGET compstui DESTINATION reactos/system32)
add_importlib_target(compstui.spec)
add_importlibs(credui advapi32 user32 comctl32 msvcrt kernel32 ntdll)
add_importlib_target(credui.spec)
-add_cab_target(credui 1)
+add_cd_file(TARGET credui DESTINATION reactos/system32)
add_importlibs(crtdll kernel32 ntdll)
add_pch(crtdll ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-add_cab_target(crtdll 1)
+add_cd_file(TARGET crtdll DESTINATION reactos/system32)
add_importlibs(crypt32 user32 advapi32 msvcrt kernel32 ntdll)
-add_cab_target(crypt32 1)
+add_cd_file(TARGET crypt32 DESTINATION reactos/system32)
add_importlib_target(crypt32.spec)
kernel32
ntdll)
-add_cab_target(cryptdlg 1)
+add_cd_file(TARGET cryptdlg DESTINATION reactos/system32)
set_module_type(cryptdll win32dll)
target_link_libraries(cryptdll wine)
add_importlibs(cryptdll advapi32 msvcrt kernel32 ntdll)
-add_cab_target(cryptdll 1)
+add_cd_file(TARGET cryptdll DESTINATION reactos/system32)
ntdll)
add_importlib_target(cryptnet.spec)
-add_cab_target(cryptnet 1)
+add_cd_file(TARGET cryptnet DESTINATION reactos/system32)
ntdll)
add_importlib_target(cryptui.spec)
-add_cab_target(cryptui 1)
+add_cd_file(TARGET cryptui DESTINATION reactos/system32)
add_importlibs(dbghelp psapi version msvcrt kernel32 ntdll)
add_importlib_target(dbghelp.spec)
-add_cab_target(dbghelp 1)
+add_cd_file(TARGET dbghelp DESTINATION reactos/system32)
set_module_type(dciman32 win32dll)
target_link_libraries(dciman32 wine)
add_importlibs(dciman32 msvcrt kernel32 ntdll)
-add_cab_target(dciman32 1)
+add_cd_file(TARGET dciman32 DESTINATION reactos/system32)
add_pch(devmgr ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-add_cab_target(devmgr 1)
+add_cd_file(TARGET devmgr DESTINATION reactos/system32)
add_importlib_target(devmgr.spec)
add_pch(dhcpcsvc ${CMAKE_CURRENT_SOURCE_DIR}/include/rosdhcp.h ${SOURCE})
-add_cab_target(dhcpcsvc 1)
+add_cd_file(TARGET dhcpcsvc DESTINATION reactos/system32)
add_importlibs(dnsapi user32 ws2_32 iphlpapi msvcrt kernel32 ntdll)
add_pch(dnsapi ${CMAKE_CURRENT_SOURCE_DIR}/dnsapi/precomp.h ${SOURCE})
add_dependencies(dnsapi psdk)
-add_cab_target(dnsapi 1)
+add_cd_file(TARGET dnsapi DESTINATION reactos/system32)
add_importlib_target(dnsapi.spec)
set_module_type(dwmapi win32dll)
target_link_libraries(dwmapi wine)
add_importlibs(dwmapi msvcrt kernel32 ntdll)
-add_cab_target(dwmapi 1)
+add_cd_file(TARGET dwmapi DESTINATION reactos/system32)
set_module_type(faultrep win32dll)
target_link_libraries(faultrep wine)
add_importlibs(faultrep advapi32 msvcrt kernel32 ntdll)
-add_cab_target(faultrep 1)
+add_cd_file(TARGET faultrep DESTINATION reactos/system32)
add_importlibs(fmifs kernel32 ntdll)
add_dependencies(fmifs psdk)
-add_cab_target(fmifs 1)
+add_cd_file(TARGET fmifs DESTINATION reactos/system32)
add_importlib_target(fmifs.spec)
set_module_type(fusion win32dll)
target_link_libraries(fusion wine uuid)
add_importlibs(fusion shlwapi advapi32 dbghelp user32 msvcrt kernel32 ntdll)
-add_cab_target(fusion 1)
+add_cd_file(TARGET fusion DESTINATION reactos/system32)
add_importlibs(gdi32 user32 advapi32 msvcrt kernel32 ntdll)
add_pch(gdi32 ${CMAKE_CURRENT_SOURCE_DIR}/include/precomp.h ${SOURCE})
-add_cab_target(gdi32 1)
+add_cd_file(TARGET gdi32 DESTINATION reactos/system32)
add_importlib_target(gdi32.spec)
target_link_libraries(gdiplus crt)
endif(ARCH MATCHES amd64)
-add_cab_target(gdiplus 1)
+add_cd_file(TARGET gdiplus DESTINATION reactos/system32)
add_importlib_target(getuname.spec)
set_module_type(getuname win32dll)
add_importlibs(getuname msvcrt kernel32 ntdll)
-add_cab_target(getuname 1)
+add_cd_file(TARGET getuname DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(glu32 1)
+add_cd_file(TARGET glu32 DESTINATION reactos/system32)
add_importlib_target(glu32.spec)
kernel32
ntdll)
-add_cab_target(hhctrl 1)
+add_cd_file(TARGET hhctrl DESTINATION reactos/system32)
add_importlibs(hid msvcrt kernel32 ntdll)
add_pch(hid ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-add_cab_target(hid 1)
+add_cd_file(TARGET hid DESTINATION reactos/system32)
ntdll)
add_importlib_target(hlink.spec)
-add_cab_target(hlink 1)
+add_cd_file(TARGET hlink DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(hnetcfg 1)
+add_cd_file(TARGET hnetcfg DESTINATION reactos/system32)
set_module_type(httpapi win32dll)
target_link_libraries(httpapi wine)
add_importlibs(httpapi msvcrt kernel32 ntdll)
-add_cab_target(httpapi 1)
+add_cd_file(TARGET httpapi DESTINATION reactos/system32)
set_module_type(iccvid win32dll)
target_link_libraries(iccvid wine)
add_importlibs(iccvid user32 msvcrt kernel32 ntdll)
-add_cab_target(iccvid 1)
+add_cd_file(TARGET iccvid DESTINATION reactos/system32)
target_link_libraries(icmp wine)
add_importlibs(icmp ws2_32 msvcrt kernel32 ntdll)
add_importlib_target(icmp.spec)
-add_cab_target(icmp 1)
+add_cd_file(TARGET icmp DESTINATION reactos/system32)
add_importlibs(imaadp32.acm winmm user32 msvcrt kernel32 ntdll)
add_dependencies(imaadp32.acm psdk)
-add_cab_target(imaadp32.acm 1)
+add_cd_file(TARGET imaadp32.acm DESTINATION reactos/system32)
add_pch(imagehlp ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-add_cab_target(imagehlp 1)
+add_cd_file(TARGET imagehlp DESTINATION reactos/system32)
set_module_type(imm32 win32dll)
target_link_libraries(imm32 wine)
add_importlibs(imm32 advapi32 user32 msvcrt kernel32 ntdll)
-add_cab_target(imm32 1)
+add_cd_file(TARGET imm32 DESTINATION reactos/system32)
add_importlib_target(imm32.spec)
ntdll)
add_importlib_target(inetcomm.spec)
-add_cab_target(inetcomm 1)
+add_cd_file(TARGET inetcomm DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(inetmib1 1)
+add_cd_file(TARGET inetmib1 DESTINATION reactos/system32)
set_module_type(initpki win32dll)
target_link_libraries(initpki wine)
add_importlibs(initpki msvcrt kernel32 ntdll)
-add_cab_target(initpki 1)
+add_cd_file(TARGET initpki DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(inseng 1)
+add_cd_file(TARGET inseng DESTINATION reactos/system32)
target_link_libraries(iphlpapi wine tdilib)
add_importlibs(iphlpapi dhcpcsvc advapi32 ws2_32 msvcrt kernel32 ntdll)
-add_cab_target(iphlpapi 1)
+add_cd_file(TARGET iphlpapi DESTINATION reactos/system32)
add_importlib_target(iphlpapi.spec)
add_importlibs(itircl msvcrt kernel32 ntdll)
add_dependencies(itircl psdk)
-add_cab_target(itircl 1)
+add_cd_file(TARGET itircl DESTINATION reactos/system32)
ntdll)
add_dependencies(itss wineheaders)
-add_cab_target(itss 1)
+add_cd_file(TARGET itss DESTINATION reactos/system32)
ntdll)
add_dependencies(jscript jsglobal)
-add_cab_target(jscript 1)
+add_cd_file(TARGET jscript DESTINATION reactos/system32)
add_importlibs(kernel32 ntdll)
add_pch(kernel32 ${CMAKE_CURRENT_SOURCE_DIR}/k32.h ${SOURCE})
add_dependencies(kernel32 psdk errcodes asm)
-add_cab_target(kernel32 1)
+add_cd_file(TARGET kernel32 DESTINATION reactos/system32)
add_importlib_target(kernel32.spec)
set_module_type(loadperf win32dll)
target_link_libraries(loadperf wine)
add_importlibs(loadperf msvcrt kernel32 ntdll)
-add_cab_target(loadperf 1)
+add_cd_file(TARGET loadperf DESTINATION reactos/system32)
add_importlib_target(loadperf.spec)
kernel32
ntdll)
-add_cab_target(localspl 1)
+add_cd_file(TARGET localspl DESTINATION reactos/system32)
add_importlib_target(localui.spec)
add_importlibs(localui winspool user32 msvcrt kernel32 ntdll)
-add_cab_target(localui 1)
+add_cd_file(TARGET localui DESTINATION reactos/system32)
add_importlib_target(lpk.spec)
add_importlibs(lpk user32 usp10 msvcrt kernel32 ntdll)
-add_cab_target(lpk 1)
+add_cd_file(TARGET lpk DESTINATION reactos/system32)
add_importlibs(lsasrv rpcrt4 kernel32 ntdll)
add_dependencies(lsasrv psdk)
-add_cab_target(lsasrv 1)
+add_cd_file(TARGET lsasrv DESTINATION reactos/system32)
add_importlib_target(lsasrv.spec)
add_importlibs(lz32 kernel32 ntdll)
add_dependencies(lz32 psdk)
-add_cab_target(lz32 1)
+add_cd_file(TARGET lz32 DESTINATION reactos/system32)
add_importlib_target(lz32.spec)
target_link_libraries(mapi32 wine uuid)
add_importlibs(mapi32 shlwapi shell32 user32 advapi32 msvcrt kernel32 ntdll)
-add_cab_target(mapi32 1)
+add_cd_file(TARGET mapi32 DESTINATION reactos/system32)
set_module_type(mciavi32 win32dll)
target_link_libraries(mciavi32 wine)
add_importlibs(mciavi32 msvfw32 winmm user32 gdi32 msvcrt kernel32 ntdll)
-add_cab_target(mciavi32 1)
+add_cd_file(TARGET mciavi32 DESTINATION reactos/system32)
target_link_libraries(mcicda wine)
add_importlibs(mcicda winmm user32 kernel32 ntdll)
add_dependencies(mcicda psdk)
-add_cab_target(mcicda 1)
+add_cd_file(TARGET mcicda DESTINATION reactos/system32)
target_link_libraries(mciqtz32 wine strmiids)
add_importlibs(mciqtz32 winmm oleaut32 ole32 user32 gdi32 msvcrt kernel32 ntdll)
-add_cab_target(mciqtz32 1)
+add_cd_file(TARGET mciqtz32 DESTINATION reactos/system32)
target_link_libraries(mciseq wine)
add_importlibs(mciseq winmm user32 kernel32 ntdll msvcrt)
add_dependencies(mciseq psdk)
-add_cab_target(mciseq 1)
+add_cd_file(TARGET mciseq DESTINATION reactos/system32)
target_link_libraries(mciwave wine)
add_importlibs(mciwave user32 winmm msvcrt kernel32 ntdll)
add_dependencies(mciwave psdk)
-add_cab_target(mciwave 1)
+add_cd_file(TARGET mciwave DESTINATION reactos/system32)
add_importlib_target(mlang.spec)
add_dependencies(mlang psdk)
-add_cab_target(mlang 1)
+add_cd_file(TARGET mlang DESTINATION reactos/system32)
set_entrypoint(mmdrv 0)
add_importlibs(mmdrv winmm user32 kernel32 ntdll)
add_dependencies(mmdrv psdk)
-add_cab_target(mmdrv 1)
+add_cd_file(TARGET mmdrv DESTINATION reactos/system32)
set_module_type(modemui win32dll)
add_importlibs(modemui msvcrt kernel32 ntdll)
-add_cab_target(modemui 1)
+add_cd_file(TARGET modemui DESTINATION reactos/system32)
target_link_libraries(mpr wine)
add_importlibs(mpr advapi32 user32 msvcrt kernel32 ntdll)
-add_cab_target(mpr 1)
+add_cd_file(TARGET mpr DESTINATION reactos/system32)
add_importlib_target(mpr.spec)
set_module_type(mprapi win32dll)
target_link_libraries(mprapi wine)
add_importlibs(mprapi msvcrt kernel32 ntdll)
-add_cab_target(mprapi 1)
+add_cd_file(TARGET mprapi DESTINATION reactos/system32)
add_importlibs(msacm32 msvcrt advapi32 user32 winmm kernel32 ntdll)
add_dependencies(msacm32 psdk)
-add_cab_target(msacm32 1)
+add_cd_file(TARGET msacm32 DESTINATION reactos/system32)
add_importlib_target(msacm32.spec)
add_subdirectory(msacm32.drv)
add_importlibs(msacm32.drv msacm32 user32 winmm advapi32 kernel32 ntdll)
add_dependencies(msacm32.drv psdk)
-add_cab_target(msacm32.drv 1)
\ No newline at end of file
+add_cd_file(TARGET msacm32.drv DESTINATION reactos/system32)
\ No newline at end of file
target_link_libraries(msadp32.acm wine)
add_importlibs(msadp32.acm winmm user32 msvcrt kernel32 ntdll)
add_dependencies(msadp32.acm psdk)
-add_cab_target(msadp32.acm 1)
+add_cd_file(TARGET msadp32.acm DESTINATION reactos/system32)
add_pch(msafd ${CMAKE_CURRENT_SOURCE_DIR}/msafd.h ${SOURCE})
add_importlibs(msafd advapi32 msvcrt kernel32 ntdll)
-add_cab_target(msafd 1)
+add_cd_file(TARGET msafd DESTINATION reactos/system32)
set_module_type(mscat32 win32dll)
target_link_libraries(mscat32 wine)
add_importlibs(mscat32 wintrust msvcrt kernel32 ntdll)
-add_cab_target(mscat32 1)
+add_cd_file(TARGET mscat32 DESTINATION reactos/system32)
set_module_type(mscms win32dll)
target_link_libraries(mscms wine)
add_importlibs(mscms msvcrt advapi32 kernel32 ntdll)
-add_cab_target(mscms 1)
+add_cd_file(TARGET mscms DESTINATION reactos/system32)
set_module_type(mscoree win32dll)
target_link_libraries(mscoree wine uuid)
add_importlibs(mscoree advapi32 shell32 msvcrt kernel32 ntdll)
-add_cab_target(mscoree 1)
+add_cd_file(TARGET mscoree DESTINATION reactos/system32)
target_link_libraries(msctf uuid wine)
add_importlibs(msctf ole32 oleaut32 user32 advapi32 msvcrt kernel32 ntdll)
-add_cab_target(msctf 1)
+add_cd_file(TARGET msctf DESTINATION reactos/system32)
target_link_libraries(msftedit uuid wine)
add_importlibs(msftedit riched20 msvcrt kernel32 ntdll)
-add_cab_target(msftedit 1)
+add_cd_file(TARGET msftedit DESTINATION reactos/system32)
target_link_libraries(msg711.acm wine)
add_importlibs(msg711.acm winmm user32 msvcrt kernel32 ntdll)
add_dependencies(msg711.acm psdk)
-add_cab_target(msg711.acm 1)
+add_cd_file(TARGET msg711.acm DESTINATION reactos/system32)
set_module_type(msgina win32dll)
target_link_libraries(msgina wine)
add_importlibs(msgina advapi32 user32 gdi32 userenv msvcrt kernel32 ntdll)
-add_cab_target(msgina 1)
+add_cd_file(TARGET msgina DESTINATION reactos/system32)
add_importlibs(msgsm32.acm winmm user32 msvcrt kernel32 ntdll)
add_dependencies(msgsm32.acm psdk)
-add_cab_target(msgsm32.acm 1)
+add_cd_file(TARGET msgsm32.acm DESTINATION reactos/system32)
set_entrypoint(mshtml.tlb 0)
set_target_properties(mshtml.tlb PROPERTIES SUFFIX "")
add_dependencies(mshtml.tlb mshtml_tlb)
-add_cab_target(mshtml.tlb 1)
+add_cd_file(TARGET mshtml.tlb DESTINATION reactos/system32)
ntdll)
add_dependencies(mshtml mshtml_nsiface_header)
-add_cab_target(mshtml 1)
+add_cd_file(TARGET mshtml DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(msi 1)
+add_cd_file(TARGET msi DESTINATION reactos/system32)
add_importlib_target(msi.spec)
set_module_type(msimg32 win32dll)
target_link_libraries(msimg32 wine)
add_importlibs(msimg32 gdi32 msvcrt kernel32 ntdll)
-add_cab_target(msimg32 1)
+add_cd_file(TARGET msimg32 DESTINATION reactos/system32)
add_importlib_target(msimg32.spec)
target_link_libraries(msimtf uuid wine)
add_importlibs(msimtf msvcrt imm32 kernel32 ntdll)
-add_cab_target(msimtf 1)
+add_cd_file(TARGET msimtf DESTINATION reactos/system32)
target_link_libraries(msisip wine)
add_importlibs(msisip crypt32 ole32 msvcrt kernel32 ntdll)
-add_cab_target(msisip 1)
+add_cd_file(TARGET msisip DESTINATION reactos/system32)
set_module_type(msisys win32ocx)
target_link_libraries(msisys uuid wine)
add_importlibs(msisys msvcrt kernel32 ntdll)
-add_cab_target(msisys 1)
+add_cd_file(TARGET msisys DESTINATION reactos/system32)
add_importlibs(msnet32 msvcrt kernel32 ntdll)
-add_cab_target(msnet32 1)
+add_cd_file(TARGET msnet32 DESTINATION reactos/system32)
set_module_type(msrle32 win32dll)
target_link_libraries(msrle32 wine)
add_importlibs(msrle32 msvcrt winmm user32 kernel32 ntdll)
-add_cab_target(msrle32 1)
+add_cd_file(TARGET msrle32 DESTINATION reactos/system32)
add_importlibs(mssign32 msvcrt kernel32 ntdll)
-add_cab_target(mssign32 1)
+add_cd_file(TARGET mssign32 DESTINATION reactos/system32)
add_importlibs(mssip32 msvcrt kernel32 ntdll)
-add_cab_target(mssip32 1)
+add_cd_file(TARGET mssip32 DESTINATION reactos/system32)
add_importlibs(mstask ole32 msvcrt kernel32 ntdll)
-add_cab_target(mstask 1)
+add_cd_file(TARGET mstask DESTINATION reactos/system32)
add_pch(msvcrt ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
add_importlibs(msvcrt kernel32 ntdll)
-add_cab_target(msvcrt 1)
+add_cd_file(TARGET msvcrt DESTINATION reactos/system32)
add_importlib_target(msvcrt.spec)
add_importlibs(msvcrt20 msvcrt kernel32 ntdll)
add_dependencies(msvcrt20 psdk)
-add_cab_target(msvcrt20 1)
+add_cd_file(TARGET msvcrt20 DESTINATION reactos/system32)
add_importlibs(msvcrt40 msvcrt kernel32 ntdll)
-add_cab_target(msvcrt40 1)
+add_cd_file(TARGET msvcrt40 DESTINATION reactos/system32)
add_importlibs(msvfw32 winmm version comctl32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
-add_cab_target(msvfw32 1)
+add_cd_file(TARGET msvfw32 DESTINATION reactos/system32)
add_importlib_target(msvfw32.spec)
set_module_type(msvidc32 win32dll)
target_link_libraries(msvidc32 wine)
add_importlibs(msvidc32 user32 msvcrt kernel32 ntdll)
-add_cab_target(msvidc32 1)
+add_cd_file(TARGET msvidc32 DESTINATION reactos/system32)
set_module_type(mswsock win32dll)
add_importlibs(mswsock ws2_32 msvcrt kernel32)
-add_cab_target(mswsock 1)
+add_cd_file(TARGET mswsock DESTINATION reactos/system32)
add_importlib_target(mswsock.spec)
ntdll)
add_dependencies(msxml3 msxml3_v1)
-add_cab_target(msxml3 1)
+add_cd_file(TARGET msxml3 DESTINATION reactos/system32)
add_importlibs(nddeapi kernel32 ntdll)
add_dependencies(nddeapi psdk)
-add_cab_target(nddeapi 1)
\ No newline at end of file
+add_cd_file(TARGET nddeapi DESTINATION reactos/system32)
\ No newline at end of file
add_importlibs(netapi32 iphlpapi ws2_32 advapi32 msvcrt kernel32 ntdll)
-add_cab_target(netapi32 1)
+add_cd_file(TARGET netapi32 DESTINATION reactos/system32)
add_importlib_target(netapi32.spec)
add_importlibs(netcfgx rpcrt4 setupapi advapi32 iphlpapi ole32 user32 comctl32 ws2_32 msvcrt kernel32 ntdll)
-add_cab_target(netcfgx 1)
+add_cd_file(TARGET netcfgx DESTINATION reactos/system32)
add_importlibs(netevent msvcrt kernel32)
add_dependencies(netevent neteventmsg)
-add_cab_target(netevent 1)
+add_cd_file(TARGET netevent DESTINATION reactos/system32)
set_module_type(netid win32dll)
add_importlibs(netid user32 gdi32 comctl32 advapi32 netapi32 msvcrt kernel32 ntdll)
-add_cab_target(netid 1)
+add_cd_file(TARGET netid DESTINATION reactos/system32)
add_pch(netshell ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-add_cab_target(netshell 1)
+add_cd_file(TARGET netshell DESTINATION reactos/system32)
add_importlibs(newdev gdi32 comctl32 setupapi advapi32 user32 shell32 msvcrt kernel32 ntdll)
-add_cab_target(newdev 1)
+add_cd_file(TARGET newdev DESTINATION reactos/system32)
add_importlib_target(newdev.spec)
add_importlibs(ntdsapi user32 kernel32 ntdll)
add_importlib_target(ntdsapi.spec)
add_dependencies(ntdsapi psdk)
-add_cab_target(ntdsapi 1)
+add_cd_file(TARGET ntdsapi DESTINATION reactos/system32)
add_importlibs(ntlanman netapi32 msvcrt kernel32 ntdll)
-add_cab_target(ntlanman 1)
+add_cd_file(TARGET ntlanman DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(ntmarta 1)
+add_cd_file(TARGET ntmarta DESTINATION reactos/system32)
add_importlibs(ntprint winspool msvcrt kernel32 ntdll)
add_dependencies(ntprint psdk)
-add_cab_target(ntprint 1)
+add_cd_file(TARGET ntprint DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(objsel 1)
+add_cd_file(TARGET objsel DESTINATION reactos/system32)
ntdll)
-add_cab_target(odbc32 1)
+add_cd_file(TARGET odbc32 DESTINATION reactos/system32)
ntdll)
add_importlib_target(odbccp32.spec)
-add_cab_target(odbccp32 1)
+add_cd_file(TARGET odbccp32 DESTINATION reactos/system32)
add_importlibs(ole32 advapi32 user32 gdi32 rpcrt4 msvcrt kernel32 ntdll)
add_dependencies(ole32 ole32idl)
-add_cab_target(ole32 1)
+add_cd_file(TARGET ole32 DESTINATION reactos/system32)
add_importlib_target(ole32.spec)
add_importlibs(oleacc user32 msvcrt kernel32 ntdll)
add_importlib_target(oleacc.spec)
-add_cab_target(oleacc 1)
+add_cd_file(TARGET oleacc DESTINATION reactos/system32)
add_importlibs(oleaut32 windowscodecs ole32 rpcrt4 user32 gdi32 advapi32 comctl32 urlmon msvcrt kernel32 ntdll)
-add_cab_target(oleaut32 1)
+add_cd_file(TARGET oleaut32 DESTINATION reactos/system32)
add_importlib_target(oleaut32.spec)
add_importlibs(olecli32 ole32 gdi32 kernel32 ntdll)
add_dependencies(olecli32 psdk)
-add_cab_target(olecli32 1)
+add_cd_file(TARGET olecli32 DESTINATION reactos/system32)
target_link_libraries(oledlg wine)
add_importlibs(oledlg ole32 comdlg32 user32 advapi32 msvcrt kernel32 ntdll)
add_importlib_target(oledlg.spec)
-add_cab_target(oledlg 1)
+add_cd_file(TARGET oledlg DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(olepro32 1)
+add_cd_file(TARGET olepro32 DESTINATION reactos/system32)
add_importlibs(olesvr32 kernel32 ntdll)
add_dependencies(olesvr32 psdk)
-add_cab_target(olesvr32 1)
+add_cd_file(TARGET olesvr32 DESTINATION reactos/system32)
add_importlibs(olethk32 msvcrt kernel32 ntdll)
add_dependencies(olethk32 psdk)
-add_cab_target(olethk32 1)
+add_cd_file(TARGET olethk32 DESTINATION reactos/system32)
add_pch(opengl32 ${CMAKE_CURRENT_SOURCE_DIR}/opengl32.h ${SOURCE})
-add_cab_target(opengl32 1)
+add_cd_file(TARGET opengl32 DESTINATION reactos/system32)
add_importlib_target(opengl32.spec)
add_importlibs(pdh kernel32 ntdll msvcrt)
add_importlib_target(pdh.spec)
-add_cab_target(pdh 1)
+add_cd_file(TARGET pdh DESTINATION reactos/system32)
add_importlibs(pidgen msvcrt kernel32 ntdll)
-add_cab_target(pidgen 1)
+add_cd_file(TARGET pidgen DESTINATION reactos/system32)
add_importlibs(powrprof advapi32 user32 comctl32 msvcrt kernel32 ntdll)
add_importlib_target(powrprof.spec)
-add_cab_target(powrprof 1)
+add_cd_file(TARGET powrprof DESTINATION reactos/system32)
add_importlibs(printui shell32 kernel32 ntdll)
add_dependencies(printui psdk)
-add_cab_target(printui 1)
+add_cd_file(TARGET printui DESTINATION reactos/system32)
add_importlibs(psapi msvcrt kernel32 ntdll)
add_importlib_target(psapi.spec)
add_pch(psapi ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-add_cab_target(psapi 1)
+add_cd_file(TARGET psapi DESTINATION reactos/system32)
target_link_libraries(pstorec uuid wine)
add_importlibs(pstorec msvcrt kernel32 ntdll)
add_dependencies(pstorec pstorec_tlb)
-add_cab_target(pstorec 1)
+add_cd_file(TARGET pstorec DESTINATION reactos/system32)
set_module_type(qmgr win32dll)
target_link_libraries(qmgr uuid wine)
add_importlibs(qmgr ole32 wininet urlmon advapi32 msvcrt kernel32 ntdll)
-add_cab_target(qmgr 1)
+add_cd_file(TARGET qmgr DESTINATION reactos/system32)
add_dependencies(qmgr qmgr_idlheader)
set_module_type(qmgrprxy win32dll)
target_link_libraries(qmgrprxy qmgrprxylib ${PSEH_LIB} wine)
add_importlibs(qmgrprxy rpcrt4 msvcrt kernel32 ntdll)
-add_cab_target(qmgrprxy 1)
+add_cd_file(TARGET qmgrprxy DESTINATION reactos/system32)
add_importlibs(query msvcrt kernel32 ntdll)
-add_cab_target(query 1)
+add_cd_file(TARGET query DESTINATION reactos/system32)
add_importlibs(rasadhlp ws2_32 msvcrt kernel32 ntdll)
-add_cab_target(rasadhlp 1)
+add_cd_file(TARGET rasadhlp DESTINATION reactos/system32)
add_importlibs(rasapi32 kernel32 ntdll)
add_importlib_target(rasapi32.spec)
add_dependencies(rasapi32 psdk)
-add_cab_target(rasapi32 1)
+add_cd_file(TARGET rasapi32 DESTINATION reactos/system32)
add_importlibs(rasdlg msvcrt kernel32 ntdll)
-add_cab_target(rasdlg 1)
+add_cd_file(TARGET rasdlg DESTINATION reactos/system32)
add_importlibs(rasman msvcrt kernel32 ntdll)
-add_cab_target(rasman 1)
+add_cd_file(TARGET rasman DESTINATION reactos/system32)
add_importlibs(resutils msvcrt kernel32 ntdll)
-add_cab_target(resutils 1)
+add_cd_file(TARGET resutils DESTINATION reactos/system32)
add_importlib_target(riched20.spec)
-add_cab_target(riched20 1)
+add_cd_file(TARGET riched20 DESTINATION reactos/system32)
set_module_type(riched32 win32dll)
target_link_libraries(riched32 wine)
add_importlibs(riched32 riched20 user32 msvcrt kernel32 ntdll)
-add_cab_target(riched32 1)
+add_cd_file(TARGET riched32 DESTINATION reactos/system32)
add_importlibs(rpcrt4 msvcrt user32 advapi32 secur32 iphlpapi ws2_32 kernel32 ntdll)
add_dependencies(rpcrt4 winesdk)
-add_cab_target(rpcrt4 1)
+add_cd_file(TARGET rpcrt4 DESTINATION reactos/system32)
add_importlib_target(rpcrt4.spec)
set_entrypoint(rsabase 0)
target_link_libraries(rsabase wine)
add_importlibs(rsabase rsaenh ntdll)
-add_cab_target(rsabase 1)
+add_cd_file(TARGET rsabase DESTINATION reactos/system32)
target_link_libraries(rsaenh wine)
add_importlibs(rsaenh msvcrt crypt32 advapi32 kernel32 ntdll)
add_importlib_target(rsaenh.spec)
-add_cab_target(rsaenh 1)
+add_cd_file(TARGET rsaenh DESTINATION reactos/system32)
add_importlibs(samlib advapi32 msvcrt kernel32 ntdll)
-add_cab_target(samlib 1)
+add_cd_file(TARGET samlib DESTINATION reactos/system32)
add_importlib_target(samlib.spec)
set_entrypoint(samsrv 0)
add_importlibs(samsrv kernel32 ntdll)
add_dependencies(samsrv psdk)
-add_cab_target(samsrv 1)
+add_cd_file(TARGET samsrv DESTINATION reactos/system32)
add_importlibs(sccbase msvcrt kernel32 ntdll)
-add_cab_target(sccbase 1)
+add_cd_file(TARGET sccbase DESTINATION reactos/system32)
add_importlibs(schannel secur32 msvcrt kernel32 ntdll)
-add_cab_target(schannel 1)
+add_cd_file(TARGET schannel DESTINATION reactos/system32)
add_importlibs(secur32 advapi32 msvcrt kernel32 ntdll)
add_pch(secur32 ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-add_cab_target(secur32 1)
+add_cd_file(TARGET secur32 DESTINATION reactos/system32)
add_importlib_target(secur32.spec)
add_importlibs(security secur32 advapi32 ntdll kernel32)
-add_cab_target(security 1)
+add_cd_file(TARGET security DESTINATION reactos/system32)
target_link_libraries(sensapi wine)
add_importlibs(sensapi msvcrt kernel32 ntdll)
add_importlib_target(sensapi.spec)
-add_cab_target(sensapi 1)
+add_cd_file(TARGET sensapi DESTINATION reactos/system32)
set_module_type(serialui win32dll)
add_importlibs(serialui user32 shlwapi msvcrt kernel32)
-add_cab_target(serialui 1)
+add_cd_file(TARGET serialui DESTINATION reactos/system32)
ntdll)
-add_cab_target(setupapi 1)
+add_cd_file(TARGET setupapi DESTINATION reactos/system32)
add_importlib_target(setupapi.spec)
add_importlibs(sfc msvcrt kernel32 ntdll)
add_pch(sfc ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-add_cab_target(sfc 1)
+add_cd_file(TARGET sfc DESTINATION reactos/system32)
add_importlibs(sfc_os msvcrt kernel32 ntdll)
add_pch(sfc_os ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-add_cab_target(sfc_os 1)
+add_cd_file(TARGET sfc_os DESTINATION reactos/system32)
add_importlibs(shdoclc kernel32 ntdll)
add_dependencies(shdoclc psdk)
-add_cab_target(shdoclc 1)
\ No newline at end of file
+add_cd_file(TARGET shdoclc DESTINATION reactos/system32)
\ No newline at end of file
ntdll)
add_dependencies(shdocvw shdocvw_v1)
-add_cab_target(shdocvw 1)
+add_cd_file(TARGET shdocvw DESTINATION reactos/system32)
add_importlib_target(shdocvw.spec)
msvcrt
ntdll)
-add_cab_target(shell32 1)
+add_cd_file(TARGET shell32 DESTINATION reactos/system32)
add_importlib_target(shell32.spec)
target_link_libraries(shfolder wine)
add_importlibs(shfolder shell32 kernel32 ntdll)
add_dependencies(shfolder psdk)
-add_cab_target(shfolder 1)
+add_cd_file(TARGET shfolder DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(shimgvw 1)
+add_cd_file(TARGET shimgvw DESTINATION reactos/system32)
msvcrt
ntdll)
-add_cab_target(shlwapi 1)
+add_cd_file(TARGET shlwapi DESTINATION reactos/system32)
add_importlib_target(shlwapi.spec)
add_importlibs(slbcsp msvcrt kernel32 ntdll)
-add_cab_target(slbcsp 1)
+add_cd_file(TARGET slbcsp DESTINATION reactos/system32)
target_link_libraries(smdll smlib)
add_importlibs(smdll ntdll)
add_dependencies(smdll psdk)
-add_cab_target(smdll 1)
+add_cd_file(TARGET smdll DESTINATION reactos/system32)
add_importlib_target(smdll.spec)
set_module_type(sndblst win32dll)
target_link_libraries(sndblst mment4 mmebuddy)
add_importlibs(sndblst user32 winmm advapi32 msvcrt kernel32 ntdll)
-add_cab_target(sndblst 1)
+add_cd_file(TARGET sndblst DESTINATION reactos/system32)
add_importlibs(snmpapi msvcrt kernel32 ntdll)
-add_cab_target(snmpapi 1)
+add_cd_file(TARGET snmpapi DESTINATION reactos/system32)
add_importlib_target(snmpapi.spec)
add_importlibs(softpub wintrust)
-add_cab_target(softpub 1)
\ No newline at end of file
+add_cd_file(TARGET softpub DESTINATION reactos/system32)
\ No newline at end of file
add_importlibs(spoolss winspool msvcrt kernel32 ntdll)
add_importlib_target(spoolss.spec)
-add_cab_target(spoolss 1)
+add_cd_file(TARGET spoolss DESTINATION reactos/system32)
add_importlibs(srclient kernel32 ntdll)
add_dependencies(srclient psdk)
-add_cab_target(srclient 1)
+add_cd_file(TARGET srclient DESTINATION reactos/system32)
set_entrypoint(stdole2.tlb 0)
set_target_properties(stdole2.tlb PROPERTIES SUFFIX "")
add_dependencies(stdole2.tlb std_ole_v2)
-add_cab_target(stdole2.tlb 1)
+add_cd_file(TARGET stdole2.tlb DESTINATION reactos/system32)
set_target_properties(stdole32.tlb PROPERTIES SUFFIX "")
add_dependencies(stdole32.tlb std_ole_v1)
-add_cab_target(stdole32.tlb 1)
+add_cd_file(TARGET stdole32.tlb DESTINATION reactos/system32)
kernel32
ntdll)
-add_cab_target(sti 1)
+add_cd_file(TARGET sti DESTINATION reactos/system32)
add_importlibs(sxs kernel32 ntdll)
add_dependencies(sxs psdk)
-add_cab_target(sxs 1)
+add_cd_file(TARGET sxs DESTINATION reactos/system32)
ntdll)
-add_cab_target(syssetup 1)
+add_cd_file(TARGET syssetup DESTINATION reactos/system32)
add_importlibs(t2embed gdi32 user32 advapi32 version msvcrt kernel32 ntdll)
-add_cab_target(t2embed 1)
+add_cd_file(TARGET t2embed DESTINATION reactos/system32)
add_importlibs(tapi32 advapi32 kernel32 ntdll)
add_dependencies(tapi32 psdk)
-add_cab_target(tapi32 1)
+add_cd_file(TARGET tapi32 DESTINATION reactos/system32)
add_library(tapiui SHARED tapiui.rc)
set_entrypoint(tapiui 0)
add_dependencies(tapiui psdk)
-add_cab_target(tapiui 1)
+add_cd_file(TARGET tapiui DESTINATION reactos/system32)
add_importlibs(traffic msvcrt kernel32 ntdll)
add_dependencies(traffic psdk)
-add_cab_target(traffic 1)
+add_cd_file(TARGET traffic DESTINATION reactos/system32)
set_module_type(twain_32 win32dll)
target_link_libraries(twain_32 wine)
add_importlibs(twain_32 msvcrt kernel32 ntdll)
-add_cab_target(twain_32 1)
+add_cd_file(TARGET twain_32 DESTINATION reactos/system32)
set_module_type(uext2 win32dll)
target_link_libraries(uext2 ext2lib)
add_importlibs(uext2 msvcrt kernel32 ntdll)
-add_cab_target(uext2 1)
+add_cd_file(TARGET uext2 DESTINATION reactos/system32)
set_module_type(ufat win32dll)
target_link_libraries(ufat vfatlib)
add_importlibs(ufat msvcrt kernel32 ntdll)
-add_cab_target(ufat 1)
+add_cd_file(TARGET ufat DESTINATION reactos/system32)
add_importlibs(ufatx kernel32 ntdll)
add_importlib_target(ufatx.spec)
add_dependencies(ufatx psdk)
-add_cab_target(ufatx 1)
+add_cd_file(TARGET ufatx DESTINATION reactos/system32)
advapi32
kernel32
ntdll)
-add_cab_target(unicows 1)
+add_cd_file(TARGET unicows DESTINATION reactos/system32)
set_module_type(untfs win32dll)
target_link_libraries(untfs ntfslib)
add_importlibs(untfs msvcrt kernel32 ntdll)
-add_cab_target(untfs 1)
+add_cd_file(TARGET untfs DESTINATION reactos/system32)
add_importlibs(updspapi setupapi kernel32 ntdll)
add_dependencies(updspapi psdk)
-add_cab_target(updspapi 1)
+add_cd_file(TARGET updspapi DESTINATION reactos/system32)
add_importlibs(url shell32 shlwapi msvcrt kernel32 ntdll)
-add_cab_target(url 1)
+add_cd_file(TARGET url DESTINATION reactos/system32)
add_definitions(-DPROXY_CLSID_IS="{0x79EAC9F1,0xBAF9,0x11CE,{0x8C,0x82,0x00,0xAA,0x00,0x4B,0xA9,0x0B}}")
-add_cab_target(urlmon 1)
+add_cd_file(TARGET urlmon DESTINATION reactos/system32)
add_importlib_target(urlmon.spec)
add_pch(user32 ${CMAKE_CURRENT_SOURCE_DIR}/include/user32.h ${SOURCE})
add_importlibs(user32 gdi32 advapi32 imm32 msvcrt kernel32 ntdll)
-add_cab_target(user32 1)
+add_cd_file(TARGET user32 DESTINATION reactos/system32)
add_importlib_target(user32.spec)
add_importlibs(userenv advapi32 user32 msvcrt kernel32 ntdll)
add_pch(userenv ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-add_cab_target(userenv 1)
+add_cd_file(TARGET userenv DESTINATION reactos/system32)
add_importlib_target(userenv.spec)
add_importlibs(usp10 gdi32 msvcrt kernel32 ntdll)
add_importlib_target(usp10.spec)
-add_cab_target(usp10 1)
+add_cd_file(TARGET usp10 DESTINATION reactos/system32)
add_importlibs(uxtheme user32 advapi32 gdi32 msimg32 msvcrt kernel32 ntdll)
-add_cab_target(uxtheme 1)
+add_cd_file(TARGET uxtheme DESTINATION reactos/system32)
add_importlib_target(uxtheme.spec)
set_module_type(vdmdbg win32dll)
add_importlibs(vdmdbg msvcrt kernel32 ntdll)
add_pch(vdmdbg ${CMAKE_CURRENT_SOURCE_DIR}/vdmdbg.h ${SOURCE})
-add_cab_target(vdmdbg 1)
+add_cd_file(TARGET vdmdbg DESTINATION reactos/system32)
target_link_libraries(version wine)
add_importlibs(version lz32 kernel32 ntdll)
add_dependencies(version psdk)
-add_cab_target(version 1)
+add_cd_file(TARGET version DESTINATION reactos/system32)
add_importlib_target(version.spec)
mmixer)
add_importlibs(wdmaud.drv user32 winmm advapi32 msvcrt setupapi ksuser kernel32 ntdll)
-add_cab_target(wdmaud.drv 1)
+add_cd_file(TARGET wdmaud.drv DESTINATION reactos/system32)
add_importlibs(windowscodecs ole32 shlwapi advapi32 msvcrt kernel32 ntdll)
add_importlib_target(windowscodecs.spec)
-add_cab_target(windowscodecs 1)
+add_cd_file(TARGET windowscodecs DESTINATION reactos/system32)
add_dependencies(winemp3.acm psdk)
-add_cab_target(winemp3.acm 1)
\ No newline at end of file
+add_cd_file(TARGET winemp3.acm DESTINATION reactos/system32)
\ No newline at end of file
add_importlibs(winfax kernel32 ntdll)
add_dependencies(winfax psdk)
-add_cab_target(winfax 1)
+add_cd_file(TARGET winfax DESTINATION reactos/system32)
add_importlibs(wing32 user32 gdi32 msvcrt)
add_dependencies(wing32 psdk)
-add_cab_target(wing32 1)
+add_cd_file(TARGET wing32 DESTINATION reactos/system32)
target_link_libraries(winhttp wine)
add_importlibs(winhttp shlwapi wininet ws2_32 msvcrt crypt32 advapi32 kernel32 ntdll)
add_importlib_target(winhttp.spec)
-add_cab_target(winhttp 1)
+add_cd_file(TARGET winhttp DESTINATION reactos/system32)
add_importlibs(wininet mpr shlwapi shell32 user32 advapi32 secur32 crypt32 ws2_32 msvcrt kernel32 ntdll)
-add_cab_target(wininet 1)
+add_cd_file(TARGET wininet DESTINATION reactos/system32)
add_importlib_target(wininet.spec)
add_subdirectory(midimap)
-add_cab_target(winmm 1)
+add_cd_file(TARGET winmm DESTINATION reactos/system32)
add_importlib_target(winmm.spec)
add_importlibs(midimap advapi32 user32 winmm kernel32 ntdll)
add_dependencies(midimap psdk)
-add_cab_target(midimap 1)
+add_cd_file(TARGET midimap DESTINATION reactos/system32)
set_module_type(winspool win32dll)
target_link_libraries(winspool wine)
add_importlibs(winspool advapi32 shlwapi msvcrt kernel32 ntdll)
-add_cab_target(winspool 1)
+add_cd_file(TARGET winspool DESTINATION reactos/system32)
add_importlib_target(winspool.spec)
target_link_libraries(winsta wine)
add_importlibs(winsta msvcrt kernel32 ntdll)
add_pch(winsta ${CMAKE_CURRENT_SOURCE_DIR}/winsta.h ${SOURCE})
-add_cab_target(winsta 1)
+add_cd_file(TARGET winsta DESTINATION reactos/system32)
add_importlib_target(wintrust.spec)
-add_cab_target(wintrust 1)
+add_cd_file(TARGET wintrust DESTINATION reactos/system32)
add_importlib_target(wlanapi.spec)
add_dependencies(wlanapi psdk)
-add_cab_target(wlanapi 1)
+add_cd_file(TARGET wlanapi DESTINATION reactos/system32)
add_importlibs(wldap32 user32 msvcrt kernel32 ntdll)
add_importlib_target(wldap32.spec)
-add_cab_target(wldap32 1)
+add_cd_file(TARGET wldap32 DESTINATION reactos/system32)
add_importlibs(wmi advapi32)
add_dependencies(wmi psdk)
-add_cab_target(wmi 1)
+add_cd_file(TARGET wmi DESTINATION reactos/system32)
add_importlibs(ws2_32 user32 advapi32 dnsapi ws2help msvcrt kernel32 ntdll)
add_pch(ws2_32 ${CMAKE_CURRENT_SOURCE_DIR}/include/ws2_32.h ${SOURCE})
-add_cab_target(ws2_32 1)
+add_cd_file(TARGET ws2_32 DESTINATION reactos/system32)
add_importlib_target(ws2_32.spec)
set_module_type(ws2_32_new win32dll)
target_link_libraries(ws2_32_new wine)
add_importlibs(ws2_32_new user32 advapi32 dnsapi ws2help msvcrt kernel32 ntdll)
-add_cab_target(ws2_32_new 1)
+add_cd_file(TARGET ws2_32_new DESTINATION reactos/system32)
set_module_type(ws2help win32dll)
add_importlibs(ws2help advapi32 ws2_32 msvcrt kernel32 ntdll)
-add_cab_target(ws2help 1)
+add_cd_file(TARGET ws2help DESTINATION reactos/system32)
add_importlib_target(ws2help.spec)
set_module_type(wshirda win32dll)
add_importlibs(wshirda ws2_32 msvcrt kernel32 ntdll)
-add_cab_target(wshirda 1)
+add_cd_file(TARGET wshirda DESTINATION reactos/system32)
target_link_libraries(wshtcpip tdilib)
add_importlibs(wshtcpip ws2_32 kernel32 ntdll)
add_dependencies(wshtcpip psdk)
-add_cab_target(wshtcpip 1)
+add_cd_file(TARGET wshtcpip DESTINATION reactos/system32)
set_module_type(wsock32 win32dll)
add_importlibs(wsock32 mswsock ws2_32 msvcrt kernel32 ntdll)
-add_cab_target(wsock32 1)
+add_cd_file(TARGET wsock32 DESTINATION reactos/system32)
add_importlibs(wtsapi32 advapi32 msvcrt kernel32 ntdll)
-add_cab_target(wtsapi32 1)
+add_cd_file(TARGET wtsapi32 DESTINATION reactos/system32)
set_module_type(wuapi win32dll)
target_link_libraries(wuapi uuid wine wuguid)
add_importlibs(wuapi ole32 advapi32 msvcrt kernel32 ntdll)
-add_cab_target(wuapi 1)
+add_cd_file(TARGET wuapi DESTINATION reactos/system32)
set_module_type(xinput1_1 win32dll)
add_importlibs(xinput1_1 msvcrt kernel32 xinput1_3)
-add_cab_target(xinput1_1 1)
+add_cd_file(TARGET xinput1_1 DESTINATION reactos/system32)
set_module_type(xinput1_2 win32dll)
add_importlibs(xinput1_2 msvcrt kernel32 xinput1_3)
-add_cab_target(xinput1_2 1)
+add_cd_file(TARGET xinput1_2 DESTINATION reactos/system32)
set_module_type(xinput1_3 win32dll)
target_link_libraries(xinput1_3 wine)
add_importlibs(xinput1_3 msvcrt kernel32 ntdll)
-add_cab_target(xinput1_3 1)
+add_cd_file(TARGET xinput1_3 DESTINATION reactos/system32)
set_module_type(xinput9_1_0 win32dll)
add_importlibs(xinput9_1_0 msvcrt kernel32 xinput1_3)
-add_cab_target(xinput9_1_0 1)
+add_cd_file(TARGET xinput9_1_0 DESTINATION reactos/system32)
add_importlibs(xmllite msvcrt kernel32 ntdll)
add_importlib_target(xmllite.spec)
-add_cab_target(xmllite 1)
+add_cd_file(TARGET xmllite DESTINATION reactos/system32)
add_library(beep SHARED beep.c beep.rc)
set_module_type(beep kernelmodedriver)
add_importlibs(beep ntoskrnl hal)
-add_cab_target(beep 2)
+add_cd_file(TARGET beep DESTINATION reactos/system32/drivers)
add_importlibs(bootvid ntoskrnl hal)
add_pch(bootvid ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
add_dependencies(bootvid psdk bugcodes)
-add_minicd_target(bootvid reactos bootvid.dll)
-add_cab_target(bootvid 1)
+add_cd_file(TARGET bootvid DESTINATION reactos/system32 NO_CAB)
add_importlib_target(bootvid.spec)
add_importlibs(kdcom ntoskrnl hal)
add_dependencies(kdcom psdk bugcodes)
-add_minicd_target(kdcom reactos kdcom.dll)
-add_livecd_target(kdcom reactos/system32)
+add_cd_file(TARGET kdcom DESTINATION reactos/system32 NO_CAB)
add_importlib_target(kdcom.spec)
set_module_type(nmidebug kernelmodedriver)
add_importlibs(nmidebug ntoskrnl hal)
-add_minicd_target(nmidebug reactos)
-add_cab_target(nmidebug 2)
+add_cd_file(TARGET nmidebug DESTINATION reactos/system32/drivers NO_CAB)
set_module_type(null kernelmodedriver)
add_importlibs(null ntoskrnl hal)
-add_cab_target(null 2)
+add_cd_file(TARGET null DESTINATION reactos/system32/drivers)
set_module_type(battc kernelmodedriver)
add_importlibs(battc ntoskrnl hal)
-add_cab_target(battc 2)
+add_cd_file(TARGET battc DESTINATION reactos/system32/drivers)
add_importlib_target(battc.spec)
add_importlibs(acpi ntoskrnl hal)
-add_minicd_target(acpi reactos acpi.sys)
-add_livecd_target(acpi reactos/system32/drivers)
+add_cd_file(TARGET acpi DESTINATION reactos/system32/drivers NO_CAB)
add_subdirectory(cmbatt)
add_subdirectory(compbatt)
add_pch(cmbatt ${CMAKE_CURRENT_SOURCE_DIR}/cmbatt.h ${SOURCE})
-add_cab_target(cmbatt 2)
\ No newline at end of file
+add_cd_file(TARGET cmbatt DESTINATION reactos/system32/drivers)
\ No newline at end of file
add_pch(compbatt ${CMAKE_CURRENT_SOURCE_DIR}/compbatt.h ${SOURCE})
-add_cab_target(compbatt 2)
\ No newline at end of file
+add_cd_file(TARGET compbatt DESTINATION reactos/system32/drivers)
\ No newline at end of file
set_module_type(isapnp kernelmodedriver)
add_importlibs(isapnp ntoskrnl hal)
-add_minicd_target(isapnp reactos isapnp.sys)
-add_livecd_target(isapnp reactos/system32/drivers)
+add_cd_file(TARGET isapnp DESTINATION reactos/system32/drivers NO_CAB)
set_module_type(pci kernelmodedriver)
add_importlibs(pci ntoskrnl hal)
-add_minicd_target(pci reactos pci.sys)
-add_livecd_target(pci reactos/system32/drivers)
+add_cd_file(TARGET pci DESTINATION reactos/system32/drivers NO_CAB)
add_pch(pcix ${CMAKE_CURRENT_SOURCE_DIR}/pci.h ${SOURCE})
add_dependencies(pcix pciclass)
+
+add_cd_file(TARGET pcix DESTINATION reactos/system32/drivers NO_CAB)
set_module_type(pcmcia kernelmodedriver)
add_importlibs(pcmcia ntoskrnl hal)
-add_minicd_target(pcmcia reactos pcmcia.sys)
-add_livecd_target(pcmcia reactos/system32/drivers)
+add_cd_file(TARGET pcmcia DESTINATION reactos/system32/drivers NO_CAB)
set_module_type(dxapi kernelmodedriver)
add_importlibs(dxapi ntoskrnl hal videoprt)
-add_cab_target(dxapi 2)
\ No newline at end of file
+add_cd_file(TARGET dxapi DESTINATION reactos/system32/drivers)
\ No newline at end of file
set_module_type(dxg kernelmodedriver)
add_importlibs(dxg dxgthk ntoskrnl)
-add_cab_target(dxg 2)
\ No newline at end of file
+add_cd_file(TARGET dxg DESTINATION reactos/system32/drivers)
\ No newline at end of file
add_importlibs(dxgthk win32k)
add_importlib_target(dxgthk.spec)
-add_cab_target(dxgthk 2)
+add_cd_file(TARGET dxgthk DESTINATION reactos/system32/drivers)
add_pch(cdfs ${CMAKE_CURRENT_SOURCE_DIR}/cdfs.h ${SOURCE})
-add_minicd_target(cdfs reactos cdfs.sys)
-add_livecd_target(cdfs reactos/system32/drivers cdfs.sys)
+add_cd_file(TARGET cdfs DESTINATION reactos/system32/drivers NO_CAB)
set_module_type(ext2fs kernelmodedriver)
add_importlibs(ext2fs ntoskrnl hal)
-add_minicd_target(ext2fs reactos ext2.sys)
-add_livecd_target(ext2fs reactos/system32/drivers ext2.sys)
+add_cd_file(TARGET ext2fs DESTINATION reactos/system32/drivers NO_CAB)
add_pch(fastfat ${CMAKE_CURRENT_SOURCE_DIR}/vfat.h ${SOURCE})
-add_minicd_target(fastfat reactos fastfat.sys)
-add_livecd_target(fastfat reactos/system32/drivers)
+add_cd_file(TARGET fastfat DESTINATION reactos/system32/drivers NO_CAB)
set_module_type(fs_rec kernelmodedriver)
add_importlibs(fs_rec ntoskrnl hal)
-add_cab_target(fs_rec 2)
+add_cd_file(TARGET fs_rec DESTINATION reactos/system32/drivers)
add_pch(msfs ${CMAKE_CURRENT_SOURCE_DIR}/msfs.h ${SOURCE})
-add_cab_target(msfs 2)
+add_cd_file(TARGET msfs DESTINATION reactos/system32/drivers)
set_module_type(mup kernelmodedriver)
add_importlibs(mup ntoskrnl hal)
-add_cab_target(mup 2)
\ No newline at end of file
+add_cd_file(TARGET mup DESTINATION reactos/system32/drivers)
\ No newline at end of file
set_module_type(npfs kernelmodedriver)
add_importlibs(npfs ntoskrnl hal)
add_pch(npfs ${CMAKE_CURRENT_SOURCE_DIR}/npfs.h ${SOURCE})
-add_cab_target(npfs 2)
+add_cd_file(TARGET npfs DESTINATION reactos/system32/drivers)
add_pch(ntfs ${CMAKE_CURRENT_SOURCE_DIR}/ntfs.h ${SOURCE})
-add_minicd_target(ntfs reactos)
-add_livecd_target(ntfs reactos/system32/drivers)
+add_cd_file(TARGET ntfs DESTINATION reactos/system32/drivers NO_CAB)
set_module_type(i8042prt kernelmodedriver)
add_importlibs(i8042prt ntoskrnl hal)
-add_minicd_target(i8042prt reactos)
-add_livecd_target(i8042prt reactos/system32/drivers)
\ No newline at end of file
+add_cd_file(TARGET i8042prt DESTINATION reactos/system32/drivers NO_CAB)
\ No newline at end of file
add_importlibs(kbdclass ntoskrnl hal)
-add_minicd_target(kbdclass reactos kbdclass.sys)
-add_livecd_target(kbdclass reactos/system32/drivers)
\ No newline at end of file
+add_cd_file(TARGET kbdclass DESTINATION reactos/system32/drivers NO_CAB)
\ No newline at end of file
add_importlibs(mouclass ntoskrnl hal)
-add_cab_target(mouclass 2)
\ No newline at end of file
+add_cd_file(TARGET mouclass DESTINATION reactos/system32/drivers)
\ No newline at end of file
set_module_type(sermouse kernelmodedriver)
add_importlibs(sermouse ntoskrnl hal)
-add_cab_target(sermouse 2)
+add_cd_file(TARGET sermouse DESTINATION reactos/system32/drivers)
add_importlibs(ks ntoskrnl hal)
add_dependencies(ks psdk bugcodes)
-add_cab_target(ks 2)
+add_cd_file(TARGET ks DESTINATION reactos/system32/drivers)
add_importlib_target(ks.spec)
set_module_type(swenum kernelmodedriver)
add_importlibs(swenum ks ntoskrnl hal)
-add_minicd_target(swenum reactos)
-add_livecd_target(swenum reactos/system32/drivers)
+add_cd_file(TARGET swenum DESTINATION reactos/system32/drivers NO_CAB)
add_pch(afd ${CMAKE_CURRENT_SOURCE_DIR}/include/afd.h ${SOURCE})
-add_cab_target(afd 2)
+add_cd_file(TARGET afd DESTINATION reactos/system32/drivers)
set_module_type(ne2000 kernelmodedriver)
add_importlibs(ne2000 ndis ntoskrnl hal)
-add_cab_target(ne2000 2)
+add_cd_file(TARGET ne2000 DESTINATION reactos/system32/drivers)
set_module_type(pcnet kernelmodedriver)
add_importlibs(pcnet ndis ntoskrnl hal)
-add_cab_target(pcnet 2)
+add_cd_file(TARGET pcnet DESTINATION reactos/system32/drivers)
add_pch(ndis ${CMAKE_CURRENT_SOURCE_DIR}/include/ndissys.h ${SOURCE})
-add_cab_target(ndis 2)
+add_cd_file(TARGET ndis DESTINATION reactos/system32/drivers)
add_importlib_target(ndis.spec)
add_pch(tcpip ${CMAKE_CURRENT_SOURCE_DIR}/include/precomp.h ${SOURCE})
-add_cab_target(tcpip 2)
+add_cd_file(TARGET tcpip DESTINATION reactos/system32/drivers)
set_module_type(tdi kernelmodedriver)
add_importlibs(tdi ntoskrnl hal)
-add_cab_target(tdi 2)
+add_cd_file(TARGET tdi DESTINATION reactos/system32/drivers)
set_module_type(serenum kernelmodedriver)
add_importlibs(serenum ntoskrnl hal)
-add_cab_target(serenum 2)
+add_cd_file(TARGET serenum DESTINATION reactos/system32/drivers)
set_module_type(serial kernelmodedriver)
add_importlibs(serial ntoskrnl hal)
-add_cab_target(serial 2)
+add_cd_file(TARGET serial DESTINATION reactos/system32/drivers)
set_module_type(blue kernelmodedriver)
add_importlibs(blue ntoskrnl hal)
-add_minicd_target(blue reactos blue.sys)
-add_livecd_target(blue reactos/system32/drivers)
+add_cd_file(TARGET blue DESTINATION reactos/system32/drivers NO_CAB)
ntoskrnl
hal)
-add_minicd_target(cdrom reactos cdrom.sys)
-add_livecd_target(cdrom reactos/system32/drivers)
+add_cd_file(TARGET cdrom DESTINATION reactos/system32/drivers NO_CAB)
add_importlibs(class2 scsiport ntoskrnl hal)
add_importlib_target(class2.spec)
-add_minicd_target(class2 reactos class2.sys)
-add_livecd_target(class2 reactos/system32/drivers)
+add_cd_file(TARGET class2 DESTINATION reactos/system32/drivers NO_CAB)
ntoskrnl
hal)
-add_minicd_target(disk reactos disk.sys)
-add_livecd_target(disk reactos/system32/drivers)
+add_cd_file(TARGET disk DESTINATION reactos/system32/drivers NO_CAB)
ntoskrnl
hal)
-add_minicd_target(ramdisk reactos ramdisk.sys)
-add_livecd_target(ramdisk reactos/system32/drivers)
+add_cd_file(TARGET ramdisk DESTINATION reactos/system32/drivers NO_CAB)
set_module_type(classpnp kernelmodedriver)
add_importlibs(classpnp hal ntoskrnl)
-add_minicd_target(classpnp reactos classpnp.sys)
-add_livecd_target(classpnp reactos/system32/drivers)
+add_cd_file(TARGET classpnp DESTINATION reactos/system32/drivers NO_CAB)
set_module_type(floppy kernelmodedriver)
add_importlibs(floppy hal ntoskrnl)
-add_minicd_target(floppy reactos floppy.sys)
-add_livecd_target(floppy reactos/system32/drivers)
+add_cd_file(TARGET floppy DESTINATION reactos/system32/drivers NO_CAB)
set_module_type(atapi kernelmodedriver)
add_importlibs(atapi scsiport)
-add_minicd_target(atapi reactos atapi.sys)
-add_livecd_target(atapi reactos/system32/drivers)
+add_cd_file(TARGET atapi DESTINATION reactos/system32/drivers NO_CAB)
set_module_type(pciide kernelmodedriver)
add_importlibs(pciide pciidex ntoskrnl)
-add_cab_target(pciide 2)
+add_cd_file(TARGET pciide DESTINATION reactos/system32/drivers)
set_module_type(pciidex kernelmodedriver)
add_importlibs(pciidex ntoskrnl)
-add_cab_target(pciidex 2)
+add_cd_file(TARGET pciidex DESTINATION reactos/system32/drivers)
add_importlib_target(pciidex.spec)
set_module_type(uniata kernelmodedriver)
add_importlibs(uniata scsiport ntoskrnl hal)
-add_minicd_target(uniata reactos uniata.sys)
-add_livecd_target(uniata reactos/system32/drivers)
\ No newline at end of file
+add_cd_file(TARGET uniata DESTINATION reactos/system32/drivers NO_CAB)
\ No newline at end of file
set_module_type(buslogic kernelmodedriver)
add_importlibs(buslogic scsiport)
-add_minicd_target(buslogic reactos buslogic.sys)
-add_livecd_target(buslogic reactos/system32/drivers)
+add_cd_file(TARGET buslogic DESTINATION reactos/system32/drivers NO_CAB)
add_importlibs(scsiport ntoskrnl hal)
add_importlib_target(scsiport.spec)
-add_minicd_target(scsiport reactos scsiport.sys)
-add_livecd_target(scsiport reactos/system32/drivers)
+add_cd_file(TARGET scsiport DESTINATION reactos/system32/drivers NO_CAB)
add_pch(usbdriver ${CMAKE_CURRENT_SOURCE_DIR}/usbdriver.h ${SOURCE})
-add_cab_target(usbdriver 2)
+add_cd_file(TARGET usbdriver DESTINATION reactos/system32/drivers)
target_link_libraries(framebuf libcntpr)
add_importlibs(framebuf win32k)
add_dependencies(framebuf psdk bugcodes)
-add_cab_target(framebuf 1)
+add_cd_file(TARGET framebuf DESTINATION reactos/system32)
add_importlibs(vgaddi win32k)
target_link_libraries(vgaddi libcntpr)
add_dependencies(vgaddi psdk bugcodes)
-add_cab_target(vgaddi 1)
\ No newline at end of file
+add_cd_file(TARGET vgaddi DESTINATION reactos/system32)
\ No newline at end of file
add_importlibs(ftfd win32k)
add_dependencies(ftfd psdk)
-add_cab_target(ftfd 1)
+add_cd_file(TARGET ftfd DESTINATION reactos/system32)
add_importlib_target(ftfd.spec)
target_link_libraries(vbemp libcntpr)
-add_cab_target(vbemp 2)
+add_cd_file(TARGET vbemp DESTINATION reactos/system32/drivers)
add_importlibs(vgamp videoprt)
add_pch(vgamp ${CMAKE_CURRENT_SOURCE_DIR}/vgamp.h ${SOURCE})
-add_cab_target(vgamp 2)
+add_cd_file(TARGET vgamp DESTINATION reactos/system32/drivers)
add_pch(vga ${CMAKE_CURRENT_SOURCE_DIR}/vga.h ${SOURCE})
-add_cab_target(vga 2)
+add_cd_file(TARGET vga DESTINATION reactos/system32/drivers)
add_importlibs(videoprt ntoskrnl hal)
add_pch(videoprt ${CMAKE_CURRENT_SOURCE_DIR}/videoprt.h ${SOURCE})
-add_cab_target(videoprt 2)
+add_cd_file(TARGET videoprt DESTINATION reactos/system32/drivers)
add_importlib_target(videoprt.spec)
add_importlibs(portcls ntoskrnl ks drmk hal)
-add_cab_target(portcls 2)
\ No newline at end of file
+add_cd_file(TARGET portcls DESTINATION reactos/system32/drivers)
\ No newline at end of file
add_importlibs(drmk ntoskrnl)
add_importlib_target(drmk.spec)
-add_cab_target(drmk 2)
+add_cd_file(TARGET drmk DESTINATION reactos/system32/drivers)
add_importlibs(kmixer ntoskrnl ks hal)
-add_cab_target(kmixer 2)
\ No newline at end of file
+add_cd_file(TARGET kmixer DESTINATION reactos/system32/drivers)
\ No newline at end of file
add_importlibs(wdmaud ntoskrnl ks hal)
-add_cab_target(wdmaud 2)
\ No newline at end of file
+add_cd_file(TARGET wdmaud DESTINATION reactos/system32/drivers)
\ No newline at end of file
add_importlibs(sysaudio ntoskrnl ks hal)
-add_cab_target(sysaudio 2)
\ No newline at end of file
+add_cd_file(TARGET sysaudio DESTINATION reactos/system32/drivers)
\ No newline at end of file
add_importlibs(wmilib ntoskrnl)
add_importlib_target(wmilib.spec)
-add_cab_target(wmilib 2)
+add_cd_file(TARGET wmilib DESTINATION reactos/system32/drivers)
add_importlibs(hal ntoskrnl)
target_link_libraries(hal libcntpr)
- add_minicd_target(hal reactos hal.dll)
- add_livecd_target(hal reactos/system32)
+ add_cd_file(TARGET hal DESTINATION reactos/system32 NO_CAB)
# mini_hal
add_library(mini_hal ${MINI_HAL_SOURCE})
add_subdirectory(nls)
add_subdirectory(vgafonts)
-add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/hosts reactos hosts)
-add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/KDBinit reactos KDBinit)
-add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/services reactos services)
-
-add_cab(${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/hosts 5)
-add_cab(${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/KDBinit 5)
-add_cab(${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/services 5)
-add_cab(${CMAKE_CURRENT_SOURCE_DIR}/sounds/ReactOS_LogOn.wav 8)
\ No newline at end of file
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/hosts DESTINATION reactos/system32/drivers/etc)
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/KDBinit DESTINATION reactos/system32/drivers/etc)
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/drivers/etc/services DESTINATION reactos/system32/drivers/etc)
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/sounds/ReactOS_LogOn.wav DESTINATION reactos/media)
\ No newline at end of file
)
foreach(item ${FONT_FILES})
- add_cab("${CMAKE_CURRENT_SOURCE_DIR}/${item}" 3)
+ add_cd_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/${item}" DESTINATION reactos/Fonts)
endforeach(item)
\ No newline at end of file
)
foreach(item ${INF_FILES})
- add_cab("${CMAKE_CURRENT_SOURCE_DIR}/${item}" 6)
+ add_cd_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/${item}" DESTINATION reactos/inf)
endforeach(item)
-add_cab(${CMAKE_CURRENT_SOURCE_DIR}/syssetup.inf 6)
\ No newline at end of file
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/syssetup.inf DESTINATION reactos/inf)
\ No newline at end of file
-add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/l_intl.nls reactos l_intl.nls)
-add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/c_437.nls reactos c_437.nls)
-add_minicd(${CMAKE_CURRENT_SOURCE_DIR}/c_1252.nls reactos c_1252.nls)
-add_livecd(${CMAKE_CURRENT_SOURCE_DIR}/l_intl.nls reactos/system32)
-add_livecd(${CMAKE_CURRENT_SOURCE_DIR}/c_437.nls reactos/system32 c_437.nls)
-add_livecd(${CMAKE_CURRENT_SOURCE_DIR}/c_1252.nls reactos/system32 c_1252.nls)
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/l_intl.nls DESTINATION reactos/system32 NO_CAB)
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/c_437.nls DESTINATION reactos/system32 NO_CAB)
+add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/c_1252.nls DESTINATION reactos/system32 NO_CAB)
list(APPEND NLS_FILES
c_037.nls
foreach(item ${NLS_FILES})
- add_cab("${CMAKE_CURRENT_SOURCE_DIR}/${item}" 1 ${item})
+ add_cd_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/${item}" DESTINATION reactos/system32)
endforeach(item)
add_custom_target(vgafonts DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab)
-add_minicd(${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab reactos vgafonts.cab)
-add_cab(${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab 4)
\ No newline at end of file
+#add_cd_file(TARGET vgafonts FILE ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab DESTINATION reactos NO_LIVECD)
+add_cd_file(TARGET vgafonts FILE ${CMAKE_CURRENT_BINARY_DIR}/vgafonts.cab DESTINATION reactos NO_CAB)
\ No newline at end of file
add_pch(ntoskrnl ${CMAKE_CURRENT_SOURCE_DIR}/include/ntoskrnl.h ${SOURCE})
add_dependencies(ntoskrnl psdk bugcodes asm)
-add_minicd_target(ntoskrnl reactos ntoskrnl.exe)
-add_livecd_target(ntoskrnl reactos/system32)
+add_cd_file(TARGET ntoskrnl DESTINATION reactos/system32 NO_CAB)
add_importlib_target(ntoskrnl.spec)
add_library(ntdllsys ntdll.S)
ULONG KeIcacheFlushCount = 0;
ULONG KiDmaIoCoherency = 0;
ULONG KePrefetchNTAGranularity = 32;
-CHAR KeNumberProcessors;
+CHAR KeNumberProcessors = 0;
KAFFINITY KeActiveProcessors = 1;
BOOLEAN KiI386PentiumLockErrataPresent;
BOOLEAN KiSMTProcessorsPresent;
add_importlibs(ntvdm ntdll user32 gdi32 advapi32 kernel32 msvcrt)
add_dependencies(ntvdm ndk bugcodes)
-add_cab_target(ntvdm 1)
\ No newline at end of file
+add_cd_file(TARGET ntvdm DESTINATION reactos/system32)
\ No newline at end of file
target_link_libraries(csrss nt)
add_importlibs(csrss ntdll csrsrv)
add_dependencies(csrss psdk bugcodes)
-add_cab_target(csrss 1)
+add_cd_file(TARGET csrss DESTINATION reactos/system32)
add_subdirectory(csrsrv)
add_subdirectory(win32csr)
add_pch(csrsrv ${CMAKE_CURRENT_SOURCE_DIR}/srv.h ${SOURCE})
add_dependencies(csrsrv psdk bugcodes)
-add_cab_target(csrsrv 1)
+add_cd_file(TARGET csrsrv DESTINATION reactos/system32)
add_importlib_target(csrsrv.spec)
add_pch(win32csr ${CMAKE_CURRENT_SOURCE_DIR}/w32csr.h ${SOURCE})
add_dependencies(win32csr bugcodes)
-add_cab_target(win32csr 1)
+add_cd_file(TARGET win32csr DESTINATION reactos/system32)
add_importlibs(win32k ntoskrnl hal ftfd)
add_pch(win32k ${CMAKE_CURRENT_SOURCE_DIR}/pch.h ${SOURCE})
add_dependencies(win32k gendib_generated)
-add_cab_target(win32k 1)
+add_cd_file(TARGET win32k DESTINATION reactos/system32)
add_importlib_target(win32k.spec)
add_library(win32ksys sys-stubs.S)