makefile.xml
来自「利用XML来作为Makefile的make工具源代码.」· XML 代码 · 共 138 行
XML
138 行
<!--makefile.xml-->
<!--
FoundationKit_d.lib rpcrt4.lib
-->
<!--
Subsitions need to happen at two levels
1)User variables made within the make file, see the subnsitions section
2) ENV variables need to be accounted for. Anything that is not expanded
by the substitution area needs to checked against the env variables,
and if not found there then it should be set to NULL
a variable is referred to like so %ID% or $(ID)
-->
<make>
<substitutions>
</substitutions>
<project name="XMLMake" path="" outputAs="Debug/xmake.exe" >
<!--does this project need other projects built before it ?
order here matters.
-->
<dependencies>
<!--the name of the dependency - it MUST resolve to a project
inside of this makefile
-->
<dependency name=""/>
</dependencies>
<configurations>
<!--a config name can only have the
characters[a..z,A..Z,0..1]
the "|" is used to separate multiple configs
the srcBinaryExt is used to identify the extension of
compiled source files. Many compilers use ".o" and many others
use ".obj"
-->
<config name="VC++ Debug" srcBinaryExt=".obj">
<includes>
<!--
This is the includes section. This allows the make
executable to be able to dynamically determine source dependencies
-->
<include path=""/>
</includes>
<!--
alternate tools may
be specifies here under the tools node
<tool name="rc.exe" >
<flags>
<flag>
</flags>
</tool>
-->
<tools>
</tools>
<!--the command line name of the compiler, ie, GCC, G++, bcc32, cl, etc-->
<compiler name="cl.exe" >
<flags>
<!--
Please use single quote's where you would use
double quotes.
single quote characters will be expanded to double quote
when the string is parsed and prepared to send to the
compiler.
-->
<flag value="/nologo /MDd /W3 /Gm /GR /GX /ZI /Od"/>
<flag value="/I .\"/>
<flag value="/D WIN32 /D _DEBUG /D _CONSOLE /D _MBCS"/>
<flag value="/Fp'Debug/xmake.pch' "/>
<flag value="/YX'stdafx.h'"/>
<flag value="/Fo'Debug/'"/>
<flag value="/Fd'Debug/'"/>
<flag value="/FD /GZ /c"/>
</flags>
</compiler>
<linker name="link.exe">
<flags>
<flag value="/nologo"/>
<flag value="/subsystem:console"/>
<flag value="/incremental:yes"/>
<flag value="/pdb:'Debug/xmake.pdb'"/>
<flag value="/debug"/>
<flag value="/machine:I386"/>
<flag value="/out:'Debug/xmake.exe'"/>
<flag value="/pdbtype:sept"/>
</flags>
</linker>
<preBuild>
</preBuild>
<postBuild>
</postBuild>
</config>
<!--this config is empty so it will not build-->
<config name="Release"/>
</configurations>
<sources>
<!--all names are relative to the project path
the build property deafults to yes. If it is
false, the file will not be built
-->
<!--
If outputAs is left empty it defaults to the same file name but with extension .obj
The tool property may be used to specify an alternate tool other than the compiler that
is used to output a source binary. For example, if a project has rc files, these will
need to compiled with the rc compiler.
-->
<source name="StdAfx.cpp" partOfConfig="VC++ Debug|VC++ Release" build="yes" outputAs="Debug\StdAfx"/>
<source name="xmake.cpp" partOfConfig="VC++ Debug|VC++ Release" outputAs="Debug\xmake"/>
<source name="CmdLine.cpp" partOfConfig="VC++ Debug|VC++ Release" build="yes" outputAs="Debug\CmdLine"/>
<source name="XMLParser.cpp" partOfConfig="VC++ Debug|VC++ Release" build="yes" outputAs="Debug\XMLParser"/>
</sources>
</project>
</make>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?