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
Post a Comment