[ros-diffs] [tkreuzer] 49829: [CMAKE] Fix build of msvcsup (add missing file)

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sat Nov 27 23:47:11 UTC 2010


Author: tkreuzer
Date: Sat Nov 27 23:47:10 2010
New Revision: 49829

URL: http://svn.reactos.org/svn/reactos?rev=49829&view=rev
Log:
[CMAKE]
Fix build of msvcsup (add missing file)

Added:
    branches/cmake-bringup/lib/sdk/crt/misc/fltused.c   (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/CMakeLists.txt?rev=49829&r1=49828&r2=49829&view=diff
==============================================================================
--- branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt [iso-8859-1] Sat Nov 27 23:47:10 2010
@@ -571,11 +571,13 @@
 set_property(TARGET libcntpr PROPERTY COMPILE_DEFINITIONS NO_RTL_INLINES _NTSYSTEM_ _NTDLLBUILD_ _LIBCNT_ __CRT__NO_INLINE)
 add_dependencies(libcntpr psdk buildno_header asm)
 
+if(MSVC)
 # This is a temporary solution until we have proper crt libs
 list(APPEND MSVCSUP_SOURCE
-#   misc/fltused.c         FIXME: missing file ?
+    misc/fltused.c
     except/i386/chkstk_asm.s
     math/i386/ftol2_asm.S)
 
 add_library(msvcsup ${MSVCSUP_SOURCE})
 add_dependencies(msvcsup psdk buildno_header asm)
+endif()

Added: branches/cmake-bringup/lib/sdk/crt/misc/fltused.c
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/sdk/crt/misc/fltused.c?rev=49829&view=auto
==============================================================================
--- branches/cmake-bringup/lib/sdk/crt/misc/fltused.c (added)
+++ branches/cmake-bringup/lib/sdk/crt/misc/fltused.c [iso-8859-1] Sat Nov 27 23:47:10 2010
@@ -1,0 +1,2 @@
+
+int _fltused;

Propchange: branches/cmake-bringup/lib/sdk/crt/misc/fltused.c
------------------------------------------------------------------------------
    svn:eol-style = native




More information about the Ros-diffs mailing list