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