From: Tim R. <ti...@us...> - 2004-09-11 18:52:56
|
Update of /cvsroot/csdopenglnet/csdOpenGL/Cg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6134/Cg Modified Files: AssemblyInfo.cs Cg.build demoCg.cs Log Message: adaptation for windows Index: demoCg.cs =================================================================== RCS file: /cvsroot/csdopenglnet/csdOpenGL/Cg/demoCg.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** demoCg.cs 11 Sep 2004 14:27:26 -0000 1.1 --- demoCg.cs 11 Sep 2004 18:52:44 -0000 1.2 *************** *** 7,11 **** namespace Cg { ! public class Demo : Cg { protected IntPtr context, vertexProgram, fragmentProgram; --- 7,11 ---- namespace Cg { ! public class DemoCg : Cg { protected IntPtr context, vertexProgram, fragmentProgram; *************** *** 19,23 **** protected uint[] indices = null; ! public Demo() { Debug.Indent(); Debug.WriteLine( "Entering Demo()" ); --- 19,23 ---- protected uint[] indices = null; ! public DemoCg() { Debug.Indent(); Debug.WriteLine( "Entering Demo()" ); *************** *** 346,350 **** Debug.Listeners.Add( new TextWriterTraceListener( Console.Out ) ); Debug.AutoFlush = true; ! Demo demo = new Demo(); } --- 346,350 ---- Debug.Listeners.Add( new TextWriterTraceListener( Console.Out ) ); Debug.AutoFlush = true; ! new DemoCg(); } *************** *** 354,356 **** } } ! } \ No newline at end of file --- 354,356 ---- } } ! } Index: Cg.build =================================================================== RCS file: /cvsroot/csdopenglnet/csdOpenGL/Cg/Cg.build,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Cg.build 11 Sep 2004 17:26:18 -0000 1.3 --- Cg.build 11 Sep 2004 18:52:44 -0000 1.4 *************** *** 7,10 **** --- 7,12 ---- <delete file="${build.dir}/csDragons.OpenGL.Cg.dll.config" failonerror="false" /> <delete file="${build.dir}/demoCg.exe" failonerror="false" /> + <delete file="${build.dir}/demo_frag.cg" failonerror="false" /> + <delete file="${build.dir}/demo_vert.cg" failonerror="false" /> <delete> <fileset> *************** *** 72,76 **** <target name="samples" description="build demos"> ! <csc target="exe" output="${build.dir}/demoCg.exe"> <sources> <include name="demoCg.cs" /> --- 74,78 ---- <target name="samples" description="build demos"> ! <csc target="exe" output="${build.dir}/demoCg.exe" debug="${debug}"> <sources> <include name="demoCg.cs" /> *************** *** 84,87 **** </references> </csc> </target> ! </project> \ No newline at end of file --- 86,91 ---- </references> </csc> + <copy file="demo_frag.cg" todir="${build.dir}" /> + <copy file="demo_vert.cg" todir="${build.dir}" /> </target> ! </project> Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/csdopenglnet/csdOpenGL/Cg/AssemblyInfo.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AssemblyInfo.cs 11 Sep 2004 17:26:18 -0000 1.2 --- AssemblyInfo.cs 11 Sep 2004 18:52:44 -0000 1.3 *************** *** 3,15 **** using System.Runtime.InteropServices; ! // ------------------------------------------------------------------------------ ! // <autogenerated> ! // This code was generated by a tool. ! // Mono Runtime Version: 1.1.4322.573 ! // ! // Changes to this file may cause incorrect behavior and will be lost if ! // the code is regenerated. ! // </autogenerated> ! // ------------------------------------------------------------------------------ [assembly: ComVisibleAttribute(false)] --- 3,15 ---- using System.Runtime.InteropServices; ! //------------------------------------------------------------------------------ ! // <autogenerated> ! // This code was generated by a tool. ! // Runtime Version: 1.1.4322.573 ! // ! // Changes to this file may cause incorrect behavior and will be lost if ! // the code is regenerated. ! // </autogenerated> ! //------------------------------------------------------------------------------ [assembly: ComVisibleAttribute(false)] *************** *** 17,21 **** [assembly: AssemblyTitleAttribute("csDragons OpenGL-Cg#")] [assembly: AssemblyDescriptionAttribute("A tool to build C# bindings")] ! [assembly: AssemblyConfigurationAttribute("mono-1.0.unix")] [assembly: AssemblyCompanyAttribute("http://www.csdragons.de")] [assembly: AssemblyProductAttribute("wrapper-generator")] --- 17,21 ---- [assembly: AssemblyTitleAttribute("csDragons OpenGL-Cg#")] [assembly: AssemblyDescriptionAttribute("A tool to build C# bindings")] ! [assembly: AssemblyConfigurationAttribute("net-1.1.win32")] [assembly: AssemblyCompanyAttribute("http://www.csdragons.de")] [assembly: AssemblyProductAttribute("wrapper-generator")] *************** *** 25,26 **** --- 25,27 ---- [assembly: AssemblyVersionAttribute("0.2.1.1715")] [assembly: AssemblyInformationalVersionAttribute("0.2.1")] + |