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