Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-06-06 07:48:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-06 07:50:12 +0300
commitf0ff593d9784a78ef807608d54617a62986522d0 (patch)
tree082af56c368bbfab02ec71784b47204691e9c5fc
parentc257e1a2988df786950b75eedb9e3233f2e97631 (diff)
Cleanup: indentation
Also add comment to `FRS_precomp.h`.
-rw-r--r--build_files/cmake/macros.cmake12
-rw-r--r--source/blender/freestyle/FRS_precomp.cpp3
-rw-r--r--source/blender/freestyle/FRS_precomp.h1
3 files changed, 9 insertions, 7 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index 42f707d8142..2da05dc3cb7 100644
--- a/build_files/cmake/macros.cmake
+++ b/build_files/cmake/macros.cmake
@@ -1221,10 +1221,10 @@ macro(WINDOWS_SIGN_TARGET target)
endif()
endmacro()
-MACRO(blender_precompile_headers target cpp header)
+macro(blender_precompile_headers target cpp header)
if (MSVC AND NOT MSVC_CLANG)
- target_sources(${target} PRIVATE ${cpp} ${header})
- set_target_properties(${target} PROPERTIES COMPILE_FLAGS "/Yu${header} /FI${header}")
- set_source_files_properties(${cpp} PROPERTIES COMPILE_FLAGS "/Yc${header}")
- endif()
-ENDMACRO()
+ target_sources(${target} PRIVATE ${cpp} ${header})
+ set_target_properties(${target} PROPERTIES COMPILE_FLAGS "/Yu${header} /FI${header}")
+ set_source_files_properties(${cpp} PROPERTIES COMPILE_FLAGS "/Yc${header}")
+ endif()
+endmacro()
diff --git a/source/blender/freestyle/FRS_precomp.cpp b/source/blender/freestyle/FRS_precomp.cpp
index 771f5bf3a4a..7e50a47f45b 100644
--- a/source/blender/freestyle/FRS_precomp.cpp
+++ b/source/blender/freestyle/FRS_precomp.cpp
@@ -1 +1,2 @@
-#include "FRS_precomp.h" \ No newline at end of file
+/* Pre-compiled headers, see: D2606. */
+#include "FRS_precomp.h"
diff --git a/source/blender/freestyle/FRS_precomp.h b/source/blender/freestyle/FRS_precomp.h
index 6b9abff1446..37b15ae4504 100644
--- a/source/blender/freestyle/FRS_precomp.h
+++ b/source/blender/freestyle/FRS_precomp.h
@@ -1,3 +1,4 @@
+/* Pre-compiled headers, see: D2606. */
#include <Python.h>
#include <pthread.h>
#include <string>