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    SubclassWindow.cpp)
21
22list(APPEND PCH_SKIP_SOURCE
23    testlist.c)
24
25add_executable(atl_apitest
26    ${SOURCE}
27    ${PCH_SKIP_SOURCE}
28    atl_apitest.rc)
29
30target_link_libraries(atl_apitest wine uuid cpprt atl_classes)
31set_target_cpp_properties(atl_apitest WITH_EXCEPTIONS)
32set_module_type(atl_apitest win32cui)
33add_importlibs(atl_apitest rpcrt4 ole32 oleaut32 msimg32 gdi32 advapi32 user32 msvcrt kernel32 ntdll)
34add_pch(atl_apitest precomp.h "${PCH_SKIP_SOURCE}")
35add_rostests_file(TARGET atl_apitest)
36