Commit c4be7dad authored by Ricardo Calheiros de Miranda Cosme's avatar Ricardo Calheiros de Miranda Cosme
Browse files

+ Suporte a disponibilizacao de stubs

  - Recurso utilizado no mico-idl.jam.


git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/cpputils/tao-bb/trunk@164468 ae0415b3-e90b-0410-900d-d0be9363c56b
parent fdd4e082
Pipeline #620 skipped
......@@ -7,6 +7,8 @@ import type ;
import sequence ;
import "class" : new ;
import toolset ;
import targets ;
import project ;
type.register IDL : idl ;
......@@ -99,3 +101,20 @@ else
$(.compile-unix_cmd-prefix) tao_idl -Scc -Sch "-I$(>[1]:D)" "-I$(INCLUDES)" $(>[1])
}
}
rule cpp-h ( name : sources + : requirements * : default-build * : usage-requirements * )
{
local project = [ project.current ] ;
local result ;
local r = $(requirements) ;
result = [ targets.main-target-alternative
[ new typed-target $(name) : $(project) : CPP
: [ targets.main-target-sources $(sources) : $(name) ]
: [ targets.main-target-requirements $(r) : $(project) ]
: [ targets.main-target-default-build $(default-build) : $(project) ]
: [ targets.main-target-usage-requirements $(usage-requirements) : $(project) ]
]
] ;
return $(result) ;
}
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