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