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