File tree Expand file tree Collapse file tree 4 files changed +0
-20
lines changed
Expand file tree Collapse file tree 4 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,6 @@ if(MSVC)
3939 # export of deleting destructor "name"
4040 target_link_options (msvcrt PRIVATE "/ignore:4102" )
4141 set_property (TARGET libmsvcrt APPEND PROPERTY STATIC_LIBRARY_OPTIONS "/ignore:4102" )
42- if (ARCH STREQUAL "i386" )
43- target_sources (libmsvcrt PRIVATE $<TARGET_OBJECTS:ftol2_sse>)
44- endif ()
4542endif ()
4643
4744add_importlibs(msvcrt kernel32 ntdll)
Original file line number Diff line number Diff line change @@ -93,15 +93,6 @@ add_asm_files(msvcrtex_asm ${MSVCRTEX_ASM_SOURCE})
9393add_library (msvcrtex OBJECT ${MSVCRTEX_SOURCE} ${msvcrtex_asm} )
9494target_compile_definitions (msvcrtex PRIVATE _DLL _MSVCRTEX_)
9595
96- if (MSVC AND (ARCH STREQUAL "i386" ))
97- # user32.dll needs this as a stand-alone object file
98- add_asm_files(ftol2_asm math/i386/ftol2_asm.s)
99- add_library (ftol2_sse OBJECT ${ftol2_asm} )
100- target_compile_definitions (ftol2_sse PRIVATE $<TARGET_PROPERTY:msvcrtex,COMPILE_DEFINITIONS >)
101- set_target_properties (ftol2_sse PROPERTIES LINKER_LANGUAGE C)
102- endif ()
103-
104-
10596if (CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang" )
10697 target_compile_options (msvcrtex PRIVATE $<$<COMPILE_LANGUAGE:C>:-Wno-main>)
10798 if (LTCG)
Original file line number Diff line number Diff line change @@ -61,10 +61,6 @@ target_link_libraries(gdi32
6161 atan2
6262 ${PSEH_LIB} )
6363
64- if (MSVC AND (ARCH STREQUAL "i386" ))
65- target_sources (gdi32 PRIVATE $<TARGET_OBJECTS:ftol2_sse>)
66- endif ()
67-
6864add_importlibs(gdi32 user32 advapi32 kernel32 ntdll)
6965add_pch(gdi32 include /precomp.h SOURCE )
7066add_dependencies (gdi32 psdk)
Original file line number Diff line number Diff line change @@ -85,10 +85,6 @@ set_module_type(user32 win32dll UNICODE ENTRYPOINT DllMain 12)
8585target_link_libraries (user32 user32_vista_static user32_optional_vista user32_wsprintf wine win32ksys ${PSEH_LIB} )
8686add_dependencies (user32 asm)
8787
88- if (MSVC AND (ARCH STREQUAL "i386" ))
89- target_sources (user32 PRIVATE $<TARGET_OBJECTS:ftol2_sse>)
90- endif ()
91-
9288add_delay_importlibs(user32 usp10 libpng)
9389add_importlibs(user32 gdi32 advapi32 kernel32 ntdll)
9490add_pch(user32 include /user32.h SOURCE )
You can’t perform that action at this time.
0 commit comments