mirror of
https://github.com/reactos/reactos.git
synced 2025-06-25 12:49:46 +00:00
[CMAKE]
Fix crt/bootcdregtest regression, due to _USER32_WSPRINTF. add_definitions does not apply to target, but current directory. svn path=/branches/cmake-bringup/; revision=50535
This commit is contained in:
parent
79d8b4cf40
commit
cac01ad6eb
2 changed files with 17 additions and 12 deletions
|
@ -626,15 +626,4 @@ if(MSVC)
|
|||
add_dependencies(msvcsup psdk buildno_header asm)
|
||||
endif()
|
||||
|
||||
add_definitions(-D_USER32_WSPRINTF)
|
||||
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
|
||||
string/mbstowcs_nt.c
|
||||
string/wcstombs_nt.c)
|
||||
add_subdirectory(printf)
|
16
lib/sdk/crt/printf/CMakeLists.txt
Normal file
16
lib/sdk/crt/printf/CMakeLists.txt
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
include_directories(.. ../include)
|
||||
|
||||
add_definitions(-D_USER32_WSPRINTF)
|
||||
|
||||
add_library(user32_wsprintf
|
||||
streamout.c
|
||||
wstreamout.c
|
||||
wsprintfA.c
|
||||
wsprintfW.c
|
||||
wvsprintfA.c
|
||||
wvsprintfW.c
|
||||
wvsnprintfA.c
|
||||
wvsnprintfW.c
|
||||
../string/mbstowcs_nt.c
|
||||
../string/wcstombs_nt.c)
|
Loading…
Add table
Add a link
Reference in a new issue