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    CComBSTR.cpp
10    CComHeapPtr.cpp
11    CComObject.cpp
12    CImage.cpp
13    CRegKey.cpp
14    CSimpleArray.cpp
15    CSimpleMap.cpp
16    CString.cpp
17    precomp.h)
18
19add_executable(atl_apitest
20    ${SOURCE}
21    CComVariant.cpp
22    testlist.c
23    atl_apitest.rc)
24
25target_link_libraries(atl_apitest wine atlnew uuid)
26set_module_type(atl_apitest win32cui)
27add_importlibs(atl_apitest rpcrt4 ole32 oleaut32 msimg32 gdi32 advapi32 user32 msvcrt kernel32 ntdll)
28add_pch(atl_apitest precomp.h SOURCE)
29add_rostests_file(TARGET atl_apitest)
30