diff options
author | Maarten Gribnau <mail@maartengribnau.com> | 2002-12-20 01:06:32 +0300 |
---|---|---|
committer | Maarten Gribnau <mail@maartengribnau.com> | 2002-12-20 01:06:32 +0300 |
commit | 59cee3c47f369e88cfd5dd679cc2de76525e2fcc (patch) | |
tree | 9104f86ac6289067e217cca790585b97fd2b3b46 | |
parent | f8ef8814749d3bb3a052122d2278f51c58eba207 (diff) |
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
-rw-r--r-- | README | 6 | ||||
-rw-r--r-- | source/nan_compile.mk | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -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 diff --git a/source/nan_compile.mk b/source/nan_compile.mk index b9bb9d5c0c9..df0fa368446 100644 --- a/source/nan_compile.mk +++ b/source/nan_compile.mk @@ -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) |