[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 ${CMAKE_CURRENT_SOURCE_DIR}/msvcrt40.spec ${CMAKE_CURRENT_BINARY_DIR}/msvcrt40.def)
8
9 add_library(msvcrt40 SHARED msvcrt40.c)
10
11 set_module_type(msvcrt40 win32dll)
12
13 target_link_libraries(msvcrt40
14 ${CMAKE_CURRENT_BINARY_DIR}/msvcrt40.def
15 wine)
16
17 add_importlibs(msvcrt40 msvcrt kernel32 ntdll)
18 add_dependencies(msvcrt40 msvcrt40_def)
19 add_livecd_target(msvcrt40 reactos/system32)