434d560a559183c68e9728f6179c7902ccb5da56
[reactos.git] / dll / win32 / lpk / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-DLANGPACK)
5 include_directories(include)
6
7 spec2def(lpk ${CMAKE_CURRENT_SOURCE_DIR}/lpk.spec ${CMAKE_CURRENT_BINARY_DIR}/lpk.def)
8
9 add_library(lpk SHARED dllmain.c stub.c lpk.rc)
10
11 set_module_type(lpk win32dll)
12
13 target_link_libraries(lpk ${CMAKE_CURRENT_BINARY_DIR}/lpk.def)
14
15 add_importlibs(lpk user32 usp10 kernel32 ntdll)
16 add_dependencies(lpk lpk_def)
17 add_cab_target(lpk 1)