1
2include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3
4list(APPEND SOURCE
5    config.c
6    debug_ros.c
7    isinf.c
8    isfinite.c
9    isnan.c
10    loader.c
11    ${REACTOS_SOURCE_DIR}/sdk/lib/crt/string/wctype.c
12    path.c
13    register.c
14#    string.c implements _stricmp, already shipped with crt
15)
16
17add_library(wine ${SOURCE})
18add_dependencies(wine psdk)
19target_compile_definitions(wine PRIVATE __WINESRC__ _WINE)
20
21add_library(wineldr loader.c)
22add_dependencies(wineldr xdk)
23target_compile_definitions(wineldr PRIVATE __WINESRC__)
24
25add_library(wine_dll_register dll_register.c ${SOURCE})
26add_dependencies(wine_dll_register psdk)
27target_compile_definitions(wine_dll_register PRIVATE __WINESRC__ _WINE)
28