[CMAKE]
[reactos.git] / dll / win32 / modemui / CMakeLists.txt
1
2
3
4 add_definitions(-DUNICODE -D_UNICODE)
5
6 spec2def(modemui ${CMAKE_CURRENT_SOURCE_DIR}/modemui.spec ${CMAKE_CURRENT_BINARY_DIR}/modemui.def)
7
8 add_library(modemui SHARED modemui.c modemui.rc)
9
10 set_target_properties(modemui PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
11
12 target_link_libraries(modemui
13 ${CMAKE_CURRENT_BINARY_DIR}/modemui.def
14 -lkernel32)
15
16 add_dependencies(modemui modemui_def psdk)