|
Boost-Build : |
Subject: Re: [Boost-build] Lib rule does not seem to work
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2015-08-07 10:45:39
On Thu, Aug 6, 2015 at 3:53 PM, Klemens Morgenstern <
klemens.morgenstern_at_[hidden]> wrote:
> Hi friends,
>
> I am currently working on a small library and I seem to be to stupid to
> build libraries. I am using mingw (5.1) or gcc-arm (4.9). The install rule
> only copies the cpp-files and it does not build anything.
>
> Does anyone know what could be wrong with that?
>
> Thanks,
>
> Klemens
>
> PS: The project is located here:
> https://github.com/MorgWal/mw.test/tree/design
>
>
> Jamroot.jam
> --------------------------------------------
> import gcc ;
> boost_path = F:/boost-arm ;
>
> project
> : source-location ./src
> : requirements
> <include>$(boost_path)/include/boost-1_58
> <include>./include
> <search>$(boost_path)/lib
> <cxxflags>-std=c++1y
> <link>static
> ;
>
> lib json_backend : mw/json_test_backend.cpp : <debug-symbols>on ;
> lib gdb_backend : mw/gdb_test_backend.cpp : <debug-symbols>off ;
>
> install backends : json_backend gdb_backend ;
>
You probably need to use <install-dependencies>on and/or <install-type>LIB
(or <install-type>DLL) to get at the built products instead of the sources.
-- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk