From 5051209534c8a2034dcb0016d4a8fe29dcb2947b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 19 Apr 2013 13:35:42 +0200 Subject: Adapt SDK to usage of msvcrtd for Windows --enable-dbgutil * Re-use existing settings/dk.mk to tunnel ENABLE_DEBUG into the SDK. Turns out this was explicitly included in ~all examples Makefiles, but only after settings.mk where it is now used, so include it in settings.mk now and dropped it from all the exmaples Makefiles. * The old settings.mk was apparently confused with using /MT ("link with LIBCMT.LIB") on cl command line and /MD ("link with MSVCRT.LIB") on link command line (where it was ignored), and you apparently can't pass both together to cl, so I settled on /MD (resp. /MDd) now and dropped /MT (resp. /MTd). No idea if that is exactly right, however. * Introduced client-facing LIBO_SDK_LDFLAGS_STDLIBS that covers kernel32.lib and msvcrt.lib vs. msvcrtd.lib on Windows. Adapted examples Makefiles and /ure/source/uretest/Makefile accordingly. Some examples Makefiles additionally use msvcprt.lib, no idea whether that still needs to be addressed. Change-Id: Ia8d9d177e415abfbaf6f9fa6239f0ef9998868be --- odk/examples/CLI/CSharp/Spreadsheet/Makefile | 1 - 1 file changed, 1 deletion(-) (limited to 'odk/examples/CLI/CSharp') diff --git a/odk/examples/CLI/CSharp/Spreadsheet/Makefile b/odk/examples/CLI/CSharp/Spreadsheet/Makefile index 219d867fb268..6d03200e4a7f 100644 --- a/odk/examples/CLI/CSharp/Spreadsheet/Makefile +++ b/odk/examples/CLI/CSharp/Spreadsheet/Makefile @@ -27,7 +27,6 @@ SETTINGS = $(PRJ)/settings include $(SETTINGS)/settings.mk include $(SETTINGS)/std.mk -#include $(SETTINGS)/dk.mk CSC_FLAGS = -warnaserror+ -noconfig -platform:x86 VBC_FLAGS = -warnaserror+ -- cgit