Read config file for fallback when no command line arguments are given.
This commit is contained in:
48
0BUILD
48
0BUILD
@@ -50,6 +50,23 @@
|
||||
<setVar name="pkgincludedir">$(includedir)/aqhome/$(package)</setVar>
|
||||
<setVar name="pkgdatadir">$(datadir)/$(package)</setVar>
|
||||
|
||||
<option id="enable_testcode" type="string">
|
||||
<default>TRUE</default>
|
||||
<choices>TRUE FALSE</choices>
|
||||
</option>
|
||||
<ifVarMatches name="option_enable_testcode" value="TRUE" >
|
||||
<define name="AQHOME_ENABLE_TESTCODE" value="1" />
|
||||
</ifVarMatches>
|
||||
|
||||
|
||||
<option id="local_install" type="string">
|
||||
<default>FALSE</default>
|
||||
<choices>TRUE FALSE</choices>
|
||||
</option>
|
||||
<ifVarMatches name="option_local_install" value="TRUE" >
|
||||
<define name="ENABLE_LOCAL_INSTALL" value="1" />
|
||||
</ifVarMatches>
|
||||
|
||||
|
||||
<option id="debug" type="string">
|
||||
<default>TRUE</default>
|
||||
@@ -61,6 +78,37 @@
|
||||
</ifVarMatches>
|
||||
|
||||
|
||||
|
||||
<!-- paths -->
|
||||
<ifVarMatches name="GWBUILD_SYSTEM" value="windows" > <!-- long version of IF statement with THEN and ELSE -->
|
||||
<then>
|
||||
<define name="OS_WIN32" value="1" />
|
||||
<setVar name="aqhome_sys_is_windows">1</setVar>
|
||||
<setVar name="aqhome_cfg_searchdir">etc</setVar>
|
||||
<setVar name="aqhome_locale_searchdir">share/locale</setVar>
|
||||
<setVar name="aqhome_data_searchdir">share"</setVar>
|
||||
</then>
|
||||
<else>
|
||||
<define name="OS_POSIX" value="1" />
|
||||
<setVar name="aqhome_sys_is_windows">0</setVar>
|
||||
<ifVarMatches name="option_local_install" value="TRUE" >
|
||||
<then>
|
||||
<setVar name="aqhome_cfg_searchdir">etc</setVar>
|
||||
<setVar name="aqhome_locale_searchdir">share/locale</setVar>
|
||||
<setVar name="aqhome_data_searchdir">share</setVar>
|
||||
</then>
|
||||
<else>
|
||||
<setVar name="aqhome_cfg_searchdir">$(sysconfdir)</setVar>
|
||||
<setVar name="aqhome_locale_searchdir">$(datadir)/locale</setVar>
|
||||
<setVar name="aqhome_data_searchdir">$(datadir)</setVar>
|
||||
</else>
|
||||
</ifVarMatches>
|
||||
</else>
|
||||
</ifVarMatches>
|
||||
<define name="AQHOME_SYS_IS_WINDOWS" value="$(aqhome_sys_is_windows)" />
|
||||
|
||||
|
||||
|
||||
<!-- use "-Owith_avr=TRUE" or "FALSE" to enable or disable assembling AVR code -->
|
||||
<option id="with_avr" type="string">
|
||||
<default>TRUE</default>
|
||||
|
||||
Reference in New Issue
Block a user