reactos/rostests/apitests/ntdll/CMakeLists.txt
Timo Kreuzer c0642c44b6 [NTDLL_APITEST]
Add more tests for NtAllocateVirtualMemory and NtMapViewOfSection

svn path=/trunk/; revision=58613
2013-03-27 19:10:51 +00:00

39 lines
1.1 KiB
CMake

list(APPEND SOURCE
LdrEnumResources.c
NtAllocateVirtualMemory.c
NtFreeVirtualMemory.c
NtMapViewOfSection.c
NtQuerySystemEnvironmentValue.c
RtlBitmap.c
RtlDetermineDosPathNameType.c
RtlDoesFileExists.c
RtlDosPathNameToNtPathName_U.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 STREQUAL "i386")
add_asm_files(ntdll_apitest_asm i386/ZwContinue.S)
endif()
add_executable(ntdll_apitest ${SOURCE} ${ntdll_apitest_asm})
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)