Added the the magic compiler flag that will turn on game-engine integration with Blender. The line is commented by default as was discussed on the list.

Maarten
This commit is contained in:
Maarten Gribnau 2002-12-19 22:06:32 +00:00
parent f8ef881474
commit 59cee3c47f
2 changed files with 9 additions and 0 deletions

6
README

@ -60,6 +60,12 @@ Then edit source/nan_definitions.mk to fit you're environment.
(You'll want to change things like NAN_OPENSSL,NAN_JPEG, NAN_PNG etc..
to point to where you have it installed)
If you want to integrate the game-engine in Blender, you might want
to uncomment the following line in nan_compile.mk:
#CFLAGS += -DGAMEBLENDER=1
The define is disabled by default because there still are still some
problems with this at the moment.
If you tried to just have a go at making stuff you might wind up with
an empty file /tmp/.nanguess
You need to remove the empty file and it will get created automatically

@ -37,6 +37,9 @@ CPPFLAGS ?= $(NAN_CPPFLAGS)
# common parts ---------------------------------------------------
# Uncomment next line to enable integrated game engine
#CFLAGS += -DGAMEBLENDER=1
ifdef NAN_DEBUG
CFLAGS += $(NAN_DEBUG)
CCFLAGS += $(NAN_DEBUG)