Skip to content

Commit

Permalink
Merge pull request #28 from AbigailBuccaneer/AbigailBuccaneer-patch-1
Browse files Browse the repository at this point in the history
Support -arch and -include
AbigailBuccaneer authored Jul 24, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 0a5cabb + cb982df commit 850cb81
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions json2cmake/__init__.py
Original file line number Diff line number Diff line change
@@ -60,6 +60,9 @@ def parsecommand(command, resolvepath):
defines.append(word[2:])
elif word == '-c':
continue
elif word in ['-arch', '-include']:
options.append(word)
options.append(next(words))
elif word.startswith('-'):
options.append(word)

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@

setup(
name='json2cmake',
version='0.6.1',
version='0.6.2',
description='Generate CMakeLists.txt from a compile_commands.json',
long_description=long_description,
url='https://github.com/AbigailBuccaneer/json2cmake',

0 comments on commit 850cb81

Please sign in to comment.