[CMAKE]
[reactos.git] / dll / win32 / mcicda / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(mcicda ${CMAKE_CURRENT_SOURCE_DIR}/mcicda.spec ${CMAKE_CURRENT_BINARY_DIR}/mcicda.def)
6
7 add_library(mcicda SHARED mcicda.c)
8
9 set_entrypoint(mcicda 0)
10
11 target_link_libraries(mcicda
12 ${CMAKE_CURRENT_BINARY_DIR}/mcicda.def
13 wine)
14
15 add_importlibs(mcicda winmm user32 kernel32 ntdll)
16 add_dependencies(mcicda mcicda_def psdk buildno_header)
17 add_cab_target(mcicda 1)