[SHELL32_APITEST] Improve the existing PCH and make use of it. Convert AddCommas...
[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 menu.cpp
16 PathResolve.cpp
17 SHCreateFileExtractIconW.cpp
18 ShellExecuteEx.cpp
19 shelltest.cpp
20 SHParseDisplayName.cpp
21 shelltest.h)
22
23 add_executable(shell32_apitest
24 ${SOURCE}
25 testlist.c
26 resource.rc
27 ${CMAKE_CURRENT_BINARY_DIR}/shell32_apitest.def)
28
29 target_link_libraries(shell32_apitest wine uuid ${PSEH_LIB})
30 set_module_type(shell32_apitest win32cui)
31 add_importlibs(shell32_apitest user32 gdi32 shell32 ole32 oleaut32 advapi32 shlwapi msvcrt kernel32 ntdll)
32 add_pch(shell32_apitest shelltest.h SOURCE)
33 add_rostests_file(TARGET shell32_apitest)