mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
38 lines
625 B
CMake
38 lines
625 B
CMake
|
|
set_unicode()
|
|
|
|
add_definitions(
|
|
-D__WINESRC__
|
|
-D_DLL -D__USE_CRTIMP)
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(qedit.dll qedit.spec)
|
|
|
|
add_library(qedit SHARED
|
|
main.c
|
|
mediadet.c
|
|
regsvr.c
|
|
samplegrabber.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/qedit.def)
|
|
|
|
set_module_type(qedit win32dll)
|
|
|
|
target_link_libraries(qedit
|
|
strmiids
|
|
uuid
|
|
wine)
|
|
|
|
add_importlibs(qedit
|
|
msvcrt
|
|
advapi32
|
|
ole32
|
|
oleaut32
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_dependencies(qedit dxsdk)
|
|
add_cab_target(qedit 1)
|