From dc89f455992f467a60b99dfab1f90be7f3623ca0 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Fri, 26 Nov 2010 23:45:30 +0000 Subject: [PATCH 1/1] [CMAKE] 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/sdk/crt/CMakeLists.txt b/lib/sdk/crt/CMakeLists.txt index c22b2c740bf..c55991d602f 100644 --- a/lib/sdk/crt/CMakeLists.txt +++ b/lib/sdk/crt/CMakeLists.txt @@ -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) -- 2.17.1