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