xref: /reactos/base/shell/explorer/CMakeLists.txt (revision c2c66aff)
1PROJECT(SHELL)
2
3set_cpp(WITH_RUNTIME)
4
5include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
6
7list(APPEND SOURCE
8    desktop.cpp
9    explorer.cpp
10    notifyiconscust.cpp
11    rshell.cpp
12    settings.cpp
13    shellservice.cpp
14    startctxmnu.cpp
15    startmnu.cpp
16    startmnucust.cpp
17    startmnusite.cpp
18    startup.cpp
19    taskband.cpp
20    taskswnd.cpp
21    tbsite.cpp
22    trayntfy.cpp
23    trayprop.cpp
24    traywnd.cpp
25    util.cpp
26    precomp.h)
27
28file(GLOB explorer_rc_deps res/*.*)
29add_rc_deps(explorer.rc ${explorer_rc_deps})
30add_executable(explorer ${SOURCE} explorer.rc)
31target_link_libraries(explorer uuid atlnew wine)
32set_module_type(explorer win32gui UNICODE)
33add_importlibs(explorer advapi32 gdi32 user32 comctl32 ole32 oleaut32 shell32 browseui shlwapi shdocvw version uxtheme msvcrt kernel32 ntdll)
34add_pch(explorer precomp.h SOURCE)
35add_cd_file(TARGET explorer DESTINATION reactos FOR all)
36