7526df1badb129ffa9fd80a7588612cd91e46112
[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 PathResolve.cpp
19 SHCreateFileExtractIconW.cpp
20 ShellExecuteEx.cpp
21 shelltest.cpp
22 SHParseDisplayName.cpp
23 shelltest.h)
24
25 add_executable(shell32_apitest
26 ${SOURCE}
27 testlist.c
28 resource.rc
29 ${CMAKE_CURRENT_BINARY_DIR}/shell32_apitest.def)
30
31 target_link_libraries(shell32_apitest wine uuid ${PSEH_LIB})
32 set_module_type(shell32_apitest win32cui)
33 add_importlibs(shell32_apitest user32 gdi32 shell32 ole32 oleaut32 advapi32 shlwapi msvcrt kernel32 ntdll)
34 add_pch(shell32_apitest shelltest.h SOURCE)
35 add_rostests_file(TARGET shell32_apitest)