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