diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rwxr-xr-x | build_files/cmake/cmake_netbeans_project.py | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7abb6daa4df..4304686544a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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") diff --git a/build_files/cmake/cmake_netbeans_project.py b/build_files/cmake/cmake_netbeans_project.py index 8b6caf7deba..2d04c6e5463 100755 --- a/build_files/cmake/cmake_netbeans_project.py +++ b/build_files/cmake/cmake_netbeans_project.py @@ -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') |