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)
|
2014-04-20 13:44:55 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
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
|
2016-10-20 21:44:12 +00:00
|
|
|
generated.c
|
2010-12-07 11:40:10 +00:00
|
|
|
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
|
|
|
|
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
|
|
|
|
testlist.c)
|
|
|
|
|
|
|
|
add_executable(ntdll_winetest ${SOURCE})
|
|
|
|
set_module_type(ntdll_winetest win32cui)
|
2016-07-12 20:40:20 +00:00
|
|
|
add_importlibs(ntdll_winetest user32 ole32 advapi32 msvcrt kernel32 ntdll)
|
2011-05-14 20:55:36 +00:00
|
|
|
add_cd_file(TARGET ntdll_winetest DESTINATION reactos/bin FOR all)
|
2014-10-17 23:29:24 +00:00
|
|
|
|
2011-09-04 17:33:34 +00:00
|
|
|
if(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()
|