xref: /reactos/base/shell/explorer/CMakeLists.txt (revision 6e4f0365)
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    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    syspager.cpp
20    taskband.cpp
21    taskswnd.cpp
22    tbsite.cpp
23    trayclock.cpp
24    trayntfy.cpp
25    trayprop.cpp
26    traywnd.cpp
27    util.cpp
28    precomp.h)
29
30file(GLOB explorer_rc_deps res/*.*)
31add_rc_deps(explorer.rc ${explorer_rc_deps})
32add_executable(explorer ${SOURCE} explorer.rc)
33target_link_libraries(explorer uuid wine)
34set_module_type(explorer win32gui UNICODE)
35add_importlibs(explorer advapi32 gdi32 user32 comctl32 ole32 oleaut32 shell32 browseui shlwapi shdocvw version uxtheme msvcrt kernel32 ntdll)
36add_pch(explorer precomp.h SOURCE)
37add_cd_file(TARGET explorer DESTINATION reactos FOR all)
38