From 21b5ebeba7dc4ef9d8b1f809741ad73418989a16 Mon Sep 17 00:00:00 2001 From: Cowering Date: Thu, 2 Jul 2015 16:53:38 -0500 Subject: github version of jsoncpp with some fixes: pedantic and C++98 and others. please try to compile for all platforms --- 3rdparty/jsoncpp/scons-tools/substinfile.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '3rdparty/jsoncpp/scons-tools/substinfile.py') diff --git a/3rdparty/jsoncpp/scons-tools/substinfile.py b/3rdparty/jsoncpp/scons-tools/substinfile.py index ef18b4edbcb..c620442d572 100644 --- a/3rdparty/jsoncpp/scons-tools/substinfile.py +++ b/3rdparty/jsoncpp/scons-tools/substinfile.py @@ -1,3 +1,8 @@ +# Copyright 2010 Baptiste Lepilleur +# Distributed under MIT license, or public domain if desired and +# recognized in your jurisdiction. +# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE + import re from SCons.Script import * # the usual scons stuff you get in a SConscript import collections @@ -70,7 +75,7 @@ def generate(env): return target, source ## env.Append(TOOLS = 'substinfile') # this should be automaticaly done by Scons ?!? - subst_action = SCons.Action.Action( subst_in_file, subst_in_file_string ) + subst_action = SCons.Action.Action(subst_in_file, subst_in_file_string) env['BUILDERS']['SubstInFile'] = Builder(action=subst_action, emitter=subst_emitter) def exists(env): -- cgit v1.2.3-70-g09d2