1
2add_definitions(-DINITGUID -DWINETEST_USE_DBGSTR_LONGLONG)
3set_cpp(WITH_RUNTIME WITH_EXCEPTIONS)
4
5include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
6
7list(APPEND SOURCE
8    atltypes.cpp
9    CAtlFileMapping.cpp
10    CAtlArray.cpp
11    CAtlList.cpp
12    CComBSTR.cpp
13    CComHeapPtr.cpp
14    CComObject.cpp
15    CComQIPtr.cpp
16    CImage.cpp
17    CRegKey.cpp
18    CSimpleArray.cpp
19    CSimpleMap.cpp
20    CString.cpp
21    precomp.h)
22
23add_executable(atl_apitest
24    ${SOURCE}
25    CComVariant.cpp
26    testlist.c
27    atl_apitest.rc)
28
29target_link_libraries(atl_apitest wine uuid)
30set_module_type(atl_apitest win32cui)
31add_importlibs(atl_apitest rpcrt4 ole32 oleaut32 msimg32 gdi32 advapi32 user32 msvcrt kernel32 ntdll)
32add_pch(atl_apitest precomp.h SOURCE)
33add_rostests_file(TARGET atl_apitest)
34