Author: spetreolle
Date: Fri Jan 28 13:41:55 2011
New Revision: 50535
URL:
http://svn.reactos.org/svn/reactos?rev=50535&view=rev
Log:
[CMAKE]
Fix crt/bootcdregtest regression, due to _USER32_WSPRINTF.
add_definitions does not apply to target, but current directory.
Added:
branches/cmake-bringup/lib/sdk/crt/printf/CMakeLists.txt (with props)
Modified:
branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt
Modified: branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/sdk/crt/CMake…
==============================================================================
--- branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt [iso-8859-1] Fri Jan 28 13:41:55
2011
@@ -626,15 +626,4 @@
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)
Added: branches/cmake-bringup/lib/sdk/crt/printf/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/sdk/crt/print…
==============================================================================
--- branches/cmake-bringup/lib/sdk/crt/printf/CMakeLists.txt (added)
+++ branches/cmake-bringup/lib/sdk/crt/printf/CMakeLists.txt [iso-8859-1] Fri Jan 28
13:41:55 2011
@@ -1,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)
Propchange: branches/cmake-bringup/lib/sdk/crt/printf/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native