2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(include)
|
2021-07-17 12:53:17 +00:00
|
|
|
#include_directories(.)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D_CRTBLD)
|
|
|
|
|
2021-07-17 12:53:17 +00:00
|
|
|
include(conio/conio.cmake)
|
|
|
|
include(direct/direct.cmake)
|
|
|
|
include(except/except.cmake)
|
|
|
|
include(float/float.cmake)
|
|
|
|
include(math/math.cmake)
|
|
|
|
include(mbstring/mbstring.cmake)
|
|
|
|
include(mem/mem.cmake)
|
|
|
|
include(misc/misc.cmake)
|
|
|
|
include(printf/printf.cmake)
|
|
|
|
include(process/process.cmake)
|
|
|
|
include(search/search.cmake)
|
|
|
|
include(setjmp/setjmp.cmake)
|
|
|
|
include(startup/startup.cmake)
|
|
|
|
include(stdio/stdio.cmake)
|
|
|
|
include(stdlib/stdlib.cmake)
|
|
|
|
include(string/string.cmake)
|
|
|
|
include(time/time.cmake)
|
|
|
|
include(wine/wine.cmake)
|
|
|
|
include(wstring/wstring.cmake)
|
2011-06-05 18:42:09 +00:00
|
|
|
|
2011-05-23 15:50:03 +00:00
|
|
|
include(crt.cmake)
|
|
|
|
include(libcntpr.cmake)
|
|
|
|
include(msvcrtex.cmake)
|
|
|
|
include(oldnames.cmake)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_library(user32_wsprintf
|
|
|
|
printf/streamout.c
|
|
|
|
printf/wstreamout.c
|
|
|
|
printf/wsprintfA.c
|
|
|
|
printf/wsprintfW.c
|
|
|
|
printf/wvsprintfA.c
|
|
|
|
printf/wvsprintfW.c
|
|
|
|
printf/wvsnprintfA.c
|
|
|
|
printf/wvsnprintfW.c
|
2012-07-04 18:58:09 +00:00
|
|
|
string/strnlen.c
|
|
|
|
string/wcsnlen.c
|
2011-05-16 13:12:07 +00:00
|
|
|
string/mbstowcs_nt.c
|
|
|
|
string/wcstombs_nt.c)
|
|
|
|
|
2012-04-01 17:32:55 +00:00
|
|
|
add_dependencies(user32_wsprintf psdk)
|
2020-04-16 12:59:38 +00:00
|
|
|
target_compile_definitions(user32_wsprintf PRIVATE _USER32_WSPRINTF)
|
2024-08-24 10:20:11 +00:00
|
|
|
|
|
|
|
if(MSVC AND ARCH STREQUAL "i386")
|
|
|
|
add_asm_files(ftol2_asm
|
|
|
|
math/i386/ftol2_asm.s
|
2024-08-29 17:57:30 +00:00
|
|
|
math/i386/ftoul2_legacy_asm.s
|
2024-08-24 10:20:11 +00:00
|
|
|
)
|
|
|
|
add_library(ftol2 ${ftol2_asm})
|
|
|
|
set_target_properties(ftol2 PROPERTIES LINKER_LANGUAGE "C")
|
|
|
|
add_dependencies(ftol2 asm)
|
|
|
|
endif()
|