mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
Merged from RC_1_28_0
[SVN r13944]
This commit is contained in:
11
python.jam
11
python.jam
@@ -28,6 +28,9 @@ if $(NT)
|
||||
{
|
||||
PYTHON_ROOT ?= c:/tools/python ;
|
||||
|
||||
# Reconstitute any paths split due to embedded spaces.
|
||||
PYTHON_ROOT = $(PYTHON_ROOT:J=" ") ;
|
||||
|
||||
PYTHON_LIB_PATH ?= $(PYTHON_ROOT)/libs $(PYTHON_ROOT)/PCBuild ;
|
||||
PYTHON_STDLIB_PATH ?= $(PYTHON_ROOT)/Lib ;
|
||||
|
||||
@@ -60,6 +63,7 @@ else if $(UNIX)
|
||||
{
|
||||
PYTHON_VERSION ?= 1.5 ;
|
||||
PYTHON_ROOT ?= /usr/local ;
|
||||
PYTHON_ROOT = $(PYTHON_ROOT:J=" ") ;
|
||||
PYTHON_INCLUDES ?= $(PYTHON_ROOT)/include/python$(PYTHON_VERSION) ;
|
||||
PYTHON_LIB_PATH ?= $(PYTHON_ROOT)/lib/python$(PYTHON_VERSION)/config ;
|
||||
PYTHON_STDLIB_PATH ?= $(PYTHON_ROOT)/lib/python$(PYTHON_VERSION) ;
|
||||
@@ -291,15 +295,12 @@ rule boost-python-runtest (
|
||||
|
||||
# declare the two subsidiary tests.
|
||||
declare-local-target $(<) : $(>) : $(PYTHON_PROPERTIES) : $(4) : PYTHON_TEST ;
|
||||
declare-local-target $(<) : $(>) : $(PYTHON_PROPERTIES) : $(4) : PYTHON_RUNTEST ;
|
||||
declare-local-target $(<) : $(>) : $(PYTHON_PROPERTIES) : $(4) <suppress>true : PYTHON_RUNTEST ;
|
||||
}
|
||||
|
||||
rule boost-python-test ( name : sources + : requirements * : default-BUILD * )
|
||||
{
|
||||
type-DEPENDS test : $(name) ;
|
||||
|
||||
local gSUPPRESS_FAKE_TARGETS = true ;
|
||||
extension $(name) : $(sources) : $(requirements) : $(4) ;
|
||||
extension $(name) : $(sources) : $(requirements) <suppress>true : $(4) ;
|
||||
}
|
||||
|
||||
# special rules for two new target types: PYTHON_TEST and PYTHON_RUNTEST.
|
||||
|
||||
Reference in New Issue
Block a user