[CMAKE]
[reactos.git] / dll / win32 / itircl / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(itircl.dll itircl.spec)
6
7 list(APPEND SOURCE
8 itircl_main.c
9 ${CMAKE_CURRENT_BINARY_DIR}/itircl_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/itircl.def)
11
12 add_library(itircl SHARED ${SOURCE})
13
14 set_module_type(itircl win32dll)
15
16 target_link_libraries(itircl wine)
17
18 add_importlibs(itircl msvcrt kernel32 ntdll)
19 add_dependencies(itircl psdk)
20 add_cd_file(TARGET itircl DESTINATION reactos/system32 FOR all)