mirror of
https://github.com/reactos/reactos.git
synced 2025-05-20 17:45:06 +00:00
[OPENGL32]
- Fix MSVC_IDE build CORE-7570 #resolve svn path=/trunk/; revision=60960
This commit is contained in:
parent
16826f4c0c
commit
28003cebec
2 changed files with 9 additions and 5 deletions
|
@ -4,6 +4,10 @@ list(APPEND SOURCE
|
||||||
x86_xform.c
|
x86_xform.c
|
||||||
3dnow.c
|
3dnow.c
|
||||||
sse.c
|
sse.c
|
||||||
|
rtasm/x86sse.c
|
||||||
|
)
|
||||||
|
|
||||||
|
list(APPEND ASM_SOURCE
|
||||||
common_x86_asm.S
|
common_x86_asm.S
|
||||||
x86_xform2.S
|
x86_xform2.S
|
||||||
x86_xform3.S
|
x86_xform3.S
|
||||||
|
@ -21,10 +25,10 @@ list(APPEND SOURCE
|
||||||
sse_xform4.S
|
sse_xform4.S
|
||||||
sse_normal.S
|
sse_normal.S
|
||||||
read_rgba_span_x86.S
|
read_rgba_span_x86.S
|
||||||
rtasm/x86sse.c
|
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(mesa_x86 STATIC ${SOURCE})
|
add_asm_files(mesa_x86_asm ${ASM_SOURCE})
|
||||||
|
add_library(mesa_x86 STATIC ${SOURCE} ${mesa_x86_asm))
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
add_compile_flags("-Wno-format")
|
add_compile_flags("-Wno-format")
|
||||||
|
|
|
@ -28,12 +28,12 @@ set_source_files_properties(gcrt0.o libgmon.a PROPERTIES EXTERNAL_OBJECT TRUE)
|
||||||
|
|
||||||
if(ARCH STREQUAL "i386")
|
if(ARCH STREQUAL "i386")
|
||||||
# Optimisation: use asm trampolines to ICD provided functions
|
# Optimisation: use asm trampolines to ICD provided functions
|
||||||
list(APPEND SOURCE
|
add_asm_files(opengl32_asm
|
||||||
glapi_x86.s
|
glapi_x86.s
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(opengl32 SHARED ${SOURCE})
|
add_library(opengl32 SHARED ${SOURCE} ${opengl32_asm})
|
||||||
target_link_libraries(opengl32
|
target_link_libraries(opengl32
|
||||||
wine
|
wine
|
||||||
${PSEH_LIB}
|
${PSEH_LIB}
|
||||||
|
|
Loading…
Reference in a new issue