1
2add_definitions(
3    -D_ATL_NO_EXCEPTIONS)
4
5set_cpp(WITH_RUNTIME)
6
7spec2def(shell32_apitest.exe shell32_apitest.spec)
8
9include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
10
11list(APPEND SOURCE
12    AddCommas.cpp
13    CFSFolder.cpp
14    CIDLData.cpp
15    CMyComputer.cpp
16    CShellDesktop.cpp
17    CShellLink.cpp
18    CUserNotification.cpp
19    Control_RunDLLW.cpp
20    IShellFolderViewCB.cpp
21    OpenAs_RunDLL.cpp
22    PathResolve.cpp
23    SHCreateDataObject.cpp
24    SHCreateFileExtractIconW.cpp
25    SHParseDisplayName.cpp
26    ShellExecCmdLine.cpp
27    ShellExecuteEx.cpp
28    ShellState.cpp
29    menu.cpp
30    shelltest.cpp
31    shelltest.h)
32
33add_executable(shell32_apitest
34    ${SOURCE}
35    testlist.c
36    resource.rc
37    ${CMAKE_CURRENT_BINARY_DIR}/shell32_apitest.def)
38
39target_link_libraries(shell32_apitest wine uuid ${PSEH_LIB})
40set_module_type(shell32_apitest win32cui)
41add_importlibs(shell32_apitest user32 gdi32 shell32 ole32 oleaut32 advapi32 shlwapi msvcrt kernel32 ntdll)
42add_pch(shell32_apitest shelltest.h SOURCE)
43add_rostests_file(TARGET shell32_apitest)
44