e1804440b7eec78c726fbb6d4c70f74f26b0cb84
[reactos.git] / rostests / apitests / ntdll / CMakeLists.txt
1
2 list(APPEND SOURCE
3 NtAllocateVirtualMemory.c
4 NtFreeVirtualMemory.c
5 RtlGetFullPathName_UstrEx.c
6 RtlInitializeBitMap.c
7 SystemInfo.c
8 ZwContinue.c
9 testlist.c)
10
11 if(ARCH MATCHES i386)
12 list(APPEND SOURCE i386/ZwContinue.S)
13 endif()
14
15 add_executable(ntdll_apitest ${SOURCE})
16 target_link_libraries(ntdll_apitest wine ${PSEH_LIB})
17 set_module_type(ntdll_apitest win32cui)
18 add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll)
19
20 if(NOT MSVC)
21 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
22 #add_target_compile_flags(ntdll_apitest "-Wno-format")
23 set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-format")
24 endif()
25
26 add_cd_file(TARGET ntdll_apitest DESTINATION reactos/bin FOR all)