[CMAKE]
[reactos.git] / dll / win32 / shfolder / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(shfolder.dll shfolder.spec)
6
7 list(APPEND SOURCE
8 version.rc
9 ${CMAKE_CURRENT_BINARY_DIR}/shfolder.def)
10
11 add_library(shfolder SHARED ${SOURCE})
12
13 set_entrypoint(shfolder 0)
14
15 target_link_libraries(shfolder wine)
16 add_importlibs(shfolder shell32 kernel32 ntdll)
17 add_dependencies(shfolder psdk)
18 add_cd_file(TARGET shfolder DESTINATION reactos/system32 FOR all)