fixed incorrect jemalloc library & updated netbeans project to ignore __pycache__.

This commit is contained in:
Campbell Barton 2011-05-16 10:34:40 +00:00
parent 68dbfe6ac9
commit 5cfc13a11d
2 changed files with 5 additions and 2 deletions

View File

@ -430,7 +430,7 @@ if(UNIX AND NOT APPLE)
if(WITH_MEM_JEMALLOC)
set(JEMALLOC /usr)
set(JEMALLOC_LIBRARY ljemalloc CACHE STRING "JeMalloc library")
set(JEMALLOC_LIBRARY jemalloc CACHE STRING "JeMalloc library")
set(JEMALLOC_LIBPATH ${JEMALLOC}/lib CACHE FILEPATH "JeMalloc library path")
# no use for this yet.
# set(JEMALLOC_INCLUDE_DIR ${JEMALLOC}/include CACHE FILEPATH "JeMalloc include path")

View File

@ -145,7 +145,10 @@ def create_nb_project_main():
f.write(' </logicalFolder>\n')
f.write(' </logicalFolder>\n')
f.write(' <sourceFolderFilter>^(nbproject)$</sourceFolderFilter>\n')
# default, but this dir is infact not in blender dir so we can ignore it
# f.write(' <sourceFolderFilter>^(nbproject)$</sourceFolderFilter>\n')
f.write(' <sourceFolderFilter>^(__pycache__|.*\.py)$</sourceFolderFilter>\n')
f.write(' <sourceRootList>\n')
f.write(' <Elem>%s</Elem>\n' % SOURCE_DIR) # base_root_rel
f.write(' </sourceRootList>\n')