Update CoPilot instructions and update ADO pipelines (#627)

This commit is contained in:
Chuck Walbourn
2025-08-18 17:09:07 -06:00
committed by GitHub
parent 1beaa86597
commit 0220bea028
7 changed files with 65 additions and 7 deletions

View File

@@ -47,6 +47,8 @@ option(ENABLE_CODE_ANALYSIS "Use Static Code Analysis on build" OFF)
option(ENABLE_CODE_COVERAGE "Build with code-coverage" OFF)
option(ENABLE_CODE_PROFILING "Build for profiling" OFF)
option(USE_PREBUILT_SHADERS "Use externally built HLSL shaders" OFF)
option(NO_WCHAR_T "Use legacy wide-character as unsigned short" OFF)
@@ -616,6 +618,13 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
endforeach()
endif()
if(ENABLE_CODE_PROFILING)
message(STATUS "Building with /PROFILE")
foreach(t IN LISTS TOOL_EXES ITEMS ${PROJECT_NAME})
target_link_options(${t} PRIVATE /profile)
endforeach()
endif()
if(ENABLE_SPECTRE_MITIGATION
AND (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 19.13)
AND (NOT ENABLE_OPENEXR_SUPPORT)