Cleanup: indentation

Also add comment to `FRS_precomp.h`.
This commit is contained in:
Campbell Barton
2019-06-06 14:48:37 +10:00
parent c257e1a298
commit f0ff593d97
3 changed files with 9 additions and 7 deletions

View File

@@ -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()

View File

@@ -1 +1,2 @@
#include "FRS_precomp.h"
/* Pre-compiled headers, see: D2606. */
#include "FRS_precomp.h"

View File

@@ -1,3 +1,4 @@
/* Pre-compiled headers, see: D2606. */
#include <Python.h>
#include <pthread.h>
#include <string>