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    DragDrop.cpp
21    ExtractIconEx.cpp
22    IShellFolderViewCB.cpp
23    OpenAs_RunDLL.cpp
24    PathResolve.cpp
25    SHCreateDataObject.cpp
26    SHCreateFileExtractIconW.cpp
27    SHParseDisplayName.cpp
28    ShellExecCmdLine.cpp
29    ShellExecuteEx.cpp
30    ShellExecuteW.cpp
31    ShellState.cpp
32    SHLimitInputEdit.cpp
33    menu.cpp
34    shelltest.cpp
35    shelltest.h)
36
37add_executable(shell32_apitest
38    ${SOURCE}
39    testlist.c
40    resource.rc
41    ${CMAKE_CURRENT_BINARY_DIR}/shell32_apitest.def)
42
43target_link_libraries(shell32_apitest wine uuid ${PSEH_LIB})
44set_module_type(shell32_apitest win32cui)
45add_importlibs(shell32_apitest user32 gdi32 shell32 ole32 oleaut32 advapi32 shlwapi msvcrt kernel32 ntdll)
46add_pch(shell32_apitest shelltest.h SOURCE)
47add_rostests_file(TARGET shell32_apitest)
48