2010-12-22 16:33:37 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2012-10-13 13:07:17 +00:00
|
|
|
LdrEnumResources.c
|
2011-11-30 17:00:23 +00:00
|
|
|
NtAllocateVirtualMemory.c
|
2013-09-28 08:38:33 +00:00
|
|
|
NtCreateThread.c
|
2011-07-11 19:31:34 +00:00
|
|
|
NtFreeVirtualMemory.c
|
2013-03-27 19:10:51 +00:00
|
|
|
NtMapViewOfSection.c
|
2013-05-04 15:26:48 +00:00
|
|
|
NtProtectVirtualMemory.c
|
2012-10-07 12:31:13 +00:00
|
|
|
NtQuerySystemEnvironmentValue.c
|
2012-05-29 18:46:25 +00:00
|
|
|
RtlBitmap.c
|
2012-04-25 07:43:33 +00:00
|
|
|
RtlDetermineDosPathNameType.c
|
2012-04-25 12:13:38 +00:00
|
|
|
RtlDoesFileExists.c
|
2012-09-24 12:17:04 +00:00
|
|
|
RtlDosPathNameToNtPathName_U.c
|
2012-05-01 16:19:17 +00:00
|
|
|
RtlDosSearchPath_U.c
|
|
|
|
RtlDosSearchPath_Ustr.c
|
2012-03-25 21:24:05 +00:00
|
|
|
RtlGetFullPathName_U.c
|
2012-04-25 09:52:38 +00:00
|
|
|
RtlGetFullPathName_Ustr.c
|
2012-03-25 20:01:12 +00:00
|
|
|
RtlGetFullPathName_UstrEx.c
|
2012-04-25 07:43:33 +00:00
|
|
|
RtlGetLongestNtPathLength.c
|
2010-12-22 16:33:37 +00:00
|
|
|
RtlInitializeBitMap.c
|
2011-10-11 15:29:25 +00:00
|
|
|
SystemInfo.c
|
2013-08-19 21:44:26 +00:00
|
|
|
Timer.c
|
2010-12-22 16:33:37 +00:00
|
|
|
ZwContinue.c
|
|
|
|
testlist.c)
|
|
|
|
|
2012-09-01 11:35:12 +00:00
|
|
|
if(ARCH STREQUAL "i386")
|
2013-01-08 20:34:19 +00:00
|
|
|
add_asm_files(ntdll_apitest_asm i386/ZwContinue.S)
|
2010-12-22 16:33:37 +00:00
|
|
|
endif()
|
|
|
|
|
2013-01-08 20:34:19 +00:00
|
|
|
add_executable(ntdll_apitest ${SOURCE} ${ntdll_apitest_asm})
|
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)
|