Cleanup: indentation
Also add comment to `FRS_precomp.h`.
This commit is contained in:
@@ -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()
|
||||
|
@@ -1 +1,2 @@
|
||||
#include "FRS_precomp.h"
|
||||
/* Pre-compiled headers, see: D2606. */
|
||||
#include "FRS_precomp.h"
|
||||
|
@@ -1,3 +1,4 @@
|
||||
/* Pre-compiled headers, see: D2606. */
|
||||
#include <Python.h>
|
||||
#include <pthread.h>
|
||||
#include <string>
|
||||
|
Reference in New Issue
Block a user