Skip to content

avoid relink msvcp140_atomic_wait_oss.dll#2606

Merged
StephanTLavavej merged 1 commit into
microsoft:mainfrom
crackedmind:fix_2605
Mar 17, 2022
Merged

avoid relink msvcp140_atomic_wait_oss.dll#2606
StephanTLavavej merged 1 commit into
microsoft:mainfrom
crackedmind:fix_2605

Conversation

@crackedmind
Copy link
Copy Markdown
Contributor

Resolves #2605

From cmake help:
Generated files are modified and their timestamp updated on subsequent cmake runs only if their content is changed.

@crackedmind crackedmind requested a review from a team as a code owner March 13, 2022 09:48
Comment thread stl/CMakeLists.txt
@StephanTLavavej StephanTLavavej added the build Related to the build system label Mar 14, 2022
@StephanTLavavej
Copy link
Copy Markdown
Member

Verified that this works as expected, thank you! 😻

Copy link
Copy Markdown
Contributor

@CaseyCarter CaseyCarter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed that relinking doesn't occur after running cmake with no changes for a completed build.

@StephanTLavavej
Copy link
Copy Markdown
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej self-assigned this Mar 15, 2022
@StephanTLavavej StephanTLavavej merged commit 4ad4c95 into microsoft:main Mar 17, 2022
@StephanTLavavej
Copy link
Copy Markdown
Member

Thanks for fixing the build system for optimal incremental builds! 😻 😻 😻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Related to the build system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

stl/CMakeLists.txt: Rerunning CMake relinks msvcp140_atomic_wait_oss.dll unnecessarily

3 participants