Skip to content

Instantly share code, notes, and snippets.

@tukan
Created June 16, 2013 22:05
Show Gist options
  • Save tukan/5793608 to your computer and use it in GitHub Desktop.
Save tukan/5793608 to your computer and use it in GitHub Desktop.
Extension('libHandParser',
libraries=['boost_python-mt', 'boost_regex-mt'],
include_dirs = ['/usr/local/include', 'include'],
library_dirs=['/usr/local/lib'],
sources=[
'HandParsing/src/HandParserStars.cpp',
'HandParsing/src/LineParser.cpp',
'HandParsing/src/PyParserPokerStars.cpp'
])
cc -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/include -Iinclude -I/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c HandParsing/src/HandParserStars.cpp -o build/temp.macosx-10.8-x86_64-2.7/HandParsing/src/HandParserStars.o
cc -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/include -Iinclude -I/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c HandParsing/src/LineParser.cpp -o build/temp.macosx-10.8-x86_64-2.7/HandParsing/src/LineParser.o
cc -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/include -Iinclude -I/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c HandParsing/src/PyParserPokerStars.cpp -o build/temp.macosx-10.8-x86_64-2.7/HandParsing/src/PyParserPokerStars.o
creating build/lib.macosx-10.8-x86_64-2.7
c++ -bundle -undefined dynamic_lookup -L/usr/local/lib -L/usr/local/opt/sqlite/lib build/temp.macosx-10.8-x86_64-2.7/HandParsing/src/HandParserStars.o build/temp.macosx-10.8-x86_64-2.7/HandParsing/src/LineParser.o build/temp.macosx-10.8-x86_64-2.7/HandParsing/src/PyParserPokerStars.o -L/usr/local/lib -lboost_python-mt -lboost_regex-mt -o build/lib.macosx-10.8-x86_64-2.7/libHandParser.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment