1 2include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include) 3 4list(APPEND SOURCE 5 SystemCall.c 6 precomp.h) 7 8if(ARCH STREQUAL "i386") 9 add_asm_files(umkm_apitest_asm 10 i386/SystemCall_asm.s 11 ) 12elseif(ARCH STREQUAL "amd64") 13 add_asm_files(umkm_apitest_asm 14 amd64/SystemCall_asm.s 15 ) 16endif() 17 18list(APPEND PCH_SKIP_SOURCE 19 testlist.c) 20 21add_executable(umkm_apitest 22 ${SOURCE} 23 ${umkm_apitest_asm} 24 ${PCH_SKIP_SOURCE}) 25 26target_link_libraries(umkm_apitest wine uuid ${PSEH_LIB}) 27set_module_type(umkm_apitest win32cui) 28add_importlibs(umkm_apitest msvcrt kernel32 ntdll) 29add_pch(umkm_apitest precomp.h "${PCH_SKIP_SOURCE}") 30add_dependencies(umkm_apitest load_notifications) 31 32add_rostests_file(TARGET umkm_apitest) 33 34