From ddf690de6721112f63fcc9831d9ee271e088a7f4 Mon Sep 17 00:00:00 2001 From: ketmar Date: Thu, 8 Nov 2012 03:26:36 +0200 Subject: [PATCH] --with-tools configure option --- Jamfile | 6 ++++-- Jamrules.configure | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Jamfile b/Jamfile index 1fc814b..c8c39ba 100644 --- a/Jamfile +++ b/Jamfile @@ -2,5 +2,7 @@ SubDir TOP ; SubInclude TOP src ; -SubInclude TOP tools rnc ; -if ! $(WINDOZE) { SubInclude TOP tools wdx ; } +if $(BUILD_TOOLS) { + SubInclude TOP tools rnc ; + if ! $(WINDOZE) { SubInclude TOP tools wdx ; } +} diff --git a/Jamrules.configure b/Jamrules.configure index 6029f7d..1791c34 100644 --- a/Jamrules.configure +++ b/Jamrules.configure @@ -19,6 +19,11 @@ rule -configure-options-with-title- { } +rule -configure-options-with-tools- { + BUILD_TOOLS = tan ; +} + + rule -configure- { -configure-pkg-config- "SDL" : sdl : : : "you need SDL to compile this!" ; if ! $(NOSOUND) { @@ -27,12 +32,14 @@ rule -configure- { -configure-add-line- "NOSOUND = tan ;" ; } -configure-add-line- "WITH_TITLE =" "$(WITH_TITLE)" ";" ; + -configure-add-line- "BUILD_TOOLS =" "$(BUILD_TOOLS)" ";" ; } rule -configure-preinit- { WITH_TITLE = ; NOSOUND = ; + BUILD_TOOLS = ; } -- 2.11.4.GIT