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    CMyComputer.cpp
15    CShellDesktop.cpp
16    CShellLink.cpp
17    CUserNotification.cpp
18    Control_RunDLLW.cpp
19    IShellFolderViewCB.cpp
20    OpenAs_RunDLL.cpp
21    PathResolve.cpp
22    SHCreateFileExtractIconW.cpp
23    SHParseDisplayName.cpp
24    ShellExecCmdLine.cpp
25    ShellExecuteEx.cpp
26    ShellState.cpp
27    menu.cpp
28    shelltest.cpp
29    shelltest.h)
30
31add_executable(shell32_apitest
32    ${SOURCE}
33    testlist.c
34    resource.rc
35    ${CMAKE_CURRENT_BINARY_DIR}/shell32_apitest.def)
36
37target_link_libraries(shell32_apitest wine uuid ${PSEH_LIB})
38set_module_type(shell32_apitest win32cui)
39add_importlibs(shell32_apitest user32 gdi32 shell32 ole32 oleaut32 advapi32 shlwapi msvcrt kernel32 ntdll)
40add_pch(shell32_apitest shelltest.h SOURCE)
41add_rostests_file(TARGET shell32_apitest)
42