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