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