Fix the richtext sample being compiled when USE_RICHTEXT=0

This commit is contained in:
Raul Tambre 2017-02-05 13:52:18 +02:00
parent 314d3adbee
commit 801b0b1c30
4 changed files with 9 additions and 5 deletions

View File

@ -65,7 +65,7 @@ __propgrid___depname = propgrid
!if "$(USE_RIBBON)" == "1"
__ribbon___depname = ribbon
!endif
!if "$(USE_HTML)" == "1"
!if "$(USE_HTML)" == "1" && "$(USE_RICHTEXT)" == "1"
__richtext___depname = richtext
!endif
!if "$(USE_MEDIA)" == "1"
@ -743,7 +743,7 @@ ribbon:
@del ribbon.bat
!endif
!if "$(USE_HTML)" == "1"
!if "$(USE_HTML)" == "1" && "$(USE_RICHTEXT)" == "1"
richtext:
@echo cd richtext >richtext.bat
@echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>richtext.bat

View File

@ -59,8 +59,10 @@ ifeq ($(USE_RIBBON),1)
__ribbon___depname = ribbon
endif
ifeq ($(USE_HTML),1)
ifeq ($(USE_RICHTEXT),1)
__richtext___depname = richtext
endif
endif
ifeq ($(USE_MEDIA),1)
__splash___depname = splash
endif
@ -336,9 +338,11 @@ ribbon:
endif
ifeq ($(USE_HTML),1)
ifeq ($(USE_RICHTEXT),1)
richtext:
$(MAKE) -C richtext -f makefile.gcc $(MAKEARGS) all
endif
endif
sashtest:
$(MAKE) -C sashtest -f makefile.gcc $(MAKEARGS) all

View File

@ -56,7 +56,7 @@ __propgrid___depname = sub_propgrid
!if "$(USE_RIBBON)" == "1"
__ribbon___depname = sub_ribbon
!endif
!if "$(USE_HTML)" == "1"
!if "$(USE_HTML)" == "1" && "$(USE_RICHTEXT)" == "1"
__richtext___depname = sub_richtext
!endif
!if "$(USE_MEDIA)" == "1"
@ -606,7 +606,7 @@ sub_ribbon:
cd "$(MAKEDIR)"
!endif
!if "$(USE_HTML)" == "1"
!if "$(USE_HTML)" == "1" && "$(USE_RICHTEXT)" == "1"
sub_richtext:
cd richtext
$(MAKE) -f makefile.vc $(MAKEARGS) all

View File

@ -65,7 +65,7 @@
<subproject id="regtest" template="sub"/>
<subproject id="render" template="sub"/>
<subproject id="ribbon" template="sub" cond="USE_RIBBON=='1'"/>
<subproject id="richtext" template="sub" cond="USE_HTML=='1'"/>
<subproject id="richtext" template="sub" cond="USE_HTML=='1' and USE_RICHTEXT=='1'"/>
<subproject id="sashtest" template="sub"/>
<subproject id="scroll" template="sub"/>
<subproject id="secretstore" template="sub"/>