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

cmake build system refactor #29903

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

Conversation

freemine
Copy link
Contributor

Description

#29455

this PR is based on the early TDengine commit (acdee96), thus can't be merged automatically. but it does NOT matter as far as what this PR is about to demonstrate.

how to build with it:

  • Linux/MacOSX
cmake -B debug -DWEBSOCKET=true -DBUILD_TOOLS=true -DBUILD_CONTRIB=true -DBUILD_HTTP=false -DBUILD_KEEPER=true -DBUILD_TEST:BOOL=ON
cmake --build debug -j4
  • Windows
cmake -B build -DBUILD_CONTRIB:BOOL=ON -A x64
cmake --build build -j4

hints:

check with first several lines in ./CMakeLists.txt

Checklist

Please check the items in the checklist if applicable.

  • Is the user manual updated?
  • Are the test cases passed and automated?
  • Is there no significant decrease in test coverage?

@freemine
Copy link
Contributor Author

freemine commented Feb 23, 2025

currently, build/install/test processes are all passed on linux/macosx.
but on windows, taosd and related stuffs do NOT compile, and neither install/test processes has been tested locally.
if you wanna check if taos.exe has compiled successfully, check with this:

.\build\build\bin\Debug\taos.exe -E taosws://host:6041/path-to-server

@freemine freemine mentioned this pull request Feb 23, 2025
3 tasks
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