Skip to content

Remove unused PROJECT_SRC_DIR from cpp CMakeLists#842

Open
SpriCoder wants to merge 1 commit into
apache:developfrom
SpriCoder:chore/remove-dead-project-src-dir
Open

Remove unused PROJECT_SRC_DIR from cpp CMakeLists#842
SpriCoder wants to merge 1 commit into
apache:developfrom
SpriCoder:chore/remove-dead-project-src-dir

Conversation

@SpriCoder

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • Fresh Debug configure + full build (-DBUILD_TEST=ON -DENABLE_ANTLR4=OFF): library, tsfile-cli, and TsFile_Test all compile and link.
  • Full GTest regression suite: 641 tests from 106 suites, all passed.
  • tsfile-cli smoke: --version / --help, plus a write (stdin CSV) → countcat round-trip.
  • grep PROJECT_SRC_DIR over the repo and the generated CMakeCache.txt: zero remaining references.

The variable was introduced in apache#364 but has never been referenced
anywhere in the build. Per maintainer guidance, consumers (CLI, tests,
examples, external users) must resolve library headers from the staged
include tree (LIBRARY_INCLUDE_DIR) and link the shared library, never
reach into the source tree, so a variable pointing at cpp/src should
not exist as a temptation.

Verified: full Debug build (library + tsfile-cli + TsFile_Test) and the
complete GTest suite (641 tests) pass; tsfile-cli write/count/cat
round-trip works.
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