[APITESTS] Add ShellStateTest
[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 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 ShellExecuteEx.cpp
22 ShellState.cpp
23 menu.cpp
24 shelltest.cpp
25 shelltest.h)
26
27 add_executable(shell32_apitest
28 ${SOURCE}
29 testlist.c
30 resource.rc
31 ${CMAKE_CURRENT_BINARY_DIR}/shell32_apitest.def)
32
33 target_link_libraries(shell32_apitest wine uuid ${PSEH_LIB})
34 set_module_type(shell32_apitest win32cui)
35 add_importlibs(shell32_apitest user32 gdi32 shell32 ole32 oleaut32 advapi32 shlwapi msvcrt kernel32 ntdll)
36 add_pch(shell32_apitest shelltest.h SOURCE)
37 add_rostests_file(TARGET shell32_apitest)