Commit 6bb4204d authored by Ricardo Cosme's avatar Ricardo Cosme
Browse files

OPENBUS-2753 Suporte ao Boost Build para compilação do barramento

+ Separação dos artefatos do Boost Build em bbuild.
+ Uso de caminhos completos e variáveis para definir a raiz do projeto e o local padrão onde encontrar as dependências.
parent 7771ce33
......@@ -3,11 +3,13 @@
import os ;
path-constant here : . ;
path-constant root : $(here)/.. ;
path-constant deps : $(root)/.. ;
local lua-jam-path = [ os.environ LUA_JAM_PATH ] ;
if ! $(lua-jam-path)
{
lua-jam-path = "$(here)/../lua.jam" ;
lua-jam-path = "$(deps)/lua.jam" ;
}
use-project lua : $(lua-jam-path) ;
......@@ -23,12 +25,12 @@ project luavararg
;
lib luavararg
: src/vararg.c
: $(root)/src/vararg.c
/lua//lua
: <include>src
<target-os>windows,<link>shared:<def-file>src/luavararg.def
: <include>$(root)/src
<target-os>windows,<link>shared:<def-file>$(root)/src/luavararg.def
:
: <include>src
: <include>$(root)/src
;
explicit luavararg ;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment