mirror of
https://github.com/reactos/reactos.git
synced 2024-08-27 21:58:49 +00:00
![Thomas Faber](/assets/img/avatar_default.png)
- Add initial tests for RtlDosSearchPath_U & RtlDosSearchPath_Ustr - Work around Wine ok() silliness - Fix 64 bit warnings svn path=/trunk/; revision=56468
34 lines
939 B
CMake
34 lines
939 B
CMake
|
|
list(APPEND SOURCE
|
|
NtAllocateVirtualMemory.c
|
|
NtFreeVirtualMemory.c
|
|
RtlDetermineDosPathNameType.c
|
|
RtlDoesFileExists.c
|
|
RtlDosSearchPath_U.c
|
|
RtlDosSearchPath_Ustr.c
|
|
RtlGetFullPathName_U.c
|
|
RtlGetFullPathName_Ustr.c
|
|
RtlGetFullPathName_UstrEx.c
|
|
RtlGetLongestNtPathLength.c
|
|
RtlInitializeBitMap.c
|
|
SystemInfo.c
|
|
ZwContinue.c
|
|
testlist.c)
|
|
|
|
if(ARCH MATCHES i386)
|
|
list(APPEND SOURCE i386/ZwContinue.S)
|
|
endif()
|
|
|
|
add_executable(ntdll_apitest ${SOURCE})
|
|
target_link_libraries(ntdll_apitest wine ${PSEH_LIB})
|
|
set_module_type(ntdll_apitest win32cui)
|
|
add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll)
|
|
|
|
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()
|
|
|
|
add_cd_file(TARGET ntdll_apitest DESTINATION reactos/bin FOR all)
|