[Bf-blender-cvs] [f0ff593d978] master: Cleanup: indentation
Campbell Barton
noreply at git.blender.org
Thu Jun 6 06:50:31 CEST 2019
Commit: f0ff593d9784a78ef807608d54617a62986522d0
Author: Campbell Barton
Date: Thu Jun 6 14:48:37 2019 +1000
Branches: master
https://developer.blender.org/rBf0ff593d9784a78ef807608d54617a62986522d0
Cleanup: indentation
Also add comment to `FRS_precomp.h`.
===================================================================
M build_files/cmake/macros.cmake
M source/blender/freestyle/FRS_precomp.cpp
M source/blender/freestyle/FRS_precomp.h
===================================================================
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>
More information about the Bf-blender-cvs
mailing list