Author: akhaldi
Date: Wed Feb 9 12:09:21 2011
New Revision: 50630
URL:
http://svn.reactos.org/svn/reactos?rev=50630&view=rev
Log:
[CMAKE]
- Apply the proper definition to user32_wsprintf using target properties.
Removed:
branches/cmake-bringup/lib/sdk/crt/printf/CMakeLists.txt
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] Wed Feb 9 12:09:21
2011
@@ -628,4 +628,16 @@
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)
Removed: 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 [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/sdk/crt/printf/CMakeLists.txt (removed)
@@ -1,16 +1,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)