mirror of
https://github.com/reactos/reactos.git
synced 2024-09-20 09:40:52 +00:00
fd5ef6b1c1
- add macros add_cab and add_cab_target to add files to reactos.dff - add bootcd target - make use of these macros to create bootcd and livecd Bootcd works and install things, but 2nd stage fails booting. We need debug symbols!!! svn path=/branches/cmake-bringup/; revision=49347
31 lines
560 B
CMake
31 lines
560 B
CMake
|
|
set_unicode()
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(dxdiagn ${CMAKE_CURRENT_SOURCE_DIR}/dxdiagn.spec ${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def)
|
|
|
|
add_library(dxdiagn SHARED
|
|
container.c
|
|
dxdiag_main.c
|
|
provider.c
|
|
regsvr.c)
|
|
|
|
set_module_type(dxdiagn win32dll)
|
|
|
|
target_link_libraries(dxdiagn
|
|
${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def
|
|
uuid
|
|
wine)
|
|
|
|
add_importlibs(dxdiagn
|
|
user32
|
|
advapi32
|
|
ole32
|
|
oleaut32
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_dependencies(dxdiagn dxdiagn_def)
|
|
add_cab_target(dxdiagn 1)
|