mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[CMAKE]
- Apply the proper definition to user32_wsprintf using target properties. svn path=/branches/cmake-bringup/; revision=50630
This commit is contained in:
parent
9b9bf81ccc
commit
d6f1cb454c
2 changed files with 13 additions and 17 deletions
|
@ -628,4 +628,16 @@ if(MSVC)
|
|||
add_dependencies(msvcsup psdk buildno_header asm)
|
||||
endif()
|
||||
|
||||
add_subdirectory(printf)
|
||||
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)
|
||||
|
||||
set_property(TARGET user32_wsprintf PROPERTY COMPILE_DEFINITIONS _USER32_WSPRINTF)
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
|
||||
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…
Reference in a new issue