[mapguide-commits] r8101 - trunk/MgDev/Oem/jsoncpp

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri May 2 10:48:29 PDT 2014


Author: jng
Date: 2014-05-02 10:48:29 -0700 (Fri, 02 May 2014)
New Revision: 8101

Modified:
   trunk/MgDev/Oem/jsoncpp/SConstruct
Log:
Allow use of building jsoncpp with a custom compiler via CXX env variable

Modified: trunk/MgDev/Oem/jsoncpp/SConstruct
===================================================================
--- trunk/MgDev/Oem/jsoncpp/SConstruct	2014-05-02 12:25:18 UTC (rev 8100)
+++ trunk/MgDev/Oem/jsoncpp/SConstruct	2014-05-02 17:48:29 UTC (rev 8101)
@@ -91,6 +91,11 @@
     print "UNSUPPORTED PLATFORM."
     env.Exit(1)
 
+# Override C++ compiler if CXX set
+if (os.environ.get("CXX") != None):
+    env['CXX'] = os.environ.get("CXX")
+    print "Using custom compiler of: " + os.environ.get("CXX")
+
 #env.Tool('doxygen')
 env.Tool('substinfile')
 env.Tool('targz')



More information about the mapguide-commits mailing list