8055fffc456c605cd64d73ace0f21d8b3067206b
[reactos.git] / modules / rostests / apitests / atl / CMakeLists.txt
1
2 add_definitions(-DINITGUID -DWINETEST_USE_DBGSTR_LONGLONG)
3 set_cpp(WITH_RUNTIME WITH_EXCEPTIONS)
4
5 include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
6
7 list(APPEND SOURCE
8 atltypes.cpp
9 CAtlFileMapping.cpp
10 CComBSTR.cpp
11 CComHeapPtr.cpp
12 CComObject.cpp
13 CComQIPtr.cpp
14 CImage.cpp
15 CRegKey.cpp
16 CSimpleArray.cpp
17 CSimpleMap.cpp
18 CString.cpp
19 precomp.h)
20
21 add_executable(atl_apitest
22 ${SOURCE}
23 CComVariant.cpp
24 testlist.c
25 atl_apitest.rc)
26
27 target_link_libraries(atl_apitest wine uuid)
28 set_module_type(atl_apitest win32cui)
29 add_importlibs(atl_apitest rpcrt4 ole32 oleaut32 msimg32 gdi32 advapi32 user32 msvcrt kernel32 ntdll)
30 add_pch(atl_apitest precomp.h SOURCE)
31 add_rostests_file(TARGET atl_apitest)