globalaiinterfaces.build

来自「这是整套横扫千军3D版游戏的源码」· BUILD 代码 · 共 40 行

BUILD
40
字号
<?xml version="1.0"?>
<project name="CSAI" default="deploy" basedir=".">
   <description>CSAIInterfaces</description>
   
   <property name="taspring.applicationdirectory" value="..\..\..\game" />

   <property name="nant.settings.currentframework" value="net-1.1" />
   
   <target name="clean" description="remove all generated files">
      <delete file="GlobalAIInterfaces.dll" failonerror="false" />
      <delete file="GlobalAIInterfaces.pdb" failonerror="false" />
   </target>
   
   <target name="build" description="build GlobalAIInterfaces">
      <csc target="library" output="GlobalAIInterfaces.dll" debug="true">
          <sources>
             <include name="IAICallback.cs" />
             <include name="IGlobalAI.cs" />
             <include name="IUnitDef.cs" />
             <include name="IFeatureDef.cs" />
             <include name="IMoveData.cs" />
             <include name="Command.cs" />
             <include name="Float3.cs" />
             <include name="GlobalAIProxy.cs" />
             <include name="MonoLoaderProxy.cs" />
          </sources>
      </csc>
   </target>
   
   <target name="deploy" depends="build">
      <copy todir="${taspring.applicationdirectory}">
          <fileset>
              <include name="GlobalAIInterfaces.dll" />
              <include name="GlobalAIInterfaces.pdb" />
          </fileset>
      </copy>
   </target>
   
</project>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?