diff --git a/src/.gitignore b/src/.gitignore index 670a8c1c0e24..ec974f666d62 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -11,3 +11,4 @@ xammac.csproj xamtvos.csproj xamwatch.csproj generator-ikvm.csproj +generator-playground.cs diff --git a/src/Makefile.generator b/src/Makefile.generator index 03dbc8e9fdeb..b632acf7960f 100644 --- a/src/Makefile.generator +++ b/src/Makefile.generator @@ -70,6 +70,7 @@ generator-ikvm.csproj: generator-ikvm.csproj.in Makefile.generator -e 's^%MAC_FULL_PMCS_PROFILE%^full^' \ -e 's^%MAC_MOBILE_ARGS%^-d:MONOMAC -d:XAMARIN_MAC -compiler:$(MAC_BUILD_DIR)/mobile/pmcs -process-enums -native-exception-marshalling -core -sourceonly:$(MAC_BUILD_DIR)/mobile/generated-sources -tmpdir:$(MAC_BUILD_DIR)/mobile -baselib:$(MAC_BUILD_DIR)/mobile/core.dll -d:NO_SYSTEM_DRAWING --ns=ObjCRuntime $(SHARED_SYSTEM_DRAWING_SOURCES) $(xm_mobile_profile) $(MAC_APIS)^' \ -e 's^%MAC_MOBILE_PMCS_PROFILE%^mobile^' \ + -e 's^%IOS_UNIFIED_PLAYGROUND_ARGS%^$(IOS_GENERATOR_FLAGS) -core -sourceonly=$(IOS_BUILD_DIR)/playground/generated_sources -compiler=$(IOS_PMCS) -nostdlib -noconfig -no-mono-path -tmpdir=$(IOS_BUILD_DIR)/playground -baselib=$(IOS_BUILD_DIR)/native/core.dll -r=$(MONO_PATH)/mcs/class/lib/monotouch/System.dll -ns=MonoTouch.ObjCRuntime -native-exception-marshalling --ns=ObjCRuntime $(xi_native_profile) $(IOS_APIS) generator-playground.cs^' \ -e 's^%MD_MTOUCH_SDK_ROOT%^$(MD_MTOUCH_SDK_ROOT)^' \ -e 's^%XamarinMacFrameworkRoot%^$(XamarinMacFrameworkRoot)^' \ $< | xmllint --format - > $@ diff --git a/src/generator-ikvm.csproj.in b/src/generator-ikvm.csproj.in index 6a1d28299a5d..5441d12ab887 100644 --- a/src/generator-ikvm.csproj.in +++ b/src/generator-ikvm.csproj.in @@ -92,6 +92,15 @@ + + Project + %IOS_UNIFIED_PLAYGROUND_ARGS% + %WORKING_DIR% + + + + + diff --git a/src/generator-playground.cs b/src/generator-playground.cs new file mode 100644 index 000000000000..f1e29d1b88ad --- /dev/null +++ b/src/generator-playground.cs @@ -0,0 +1,16 @@ +// +// generator-playground.cs: Used to debug generator, this is an ApiDefinition.cs file +// that you can use to create your own interfaces definitions +// +// Authors: +// Alex Soto (alexsoto@microsoft.com +// +// Copyright 2017 Xamarin Inc. +// + +using System; +using XamCore.Foundation; + +namespace Playground { + +} \ No newline at end of file