[CMAKE] Replace custom functions to built-in ones
[reactos.git] / dll / win32 / browseui / shellbars / CMakeLists.txt
1
2 PROJECT(SHELL)
3
4 set_cpp(WITH_RUNTIME)
5
6 add_definitions(-DUNICODE -D_UNICODE)
7 add_definitions(-D_ATL_NO_EXCEPTIONS)
8
9 include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
10
11 list(APPEND SOURCE
12 CBandSite.cpp
13 CBandSiteMenu.cpp
14 CBaseBar.cpp
15 CISFBand.cpp
16 CSHEnumClassesOfCategories.cpp
17 shellbars.h)
18
19 add_library(shellbars ${SOURCE})
20
21 if(NOT MSVC)
22 target_compile_options(shellbars PRIVATE "-Wno-unused-but-set-variable")
23 endif()
24
25 add_pch(shellbars shellbars.h SOURCE)
26 add_dependencies(shellbars xdk)