Merge PR #283 "[USBPORT] Transaction Translator (TT) support bringup"
[reactos.git] / modules / rostests / winetests / msi / CMakeLists.txt
1
2 add_definitions(
3 -DUSE_WINE_TODOS
4 -D__WINESRC__)
5
6 spec2def(custom.dll custom.spec)
7 add_library(custom SHARED custom.c ${CMAKE_CURRENT_BINARY_DIR}/custom.def)
8 target_link_libraries(custom uuid)
9 set_module_type(custom win32dll)
10 add_importlibs(custom msi ole32 msvcrt kernel32)
11
12 list(APPEND SOURCE
13 action.c
14 automation.c
15 db.c
16 format.c
17 install.c
18 msi.c
19 package.c
20 patch.c
21 record.c
22 source.c
23 suminfo.c
24 precomp.h)
25
26 add_executable(msi_winetest ${SOURCE} testlist.c msi_winetest.rc)
27 target_link_libraries(msi_winetest uuid)
28 set_module_type(msi_winetest win32cui)
29 add_importlibs(msi_winetest cabinet msi shell32 ole32 oleaut32 user32 advapi32 version msvcrt kernel32)
30 add_pch(msi_winetest precomp.h SOURCE)
31 add_rostests_file(TARGET msi_winetest)
32 add_dependencies(msi_winetest custom)