reactos/dll/directx/qedit/CMakeLists.txt

36 lines
721 B
Text
Raw Normal View History

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)
add_dependencies(qedit qedit_def dxsdk)
add_livecd_target(qedit reactos/system32)