2010-12-22 16:33:37 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2011-11-30 17:00:23 +00:00
|
|
|
NtAllocateVirtualMemory.c
|
2011-07-11 19:31:34 +00:00
|
|
|
NtFreeVirtualMemory.c
|
2012-03-25 21:24:05 +00:00
|
|
|
RtlGetFullPathName_U.c
|
2012-03-25 20:01:12 +00:00
|
|
|
RtlGetFullPathName_UstrEx.c
|
2010-12-22 16:33:37 +00:00
|
|
|
RtlInitializeBitMap.c
|
2011-10-11 15:29:25 +00:00
|
|
|
SystemInfo.c
|
2010-12-22 16:33:37 +00:00
|
|
|
ZwContinue.c
|
|
|
|
testlist.c)
|
|
|
|
|
|
|
|
if(ARCH MATCHES i386)
|
2011-01-07 20:31:56 +00:00
|
|
|
list(APPEND SOURCE i386/ZwContinue.S)
|
2010-12-22 16:33:37 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
add_executable(ntdll_apitest ${SOURCE})
|
2012-03-25 20:01:12 +00:00
|
|
|
target_link_libraries(ntdll_apitest wine ${PSEH_LIB})
|
2010-12-22 16:33:37 +00:00
|
|
|
set_module_type(ntdll_apitest win32cui)
|
2011-10-11 15:29:25 +00:00
|
|
|
add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll)
|
2012-03-25 20:01:12 +00:00
|
|
|
|
|
|
|
if(NOT MSVC)
|
|
|
|
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
|
|
|
|
#add_target_compile_flags(ntdll_apitest "-Wno-format")
|
|
|
|
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-format")
|
|
|
|
endif()
|
|
|
|
|
2011-05-14 20:55:36 +00:00
|
|
|
add_cd_file(TARGET ntdll_apitest DESTINATION reactos/bin FOR all)
|