JonathanSalwan / Triton

Triton is a dynamic binary analysis library. Build your own program analysis tools, automate your reverse engineering, perform software verification or just emulate code.
https://triton-library.github.io
Apache License 2.0
3.4k stars 524 forks source link

Enable parallel builds for msvc #1266

Closed ZehMatt closed 11 months ago

ZehMatt commented 11 months ago

While working on the issue #532 I noticed that the build is not done in parallel as the default for parallel builds is off, see https://learn.microsoft.com/en-us/cpp/build/reference/mp-build-with-multiple-processes?view=msvc-170

This PR adds /MP to the compile options for msvc which significantly improves the build times.

Before: ========== Rebuild started at 12:28 AM and took 01:25.727 minutes ========== After: ========== Rebuild started at 12:30 AM and took 14.323 seconds ==========