2010-10-10 22:58:42 +00:00
|
|
|
|
|
|
|
set_unicode()
|
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
add_definitions(-D_DLL -D__USE_CRTIMP)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
|
|
|
spec2def(qedit ${CMAKE_CURRENT_SOURCE_DIR}/qedit.spec ${CMAKE_CURRENT_BINARY_DIR}/qedit.def)
|
|
|
|
|
|
|
|
add_library(qedit SHARED
|
|
|
|
main.c
|
|
|
|
mediadet.c
|
|
|
|
regsvr.c
|
|
|
|
samplegrabber.c)
|
|
|
|
|
|
|
|
set_module_type(qedit win32dll)
|
|
|
|
|
|
|
|
target_link_libraries(qedit
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/qedit.def
|
|
|
|
strmiids
|
|
|
|
uuid
|
|
|
|
wine)
|
|
|
|
|
|
|
|
add_importlibs(qedit
|
|
|
|
msvcrt
|
|
|
|
advapi32
|
|
|
|
ole32
|
|
|
|
oleaut32
|
|
|
|
kernel32
|
|
|
|
ntdll)
|
|
|
|
|
2010-10-27 22:39:48 +00:00
|
|
|
add_dependencies(qedit qedit_def dxsdk)
|
2010-10-22 19:40:56 +00:00
|
|
|
add_livecd_target(qedit reactos/system32)
|