2010-12-07 11:40:10 +00:00
|
|
|
|
2016-04-20 12:39:37 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-05-05 16:54:37 +00:00
|
|
|
remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502)
|
2017-10-21 13:36:29 +00:00
|
|
|
add_definitions(-D__WINESRC__ -DWINETEST_USE_DBGSTR_LONGLONG)
|
2010-12-07 11:40:10 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
atom.c
|
|
|
|
change.c
|
|
|
|
directory.c
|
|
|
|
env.c
|
|
|
|
error.c
|
|
|
|
exception.c
|
|
|
|
file.c
|
|
|
|
info.c
|
|
|
|
large_int.c
|
|
|
|
om.c
|
|
|
|
path.c
|
2011-10-03 19:29:29 +00:00
|
|
|
pipe.c
|
2010-12-07 11:40:10 +00:00
|
|
|
port.c
|
2017-10-21 13:36:29 +00:00
|
|
|
process.c
|
2010-12-07 11:40:10 +00:00
|
|
|
reg.c
|
|
|
|
rtl.c
|
2011-10-03 19:29:29 +00:00
|
|
|
rtlbitmap.c
|
2010-12-07 11:40:10 +00:00
|
|
|
rtlstr.c
|
|
|
|
string.c
|
|
|
|
time.c
|
2017-12-20 12:07:06 +00:00
|
|
|
ntdll_test.h)
|
2010-12-07 11:40:10 +00:00
|
|
|
|
2017-07-24 15:09:22 +00:00
|
|
|
if(ARCH STREQUAL "i386")
|
2017-12-20 12:07:06 +00:00
|
|
|
list(APPEND SOURCE generated.c)
|
2017-07-24 15:09:22 +00:00
|
|
|
endif()
|
|
|
|
|
2017-12-20 12:07:06 +00:00
|
|
|
add_executable(ntdll_winetest ${SOURCE} testlist.c)
|
2014-10-17 23:29:24 +00:00
|
|
|
|
2017-12-03 22:30:10 +00:00
|
|
|
if(USE_CLANG_CL OR (NOT MSVC))
|
2015-11-27 18:27:41 +00:00
|
|
|
add_target_compile_flags(ntdll_winetest "-Wno-format")
|
2011-09-04 17:33:34 +00:00
|
|
|
endif()
|
2017-12-03 22:30:10 +00:00
|
|
|
|
|
|
|
set_module_type(ntdll_winetest win32cui)
|
|
|
|
add_importlibs(ntdll_winetest user32 ole32 advapi32 msvcrt kernel32 ntdll)
|
2017-12-20 12:07:06 +00:00
|
|
|
add_pch(ntdll_winetest ntdll_test.h SOURCE)
|
2017-12-03 22:30:10 +00:00
|
|
|
add_rostests_file(TARGET ntdll_winetest)
|