1PROJECT(SHELL) 2 3if(DBG) 4 add_definitions(-D_DEBUG=1) # CORE-17505 5endif() 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 traydeskbtn.cpp 26 trayntfy.cpp 27 trayprop.cpp 28 traywnd.cpp 29 util.cpp 30 precomp.h) 31 32file(GLOB explorer_rc_deps res/*.*) 33add_rc_deps(explorer.rc ${explorer_rc_deps}) 34add_executable(explorer ${SOURCE} explorer.rc) 35target_link_libraries(explorer uuid wine cpprt atl_classes) 36set_module_type(explorer win32gui UNICODE) 37add_importlibs(explorer advapi32 gdi32 user32 comctl32 ole32 oleaut32 shell32 browseui shlwapi shdocvw version uxtheme msvcrt kernel32 ntdll) 38add_pch(explorer precomp.h SOURCE) 39add_cd_file(TARGET explorer DESTINATION reactos FOR all) 40