reactos/dll/directx/dxdiagn/CMakeLists.txt
Jérôme Gardou fd5ef6b1c1 [CMAKE]
- 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
2010-10-30 09:53:53 +00:00

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)