[CMAKE]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Fri, 26 Nov 2010 23:45:30 +0000 (23:45 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Fri, 26 Nov 2010 23:45:30 +0000 (23:45 +0000)
Add msvcsup static library for MSVC. This might be superseded by something else later.

svn path=/branches/cmake-bringup/; revision=49804

lib/sdk/crt/CMakeLists.txt

index c22b2c7..c55991d 100644 (file)
@@ -570,3 +570,13 @@ endif(ARCH MATCHES i386)
 add_library(libcntpr ${LIBCNTPR_SOURCE})
 set_property(TARGET libcntpr PROPERTY COMPILE_DEFINITIONS NO_RTL_INLINES _NTSYSTEM_ _NTDLLBUILD_ _LIBCNT_ __CRT__NO_INLINE)
 add_dependencies(libcntpr psdk buildno_header asm)
+
+# This is a temporary solution until we have proper crt libs
+list(APPEND MSVCSUP_SOURCE
+     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)