e556306829fc86cc45fd960b44f48c7c4577ae8f
[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 ${CMAKE_CURRENT_SOURCE_DIR}/msvcrt20.spec ${CMAKE_CURRENT_BINARY_DIR}/msvcrt20.def)
8
9 add_library(msvcrt20 SHARED msvcrt20.c)
10
11 set_entrypoint(msvcrt20 0)
12
13 target_link_libraries(msvcrt20
14 ${CMAKE_CURRENT_BINARY_DIR}/msvcrt20.def
15 wine)
16
17 add_importlibs(msvcrt20 msvcrt kernel32 ntdll)
18 add_dependencies(msvcrt20 msvcrt20_def psdk buildno_header)
19 add_cab_target(msvcrt20 1)