reactos/modules/rostests/apitests/atl/CMakeLists.txt
Jérôme Gardou 907025a018 [CMAKE] Introduce the atl_classes interface library
This takes care of adding the relvant include directory and the _ATL_NO_EXCEPTIONS define, if needed
2020-10-20 21:44:54 +02:00

35 lines
838 B
CMake

add_definitions(-DINITGUID -DWINETEST_USE_DBGSTR_LONGLONG)
list(APPEND SOURCE
atltypes.cpp
CAtlFileMapping.cpp
CAtlArray.cpp
CAtlList.cpp
CComBSTR.cpp
CComHeapPtr.cpp
CComObject.cpp
CComQIPtr.cpp
CComVariant.cpp
CHeapPtrList.cpp
CImage.cpp
CRegKey.cpp
CSimpleArray.cpp
CSimpleMap.cpp
CString.cpp)
list(APPEND PCH_SKIP_SOURCE
testlist.c)
add_executable(atl_apitest
${SOURCE}
${PCH_SKIP_SOURCE}
atl_apitest.rc)
target_link_libraries(atl_apitest wine uuid cpprt atl_classes)
set_target_cpp_properties(atl_apitest WITH_EXCEPTIONS)
set_module_type(atl_apitest win32cui)
add_importlibs(atl_apitest rpcrt4 ole32 oleaut32 msimg32 gdi32 advapi32 user32 msvcrt kernel32 ntdll)
add_pch(atl_apitest precomp.h "${PCH_SKIP_SOURCE}")
add_rostests_file(TARGET atl_apitest)