Skip to content

Commit 3585477

Browse files
author
eightnoteight
committed
add file version.h temporarily commented | header include path modified
1 parent 27e3263 commit 3585477

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

amalgamate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def amalgamate_source( source_top_dir=None,
6666
header.add_text( '/// If defined, indicates that the source file is amalgated' )
6767
header.add_text( '/// to prevent private header inclusion.' )
6868
header.add_text( '#define JSON_IS_AMALGAMATION' )
69-
header.add_file( 'include/json/version.h' )
69+
#header.add_file( 'include/json/version.h' )
7070
header.add_file( 'include/json/config.h' )
7171
header.add_file( 'include/json/forwards.h' )
7272
header.add_file( 'include/json/features.h' )
@@ -105,10 +105,10 @@ def amalgamate_source( source_top_dir=None,
105105
print 'Amalgating source...'
106106
source = AmalgamationFile( source_top_dir )
107107
source.add_text( '/// Json-cpp amalgated source (http://jsoncpp.sourceforge.net/).' )
108-
source.add_text( '/// It is intented to be used with #include <%s>' % header_include_path )
108+
source.add_text( '/// It is intented to be used with #include "%s"' % target_source_path )
109109
source.add_file( 'LICENSE', wrap_in_comment=True )
110110
source.add_text( '' )
111-
source.add_text( '#include <%s>' % header_include_path )
111+
source.add_text( '#include "%s"' % header_include_path )
112112
source.add_text( '' )
113113
lib_json = 'src/lib_json'
114114
source.add_file( os.path.join(lib_json, 'json_tool.h') )

0 commit comments

Comments
 (0)