Changeset View
Changeset View
Standalone View
Standalone View
build_files/cmake/macros.cmake
| Context not available. | |||||
| endif() | endif() | ||||
| endif() | endif() | ||||
| ENDMACRO() | ENDMACRO() | ||||
| MACRO(blender_precomp target cpp header) | |||||
| if (MSVC) | |||||
| 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() | |||||
| Context not available. | |||||