get cli_ure closer to successful build
Change-Id: I28ba1f4e802b3736a9f82966a2c7908388df4a92
This commit is contained in:
parent
f8361efd12
commit
31237d6a6a
3 changed files with 9 additions and 3 deletions
|
@ -36,14 +36,15 @@ gb_CliLibraryTarget__get_generated_source = $(WORKDIR)/$(1).cs
|
|||
define gb_CliLibraryTarget__command
|
||||
$(call gb_Output_announce,$(2),$(true),CSC,3)
|
||||
$(call gb_Helper_abbreviate_dirs,\
|
||||
csc \
|
||||
csc $(call gb_Helper_windows_path, \
|
||||
$(call gb_CliLibraryTarget__get_csflags) \
|
||||
$(CLI_CSCFLAGS) \
|
||||
-target:library \
|
||||
-out:$(1) \
|
||||
-reference:System.dll \
|
||||
$(foreach assembly,$(CLI_ASSEMBLIES),-reference:$(assembly).dll) \
|
||||
$(foreach assembly,$(CLI_ASSEMBLIES),-reference:$(assembly)) \
|
||||
$(CLI_SOURCES) \
|
||||
) \
|
||||
)
|
||||
endef
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ $(call gb_CliNativeLibraryTarget_get_target,%) :
|
|||
$(call gb_CliNativeLibraryTarget_get_clean_target,%) :
|
||||
$(call gb_Output_announce,$*,$(false),SN ,4)
|
||||
$(call gb_Helper_abbreviate_dirs,\
|
||||
rm -r $(call gb_CliNativeLibraryTarget_get_target,$*) \
|
||||
rm -rf $(call gb_CliNativeLibraryTarget_get_target,$*) \
|
||||
)
|
||||
|
||||
define gb_CliNativeLibraryTarget_CliNativeLibraryTarget
|
||||
|
|
|
@ -53,6 +53,11 @@ define gb_Helper_native_path
|
|||
$(call gb_Output_error,gb_Helper_native_path: Do not use. Should not be necessary.)
|
||||
endef
|
||||
|
||||
# cygwin seems to eat one backslash when executing command, thus replace with '\\'
|
||||
define gb_Helper_windows_path
|
||||
$(subst /,\\,$(1))
|
||||
endef
|
||||
|
||||
define gb_Helper_make_clean_target
|
||||
gb_$(1)_get_clean_target = $(WORKDIR)/Clean/$(1)/$$(1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue