Skip to content

Conversation

@Kitsune44
Copy link
Contributor

@Kitsune44 Kitsune44 commented Dec 21, 2025

Update project files and devtools

  • .gitignore
    • Added the following paths to ignore list to prevent committing build artifacts and IDE-specific files:
      • src/materialsystem/shaderlib/Debug/
      • src/materialsystem/shaderlib/Release/
      • src/materialsystem/stdshaders/.vs/
  • src/devtools/bin/process_shaders.ps1
    • Standardize parameters: add default values for threads and optimization.
    • Simplify file iteration using Get-Content; remove explicit file handle management.
    • Consolidate ShaderCompile argument construction for dynamic mode, threading, and optimization.
    • Early exit for unsupported versions to prevent unnecessary compilation calls.
  • src/materialsystem/shaderlib/shaderlib_sdk.vcxproj
    • Enable WholeProgramOptimization in Release configuration.
    • Enable MultiProcessorCompilation and OmitFramePointers in Release build.
    • Add explicit TargetName property for consistency in output naming.
    • Use $(TargetPath) instead of hardcoded paths.
    • Remove redundant /MP compiler option; rely on MultiProcessorCompilation property.
    • Set WindowsTargetPlatformVersion to 10.0 for modern SDK targeting.
  • src/materialsystem/stdshaders/stdshader_dx9_sdk.vcxproj
    • Enable WholeProgramOptimization in Release configuration.
    • Enable MultiProcessorCompilation and OmitFramePointers in Release build.
    • Enable LinkTimeCodeGeneration in Link settings.
    • Add explicit TargetName property to standardize output naming.
    • Use $(TargetPath) instead of hardcoded path.
    • Move publishing logic from PostBuildEventUseInBuild into PostBuildEvent/PreLinkEvent.
    • Remove redundant /MP compiler option; rely on MultiProcessorCompilation.
    • Set WindowsTargetPlatformVersion to 10.0 for modern SDK targeting.
  • src/game/client/swarm_sdk_client.vcxproj
    • Disable Intel JCC Erratum workaround.
    • Add /IGNORE:4099 to linker AdditionalOptions to suppress irrelevant warnings.
  • src/game/missionchooser/swarm_sdk_missionchooser.vcxproj
    • Disable Intel JCC Erratum workaround.
  • src/game/server/swarm_sdk_server.vcxproj
    • Disable Intel JCC Erratum workaround.

Testing / Verification

  • Done.

Changes per file:

• .gitignore
  - Added the following paths to ignore list to prevent committing build artifacts and IDE-specific files:
    - src/materialsystem/shaderlib/Debug/
    - src/materialsystem/shaderlib/Release/
    - src/materialsystem/stdshaders/.vs/

• src/devtools/bin/process_shaders.ps1
  - Standardize parameters: add default values for threads and optimization.
  - Simplify file iteration using Get-Content; remove explicit file handle management.
  - Consolidate ShaderCompile argument construction for dynamic mode, threading, and optimization.
  - Early exit for unsupported versions to prevent unnecessary compilation calls.

• src/materialsystem/shaderlib/shaderlib_sdk.vcxproj
  - Enable WholeProgramOptimization in Release configuration.
  - Enable MultiProcessorCompilation and OmitFramePointers in Release build.
  - Add explicit TargetName property for consistency in output naming.
  - Use $(TargetPath) instead of hardcoded paths.
  - Remove redundant /MP compiler option; rely on MultiProcessorCompilation property.
  - Set WindowsTargetPlatformVersion to 10.0 for modern SDK targeting.

• src/materialsystem/stdshaders/stdshader_dx9_sdk.vcxproj
  - Enable WholeProgramOptimization in Release configuration.
  - Enable MultiProcessorCompilation and OmitFramePointers in Release build.
  - Enable LinkTimeCodeGeneration in Link settings.
  - Add explicit TargetName property to standardize output naming.
  - Use $(TargetPath) instead of hardcoded path.
  - Move publishing logic from PostBuildEventUseInBuild into PostBuildEvent/PreLinkEvent.
  - Remove redundant /MP compiler option; rely on MultiProcessorCompilation.
  - Set WindowsTargetPlatformVersion to 10.0 for modern SDK targeting.

• src/game/client/swarm_sdk_client.vcxproj
  - Disable Intel JCC Erratum workaround.
  - Add /IGNORE:4099 to linker AdditionalOptions to suppress irrelevant warnings.

• src/game/missionchooser/swarm_sdk_missionchooser.vcxproj
  - Disable Intel JCC Erratum workaround.

• src/game/server/swarm_sdk_server.vcxproj
  - Disable Intel JCC Erratum workaround.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant