64a6a23d87a0270dd11bbdb20d9f24fb7b4cd287
[reactos.git] / dll / win32 / getuname / CMakeLists.txt
1
2 set_unicode()
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 spec2def(getuname ${CMAKE_CURRENT_SOURCE_DIR}/getuname.spec ${CMAKE_CURRENT_BINARY_DIR}/getuname.def)
7
8 add_library(getuname SHARED getuname.c getuname.rc)
9
10 set_module_type(getuname win32dll)
11
12 target_link_libraries(getuname ${CMAKE_CURRENT_BINARY_DIR}/getuname.def)
13
14 add_importlibs(getuname kernel32 ntdll)
15 add_dependencies(getuname getuname_def)
16 add_cab_target(getuname 1)