[CLANG-CL] Initial commit that allows us to compile ReactOS with clang-cl.
[reactos.git] / dll / win32 / browseui / shellbars / CMakeLists.txt
1 PROJECT(SHELL)
2
3 set_cpp(WITH_RUNTIME)
4
5 add_definitions(-DUNICODE -D_UNICODE)
6 add_definitions(-D_ATL_NO_EXCEPTIONS)
7
8 include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
9
10 list(APPEND SOURCE
11 CBandSite.cpp
12 CBandSiteMenu.cpp
13 CBaseBar.cpp
14 CISFBand.cpp
15 CSHEnumClassesOfCategories.cpp)
16
17 add_library(shellbars ${SOURCE})
18 add_dependencies(shellbars xdk)
19
20 target_link_libraries(shellbars atlnew)
21
22 if(NOT MSVC)
23 add_target_compile_flags(shellbars "-Wno-unused-but-set-variable")
24 endif()