1
2PROJECT(SHELL)
3
4set_cpp(WITH_RUNTIME)
5
6add_definitions(-DUNICODE -D_UNICODE)
7add_definitions(-D_ATL_NO_EXCEPTIONS)
8
9include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
10
11list(APPEND SOURCE
12    CBandSite.cpp
13    CBandSiteMenu.cpp
14    CBaseBar.cpp
15    CISFBand.cpp
16    CSHEnumClassesOfCategories.cpp
17    shellbars.h)
18
19add_library(shellbars ${SOURCE})
20
21if(NOT MSVC)
22    add_target_compile_flags(shellbars "-Wno-unused-but-set-variable")
23endif()
24
25add_pch(shellbars shellbars.h SOURCE)
26target_link_libraries(shellbars atlnew)
27add_dependencies(shellbars xdk)
28