c++ - GCC Flag to SCONS -


i`m building library using make following flags:

incl = `pkg_config_path=/mingw64/lib64/pkgconfig:/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig:/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig pkg-config --cflags ipopt` $(addincflags)  libs =   'pkg_config_path=/mingw64/lib64/pkgconfig:/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig:/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig pkg-config --libs ipopt' 

how can translate build scons ?

my issue understand how path definition pkg_config_path= ... passed scons.

likely you'll want use either parseflags() or mergeflags()

see: http://scons.org/doc/production/html/scons-man.html

further there's reasonable example in scons wiki here: https://bitbucket.org/scons/scons/wiki/usingpkgconfig


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -