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
  • Loading branch information
AbigailBuccaneer authored Jul 24, 2018
2 parents 0a5cabb + cb982df commit 850cb81
Show file tree
Hide file tree
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
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 850cb81

Please sign in to comment.