[CMAKE]
[reactos.git] / dll / win32 / msvcrt20 / 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(msvcrt20.dll msvcrt20.spec)
8
9 list(APPEND SOURCE
10 msvcrt20.c
11 ${CMAKE_CURRENT_BINARY_DIR}/msvcrt20.def)
12
13 add_library(msvcrt20 SHARED ${SOURCE})
14 set_entrypoint(msvcrt20 0)
15
16 target_link_libraries(msvcrt20 wine)
17
18 add_importlibs(msvcrt20 msvcrt kernel32 ntdll)
19 add_dependencies(msvcrt20 psdk)
20 add_cd_file(TARGET msvcrt20 DESTINATION reactos/system32)