2015-10-18 10:46:11 +00:00
|
|
|
|
2016-09-26 20:50:36 +00:00
|
|
|
add_definitions(-DINITGUID -DWINETEST_USE_DBGSTR_LONGLONG)
|
2015-10-18 10:46:11 +00:00
|
|
|
|
2017-12-21 12:31:24 +00:00
|
|
|
list(APPEND SOURCE
|
2016-08-04 19:15:21 +00:00
|
|
|
atltypes.cpp
|
2019-04-05 21:22:55 +00:00
|
|
|
CAtlFileMapping.cpp
|
2019-08-09 22:22:03 +00:00
|
|
|
CAtlArray.cpp
|
2019-08-09 17:14:43 +00:00
|
|
|
CAtlList.cpp
|
2015-11-05 10:49:52 +00:00
|
|
|
CComBSTR.cpp
|
2015-10-18 10:46:11 +00:00
|
|
|
CComHeapPtr.cpp
|
2017-12-20 21:06:44 +00:00
|
|
|
CComObject.cpp
|
2018-08-05 09:50:02 +00:00
|
|
|
CComQIPtr.cpp
|
2020-01-08 22:26:06 +00:00
|
|
|
CComVariant.cpp
|
|
|
|
CHeapPtrList.cpp
|
2016-08-18 19:27:49 +00:00
|
|
|
CImage.cpp
|
2016-08-10 19:34:38 +00:00
|
|
|
CRegKey.cpp
|
2016-09-15 19:41:03 +00:00
|
|
|
CSimpleArray.cpp
|
|
|
|
CSimpleMap.cpp
|
2020-05-09 21:37:40 +00:00
|
|
|
CString.cpp)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
testlist.c)
|
2017-12-21 12:31:24 +00:00
|
|
|
|
|
|
|
add_executable(atl_apitest
|
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2015-11-05 10:49:52 +00:00
|
|
|
atl_apitest.rc)
|
|
|
|
|
2020-09-18 09:08:58 +00:00
|
|
|
target_link_libraries(atl_apitest wine uuid cpprt atl_classes)
|
2020-09-18 07:34:18 +00:00
|
|
|
set_target_cpp_properties(atl_apitest WITH_EXCEPTIONS)
|
2015-10-18 10:46:11 +00:00
|
|
|
set_module_type(atl_apitest win32cui)
|
2016-09-26 20:50:36 +00:00
|
|
|
add_importlibs(atl_apitest rpcrt4 ole32 oleaut32 msimg32 gdi32 advapi32 user32 msvcrt kernel32 ntdll)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(atl_apitest precomp.h "${PCH_SKIP_SOURCE}")
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET atl_apitest)
|