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