Fix for own commit, stub functions all use the STUB_ASSERT macro now.
[blender-staging.git] / GNUmakefile
index 8876b1db33d1503e14a334a81a9ebcf54dfa5a2a..0d97d8e7b077835f6d936acbd53e120055235a29 100644 (file)
@@ -178,9 +178,9 @@ help:
        @echo "  * check_splint         - run blenders source through splint (C only)"
        @echo "  * check_sparse         - run blenders source through sparse (C only)"
        @echo "  * check_smatch         - run blenders source through smatch (C only)"
-       @echo "  * check_spelling_c     - check for spelling errors (OSL only)"
+       @echo "  * check_spelling_c     - check for spelling errors (C/C++ only)"
        @echo "  * check_spelling_c_qtc - same as check_spelling_c but outputs QtCreator tasks format"
-       @echo "  * check_spelling_osl   - check for spelling errors (C/C++ only)"
+       @echo "  * check_spelling_osl   - check for spelling errors (OSL only)"
        @echo "  * check_spelling_py    - check for spelling errors (Python only)"
        @echo ""
        @echo "Utilities (not associated with building blender)"
@@ -241,13 +241,13 @@ test_style_c_qtc:
 
 test_style_osl:
        # run our own checks on C/C++ style
-       PYTHONIOENCODING=utf_8 python3 $(BLENDER_DIR)/source/tools/check_style_c.py $(BLENDER_DIR)/intern/cycles/kernel/osl
+       PYTHONIOENCODING=utf_8 python3 $(BLENDER_DIR)/source/tools/check_style_c.py $(BLENDER_DIR)/intern/cycles/kernel/shaders
 
 
 test_style_osl_qtc:
        # run our own checks on C/C++ style
        USE_QTC_TASK=1 \
-       PYTHONIOENCODING=utf_8 python3 $(BLENDER_DIR)/source/tools/check_style_c.py $(BLENDER_DIR)/intern/cycles/kernel/osl > \
+       PYTHONIOENCODING=utf_8 python3 $(BLENDER_DIR)/source/tools/check_style_c.py $(BLENDER_DIR)/intern/cycles/kernel/shaders > \
        test_style.tasks
        @echo "written: test_style.tasks"
 
@@ -272,7 +272,9 @@ project_eclipse:
 check_cppcheck:
        $(CMAKE_CONFIG)
        cd $(BUILD_DIR) ; \
-       python3 $(BLENDER_DIR)/build_files/cmake/cmake_static_check_cppcheck.py
+       python3 $(BLENDER_DIR)/build_files/cmake/cmake_static_check_cppcheck.py 2> \
+       $(BLENDER_DIR)/check_cppcheck.txt
+       @echo "written: check_cppcheck.txt"
 
 check_clang_array:
        $(CMAKE_CONFIG)
@@ -308,7 +310,7 @@ check_spelling_c_qtc:
        $(BLENDER_DIR)/check_spelling_c.tasks
 
 check_spelling_osl:
-       cd $(BUILD_DIR) ; PYTHONIOENCODING=utf_8 python3 $(BLENDER_DIR)/source/tools/spell_check_source.py $(BLENDER_DIR)/intern/cycles/kernel/osl
+       cd $(BUILD_DIR) ; PYTHONIOENCODING=utf_8 python3 $(BLENDER_DIR)/source/tools/spell_check_source.py $(BLENDER_DIR)/intern/cycles/kernel/shaders
 
 # -----------------------------------------------------------------------------
 # Utilities