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