⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unicodeopt.bkl

📁 用于计算逻辑与算术表达式
💻 BKL
字号:
<?xml version="1.0" ?><!-- $Id: unicodeopt.bkl 40 2006-12-02 15:22:02Z frm $ --><!--Adds the logic for handling a UNICODE=0/1 option, which switches between unicode andansi builds.Usage: use template "unicodeopt" for your targets:  <include file="presets/unicodeopt.bkl"/>  <exe id="myapp" template="unicodeopt">    <sources>myapp.cpp</sources>  </exe>--><makefile>    <set var="UNICODE_DEFAULT" overwrite="0">0</set>    <option name="UNICODE">        <values>0,1</values>        <default-value>$(UNICODE_DEFAULT)</default-value>        <values-description>ANSI,Unicode</values-description>        <description>Set to 1 to build Unicode version</description>    </option>    <template id="unicodeopt">        <define>            $(substituteFromDict(UNICODE,{'1':'_UNICODE','0':''}))        </define>    </template>    <!-- The UNICODEBUILDPOSTFIX variable is useful to set the BUILDDIR variable         as done in presets/setbuilddir.bkl -->    <set var="UNICODEBUILDPOSTFIX">        <if cond="UNICODE=='0'">a</if>        <if cond="UNICODE=='1'">u</if>    </set></makefile>

⌨️ 快捷键说明

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