bakeconf.xml
changeset 219 5528c25d917a
parent 218 be483ada1abe
child 220 0d9904a9f88b
--- a/bakeconf.xml	Wed Apr 24 14:57:22 2013 +0900
+++ b/bakeconf.xml	Thu Apr 25 02:06:08 2013 +0200
@@ -702,10 +702,21 @@
       </build>
     </module>
 
+    <module name="g++">
+      <source type="system_dependency">
+        <attribute name="dependency_test" value="g\+\+"/>
+        <attribute name="try_to_install" value="False"/>
+        <attribute name="more_information" value="g++ is not installed, try to install it or talk to your system administrator"/>
+      </source>
+      <build type="none" objdir="no">
+      </build>
+    </module>
+
     <module name="nsc-dev">
       <source type="mercurial">
 	<attribute name="url" value="https://secure.wand.net.nz/mercurial/nsc"/>
       </source>
+      <depends_on name="g++" optional="False"/>
       <!-- problem: scons has no generic command-line support for builddir and installdir -->
       <build type="inline"  classname="NscModuleBuild">
 	<attribute name="supported_os" value="linux;linux2"/>
@@ -745,6 +756,7 @@
 	<attribute name="revision" value="08c391d0660a"/>
       </source>
       <!-- problem: scons has no generic command-line support for builddir and installdir -->
+      <depends_on name="g++" optional="False"/>
       <build type="inline"  classname="NscModuleBuild">
 	<attribute name="supported_os" value="linux;linux2"/>
 	<code>class NscModuleBuild(InlineModuleBuild):