Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EASTL.natvis to EASTL when using MSVC and install to doc directory #487

Merged
merged 1 commit into from
Jan 31, 2023
Merged

Add EASTL.natvis to EASTL when using MSVC and install to doc directory #487

merged 1 commit into from
Jan 31, 2023

Conversation

SamVanheer
Copy link
Contributor

This adds EASTL.natvis to the EASTL target when using MSVC and installs the file to the doc directory, enabling users to use the file without needing to reference the Git repository or manually copy the file.

@grojo-ea
Copy link
Contributor

Thanks for the PR. This looks good to me but it now needs a rebase.

CMakeLists.txt Outdated
@@ -22,6 +22,15 @@ include(CommonCppFlags)
file(GLOB EASTL_SOURCES "source/*.cpp")
add_library(EASTL ${EASTL_SOURCES})

if (MSVC)
set(EASTL_NATVIS_DIR "doc")
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you fix this indentation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've normalized the indentation to use 4 spaces for all new additions, but it looks like indentation in existing files is also inconsistent. Let me know it needs changing.

Copy link
Contributor

Choose a reason for hiding this comment

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

Good point, we should probably fix that indentation at some point, but that's separate from this PR. Thanks for fixing it up for the added lines.

@SamVanheer
Copy link
Contributor Author

I've rebased it and applied the requested changes.

@grojo-ea grojo-ea merged commit e757b44 into electronicarts:master Jan 31, 2023
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.

None yet

2 participants