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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -