[GDI32_APITEST] Remove broken EngDeleteSemaphore.c (#655)
[reactos.git] / modules / rostests / apitests / gdi32 / CMakeLists.txt
index e1edb91..42453d1 100644 (file)
@@ -12,7 +12,7 @@ list(APPEND SOURCE
     CreateBitmapIndirect.c
     CreateCompatibleDC.c
     CreateDIBitmap.c
-    CreateDIBPatternBrush
+    CreateDIBPatternBrush.c
     CreateFont.c
     CreateFontIndirect.c
     CreateIconIndirect.c
@@ -21,7 +21,6 @@ list(APPEND SOURCE
     DPtoLP.c
     EngAcquireSemaphore.c
     EngCreateSemaphore.c
-    EngDeleteSemaphore.c
     EngReleaseSemaphore.c
     EnumFontFamilies.c
     ExcludeClipRect.c
@@ -53,6 +52,7 @@ list(APPEND SOURCE
     GetStockObject.c
     GetTextExtentExPoint.c
     GetTextFace.c
+    GetTextMetrics.c
     MaskBlt.c
     NtGdiAddFontResource.c
     OffsetClipRgn.c
@@ -73,10 +73,11 @@ list(APPEND SOURCE
     SetWindowExtEx.c
     SetWorldTransform.c
     init.c
-    testlist.c)
+    precomp.h)
 
-add_executable(gdi32_apitest ${SOURCE} resource.rc)
+add_executable(gdi32_apitest ${SOURCE} testlist.c resource.rc)
 target_link_libraries(gdi32_apitest ${PSEH_LIB} win32ksys)
 set_module_type(gdi32_apitest win32cui)
 add_importlibs(gdi32_apitest gdi32 user32 msvcrt kernel32 ntdll)
+add_pch(gdi32_apitest precomp.h SOURCE)
 add_rostests_file(TARGET gdi32_apitest)