[CMAKE] Introduce the atl_classes interface library
[reactos.git] / modules / rostests / apitests / shell32 / CMakeLists.txt
1
2 spec2def(shell32_apitest.exe shell32_apitest.spec)
3
4 list(APPEND SOURCE
5 AddCommas.cpp
6 CFSFolder.cpp
7 CheckEscapes.cpp
8 CIDLData.cpp
9 CMyComputer.cpp
10 CShellDesktop.cpp
11 CShellLink.cpp
12 CUserNotification.cpp
13 Control_RunDLLW.cpp
14 DragDrop.cpp
15 ExtractIconEx.cpp
16 IShellFolderViewCB.cpp
17 OpenAs_RunDLL.cpp
18 PathResolve.cpp
19 SHAppBarMessage.cpp
20 SHChangeNotify.cpp
21 SHCreateDataObject.cpp
22 SHCreateFileExtractIconW.cpp
23 SHParseDisplayName.cpp
24 ShellExecCmdLine.cpp
25 ShellExecuteEx.cpp
26 ShellExecuteW.cpp
27 ShellHook.cpp
28 ShellState.cpp
29 SHLimitInputEdit.cpp
30 menu.cpp
31 shelltest.cpp)
32
33 list(APPEND PCH_SKIP_SOURCE
34 testlist.c)
35
36 add_executable(shell32_apitest
37 ${SOURCE}
38 ${PCH_SKIP_SOURCE}
39 resource.rc
40 ${CMAKE_CURRENT_BINARY_DIR}/shell32_apitest.def)
41
42 target_link_libraries(shell32_apitest wine uuid ${PSEH_LIB} cpprt atl_classes)
43 set_module_type(shell32_apitest win32cui)
44 add_importlibs(shell32_apitest user32 gdi32 shell32 ole32 oleaut32 advapi32 shlwapi msvcrt kernel32 ntdll)
45 add_pch(shell32_apitest shelltest.h "${PCH_SKIP_SOURCE}")
46 add_rostests_file(TARGET shell32_apitest)
47
48 # shell-notify.exe
49 add_executable(shell-notify shell-notify.cpp)
50 target_link_libraries(shell-notify cpprt atl_classes)
51 set_module_type(shell-notify win32gui UNICODE)
52 add_importlibs(shell-notify msvcrt kernel32 user32 shell32 shlwapi ole32)
53 add_rostests_file(TARGET shell-notify SUBDIR testdata)