I need to use the 64-bit Linux blender, but I don't want to accidentally
commit creator.c, so if this file is compiled and the macro YESIAMSTUPID is defined, the executable will run, with a mean warning printed to stdout. Enable in cmake by setting YESIAMSTUPID to On, or with make by putting "export NAN_YESIAMSTUPID=true" in user-def.mk.
This commit is contained in:
@@ -47,6 +47,10 @@ IF(WITH_QUICKTIME)
|
||||
ADD_DEFINITIONS(-DWITH_QUICKTIME)
|
||||
ENDIF(WITH_QUICKTIME)
|
||||
|
||||
IF(YESIAMSTUPID)
|
||||
ADD_DEFINITIONS(-DYESIAMSTUPID)
|
||||
ENDIF(YESIAMSTUPID)
|
||||
|
||||
MESSAGE(STATUS "Configuring blender")
|
||||
|
||||
ADD_CUSTOM_COMMAND(
|
||||
|
Reference in New Issue
Block a user