[m-rev.] diff: build .exe from .cs file
Peter Ross
peter.ross at miscrit.be
Tue Aug 14 18:19:52 AEST 2001
Hi,
===================================================================
Estimated hours taken: 0.1
Branches: main
scripts/Mmake.rules:
Add a rule to build an executable from a C# source file.
Index: Mmake.rules
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/Mmake.rules,v
retrieving revision 1.108
diff -u -r1.108 Mmake.rules
--- Mmake.rules 3 Aug 2001 12:30:52 -0000 1.108
+++ Mmake.rules 14 Aug 2001 08:16:48 -0000
@@ -374,6 +374,10 @@
.cpp.exe:
$(MS_CL) -CLR($MS_CL_NOASM) -I$(MERCURY_LIBRARY_PATH) $< -link -entry:main $(MS_CL_LIBS) -out:$@
+.cs.exe:
+ $(MS_CSC) /lib:`cygpath -w $(MERC_DLL_DIR)` /out:$@ \
+ $(CSHARP_ASSEMBLY_REFS-$*) $(EXTRA_CSCFLAGS) $<
+
endif # $(findstring il,$(GRADE)) != ""
#-----------------------------------------------------------------------------#
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list