xref: /reactos/sdk/lib/crt/wine/wine.cmake (revision 92db5188)
18c4aff39STimo Kreuzer
28c4aff39STimo Kreuzerlist(APPEND CRT_WINE_SOURCE
38c4aff39STimo Kreuzer    wine/cpp.c
48c4aff39STimo Kreuzer    wine/except.c
58c4aff39STimo Kreuzer    wine/heap.c
68c4aff39STimo Kreuzer    wine/undname.c
78c4aff39STimo Kreuzer)
88c4aff39STimo Kreuzer
98c4aff39STimo Kreuzerif(ARCH STREQUAL "i386")
108c4aff39STimo Kreuzer    list(APPEND CRT_WINE_SOURCE
118c4aff39STimo Kreuzer        wine/except_i386.c
128c4aff39STimo Kreuzer    )
13*92db5188STimo Kreuzer    list(APPEND CRT_WINE_ASM_SOURCE
14*92db5188STimo Kreuzer        wine/rosglue_i386.s
15*92db5188STimo Kreuzer    )
168c4aff39STimo Kreuzerelseif(ARCH STREQUAL "amd64")
178c4aff39STimo Kreuzer    list(APPEND CRT_WINE_SOURCE
188c4aff39STimo Kreuzer        wine/except_x86_64.c
198c4aff39STimo Kreuzer    )
208c4aff39STimo Kreuzerelseif(ARCH STREQUAL "arm")
218c4aff39STimo Kreuzer    list(APPEND CRT_WINE_SOURCE
228c4aff39STimo Kreuzer        wine/except_arm.c
238c4aff39STimo Kreuzer    )
2472477450SSerge Gautherieelseif(ARCH STREQUAL "arm64")
2572477450SSerge Gautherie    list(APPEND CRT_WINE_SOURCE
2672477450SSerge Gautherie        wine/except_arm64.c
2772477450SSerge Gautherie    )
288c4aff39STimo Kreuzerendif()
298c4aff39STimo Kreuzer
308c4aff39STimo Kreuzer# includes for wine code
318c4aff39STimo Kreuzerinclude_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
328c4aff39STimo Kreuzer
338c4aff39STimo Kreuzer#set_source_files_properties(${CRT_WINE_SOURCE} PROPERTIES INCLUDE_DIRECTORIES)
34