* Sync up to trunk head (r65394).
[reactos.git] / dll / shellext / stobject / CMakeLists.txt
1
2 project(SHELL)
3
4 set_cpp(WITH_RUNTIME)
5
6 if(NOT MSVC)
7 # HACK: this should be enabled globally!
8 add_compile_flags_language("-std=c++11" "CXX")
9 endif()
10
11 include_directories(
12 ${REACTOS_SOURCE_DIR}/lib/atl
13 ${REACTOS_SOURCE_DIR})
14
15 spec2def(stobject.dll stobject.spec)
16
17 add_library(stobject SHARED
18 csystray.cpp
19 stobject.cpp
20 stobject.rc
21 volume.cpp
22 ${CMAKE_CURRENT_BINARY_DIR}/stobject.def)
23
24 set_module_type(stobject win32dll UNICODE)
25 target_link_libraries(stobject uuid wine atlnew)
26
27 add_importlibs(stobject
28 advapi32
29 winmm
30 ole32
31 shlwapi
32 shell32
33 comctl32
34 msvcrt
35 gdi32
36 user32
37 kernel32
38 ntdll)
39
40 add_cd_file(TARGET stobject DESTINATION reactos/system32 FOR all)