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