2010-12-07 11:40:10 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
info.c
|
|
|
|
install.c
|
|
|
|
testlist.c)
|
|
|
|
|
2013-12-02 22:45:51 +00:00
|
|
|
add_executable(version_winetest ${SOURCE} version.rc)
|
2010-12-07 11:40:10 +00:00
|
|
|
set_module_type(version_winetest win32cui)
|
2016-07-02 13:01:07 +00:00
|
|
|
add_importlibs(version_winetest shell32 version msvcrt kernel32)
|
2014-10-17 23:29:24 +00:00
|
|
|
|
2020-09-21 10:16:02 +00:00
|
|
|
target_compile_definitions(version_winetest PRIVATE USE_WINE_TODOS)
|
|
|
|
|
2021-04-09 00:58:19 +00:00
|
|
|
if(MSVC)
|
2014-04-26 18:16:00 +00:00
|
|
|
add_importlibs(version_winetest ntdll)
|
|
|
|
endif()
|
2014-10-17 23:29:24 +00:00
|
|
|
|
2021-04-09 00:58:19 +00:00
|
|
|
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
|
|
|
target_compile_options(version_winetest PRIVATE -Wno-format-overflow)
|
|
|
|
endif()
|
|
|
|
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET version_winetest)
|