Login  Register

Re: boost

Posted by ravas on Feb 03, 2016; 9:57pm
URL: https://forum.librecad.org/boost-tp5712887p5712893.html

Thanks.

I found boost.pri

win32 {

    exists( "$$(BOOST_DIR)" ) { # Is it set in the environment?
        BOOST_DIR = "$$(BOOST_DIR)" # Yes, use
    } else:isEmpty( BOOST_DIR ) { # Is it set in custom.pro?
        BOOST_DIR = "/boost/boost_1_53_0" # No, hardcode
    }

    !exists( "$${BOOST_DIR}/boost/version.hpp" ) {
        error( "Can not find Boost installation in $${BOOST_DIR}" )
    }

    BOOST_INCDIR = "$${BOOST_DIR}"

    INCLUDEPATH += "$${BOOST_INCDIR}"
    HEADERS += "$${BOOST_INCDIR}"

}
I didn't need to edit custom.pro when using 1.53 because it selects 1.53 automatically if custom.pro is not edited.

So I would say my build today did use 1.6 because I edited custom.pro

Note that custom.pro is not ignored by git; my edits show up in the diffs.