[HIVESFT.INF]
[reactos.git] / dll / win32 / 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 stobject.cpp
19 stobject.rc
20 volume.cpp
21 ${CMAKE_CURRENT_BINARY_DIR}/stobject.def)
22
23 set_module_type(stobject win32dll UNICODE)
24 target_link_libraries(stobject uuid wine atlnew)
25
26 add_importlibs(stobject
27 advapi32
28 winmm
29 ole32
30 shlwapi
31 shell32
32 comctl32
33 msvcrt
34 gdi32
35 user32
36 kernel32
37 ntdll)
38
39 add_cd_file(TARGET stobject DESTINATION reactos/system32 FOR all)