mike-lischke / antlr4-c3

A grammar agnostic code completion engine for ANTLR4 based parsers
MIT License
396 stars 62 forks source link

#132 Add a CMake build for C++ port #133

Closed vityaman closed 1 month ago

vityaman commented 1 month ago

The part of issue #132.

Adding this library as a dependency via FetchContent or something like this is not supported, because requiring to write some config and adding some demo project to test it.

There are not all changes here. Planning to add in the nearest future at next PRs:

vityaman commented 1 month ago

This CMake project structure was inspired by the project twist and many others, that I greped in the Internet.

vityaman commented 1 month ago

Oh, I eventually defeated that problem with an absence of GTest and CTest, checks passed at my fork.

@mike-lischke, the PR is ready for review.

mike-lischke commented 1 month ago

Thanks!