2010-12-07 11:40:10 +00:00
|
|
|
|
2014-04-23 14:49:34 +00:00
|
|
|
add_definitions(
|
|
|
|
-DUSE_WINE_TODOS
|
|
|
|
-D__WINESRC__)
|
2014-02-14 23:22:21 +00:00
|
|
|
|
2018-03-04 23:31:58 +00:00
|
|
|
spec2def(custom.dll custom.spec)
|
|
|
|
add_library(custom SHARED custom.c ${CMAKE_CURRENT_BINARY_DIR}/custom.def)
|
|
|
|
target_link_libraries(custom uuid)
|
|
|
|
set_module_type(custom win32dll)
|
|
|
|
add_importlibs(custom msi ole32 msvcrt kernel32)
|
|
|
|
|
2010-12-07 11:40:10 +00:00
|
|
|
list(APPEND SOURCE
|
2012-01-21 17:21:57 +00:00
|
|
|
action.c
|
2010-12-07 11:40:10 +00:00
|
|
|
automation.c
|
|
|
|
db.c
|
|
|
|
format.c
|
|
|
|
install.c
|
|
|
|
msi.c
|
|
|
|
package.c
|
|
|
|
patch.c
|
|
|
|
record.c
|
|
|
|
source.c
|
|
|
|
suminfo.c
|
2017-12-18 12:48:13 +00:00
|
|
|
precomp.h)
|
2010-12-07 11:40:10 +00:00
|
|
|
|
2018-03-04 23:31:58 +00:00
|
|
|
add_executable(msi_winetest ${SOURCE} testlist.c msi_winetest.rc)
|
2013-09-22 16:30:59 +00:00
|
|
|
target_link_libraries(msi_winetest uuid)
|
2010-12-07 11:40:10 +00:00
|
|
|
set_module_type(msi_winetest win32cui)
|
2013-09-22 16:30:59 +00:00
|
|
|
add_importlibs(msi_winetest cabinet msi shell32 ole32 oleaut32 user32 advapi32 version msvcrt kernel32)
|
2017-12-18 12:48:13 +00:00
|
|
|
add_pch(msi_winetest precomp.h SOURCE)
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET msi_winetest)
|
2018-03-04 23:31:58 +00:00
|
|
|
add_dependencies(msi_winetest custom)
|