Skip to content

Drop stale cppsdk/include references left by the vendored SDK removal - #204

Merged
Dimitris Gkanatsios (dgkanatsios) merged 1 commit into
mainfrom
dev/digkanat/curl-deps-and-stale-includes
Aug 10, 2026
Merged

Drop stale cppsdk/include references left by the vendored SDK removal#204
Dimitris Gkanatsios (dgkanatsios) merged 1 commit into
mainfrom
dev/digkanat/curl-deps-and-stale-includes

Conversation

@dgkanatsios

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #203, addressing Andy McCalib (@amccalib)'s post-merge review nit.

#203 deleted cpp/cppsdk/include/, but two build files still added it to their include path. Both are harmless — neither CMake nor MSBuild errors on a nonexistent -I path, which is why CI stayed green — they are just dead references now.

Changes

Stale cppsdk/include references

  • cpp/CMakeLists.txt:31 — dropped from target_include_directories(GSDK_CPP PRIVATE ...)
  • cpp/unittests/GSDK_CPP_UnitTests.vcxproj:99,119 — dropped $(SolutionDir)cppsdk\include from the Debug and Release configurations

Duplicate include path (pre-existing, unrelated to #203)

The same two lines listed $(SolutionDir)cppsdk twice:

$(SolutionDir)dependencies\libcurl-...\include;$(SolutionDir)cppsdk;$(VCInstallDir)UnitTest\include;$(SolutionDir)cppsdk;$(SolutionDir)cppsdk\include;%(AdditionalIncludeDirectories)

Now:

$(SolutionDir)dependencies\libcurl-...\include;$(SolutionDir)cppsdk;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)

All four unit test configurations now list the same three include paths.

Verification

  • grep -r 'cppsdk[\\/]include' across the repo returns zero matches
  • SDK builds clean via the repo CMakeLists.txt on Linux; libGSDK_CPP_Linux.a still contains the expected 6 objects
  • The GSDK_CPP_UnitTests project is the target cpp-tests.yml builds, so CI covers the vcxproj change on windows-latest

Not included

The bundled libcurl / OpenSSL dependency refresh is tracked separately in AB#63480313 and is assigned to its owner, so it is deliberately left out of this PR to avoid duplicating that work.

#203 deleted cpp/cppsdk/include, but two build files still added it to
their include path:

- cpp/CMakeLists.txt passed cppsdk/include to target_include_directories
- GSDK_CPP_UnitTests.vcxproj listed $(SolutionDir)cppsdk\include in the
  Debug and Release configurations

Neither CMake nor MSBuild errors on a nonexistent -I path, so CI stayed
green and nothing was broken. They are simply dead now.

Also removes a duplicate $(SolutionDir)cppsdk from the same two
AdditionalIncludeDirectories lines, which predates #203. All four unit
test configurations now list the same three include paths.

Reported by @amccalib in review on #203.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6defd46f-b276-4683-bedd-6ba3aecdaa7f

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Removes obsolete C++ SDK include paths left after the vendored SDK deletion.

Changes:

  • Removes the stale CMake cppsdk/include path.
  • Cleans duplicate and stale Visual Studio unit-test include paths.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
cpp/CMakeLists.txt Removes the deleted include directory.
cpp/unittests/GSDK_CPP_UnitTests.vcxproj Normalizes Release include paths.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@dgkanatsios
Dimitris Gkanatsios (dgkanatsios) merged commit bae2772 into main Aug 10, 2026
3 checks passed
@dgkanatsios
Dimitris Gkanatsios (dgkanatsios) deleted the dev/digkanat/curl-deps-and-stale-includes branch August 10, 2026 23:35
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.

3 participants