Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>My current solution : APPDIR/Jamroot.jam :</p> <pre><code>path-constant PROJECT_ROOT : . ; path-constant BOOST_INCLUDE_BASE : /apps/boost/include ; path-constant BOOST_LIB_BASE : /apps/boost/lib ; local headers = [ path.glob-tree $(PROJECT_ROOT) : *.hpp ] ; install headers : $(headers) : &lt;location&gt;$(PROJECT_ROOT)_install &lt;install-source-root&gt;$(PROJECT_ROOT) ; project basetrade : requirements &lt;include&gt;$(PROJECT_ROOT)_install &lt;include&gt;$(BOOST_INCLUDE_BASE) &lt;variant&gt;release:&lt;cxxflags&gt;-O2 &lt;variant&gt;debug:&lt;inlining&gt;off &lt;variant&gt;debug:&lt;debug-symbols&gt;on &lt;variant&gt;debug:&lt;optimization&gt;off &lt;variant&gt;debug:&lt;warnings&gt;on ; build-project APPLIBSRCS ; build-project APPMAIN ; </code></pre> <p>APPLIBSRCS/Jamfile.jam:</p> <pre><code>project : usage-requirements &lt;include&gt;$(PROJECT_ROOT)_install ; lib Utils : [ glob *.cpp ] : &lt;link&gt;static ; install libUtils : Utils : &lt;install-type&gt;LIB &lt;variant&gt;release:&lt;location&gt;"$(PROJECT_ROOT)_install/lib" &lt;variant&gt;debug:&lt;location&gt;"$(PROJECT_ROOT)_install/libdebug" : release debug ; </code></pre> <p>APPMAIN/Jamfile.jam:</p> <pre><code>project : usage-requirements &lt;include&gt;$(PROJECT_ROOT)_install ; use-project /PLIBSRCS : ../APPLIBSRCS ; exe tradeexec : main.cpp /PLIBSRCS//libUtils : : &lt;variant&gt;debug &lt;variant&gt;release ; install install-bin : tradeexec : &lt;variant&gt;release:&lt;location&gt;"$(PROJECT_ROOT)_install/bin" &lt;variant&gt;debug:&lt;location&gt;"$(PROJECT_ROOT)_install/bindebug" : release debug ; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload