1
2add_definitions(-DINITGUID -DWINETEST_USE_DBGSTR_LONGLONG)
3
4include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
5
6list(APPEND SOURCE
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    CRegKey.cpp
19    CSimpleArray.cpp
20    CSimpleMap.cpp
21    CString.cpp)
22
23list(APPEND PCH_SKIP_SOURCE
24    testlist.c)
25
26add_executable(atl_apitest
27    ${SOURCE}
28    ${PCH_SKIP_SOURCE}
29    atl_apitest.rc)
30
31target_link_libraries(atl_apitest wine uuid cpprt)
32set_target_cpp_properties(atl_apitest WITH_EXCEPTIONS)
33set_module_type(atl_apitest win32cui)
34add_importlibs(atl_apitest rpcrt4 ole32 oleaut32 msimg32 gdi32 advapi32 user32 msvcrt kernel32 ntdll)
35add_pch(atl_apitest precomp.h "${PCH_SKIP_SOURCE}")
36add_rostests_file(TARGET atl_apitest)
37