You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#1589 is a fix for the project(MyProject VERSION 2.1.3) syntax, but
project(MyProject
VERSION 2.1.3)
is also valid and cdxgen cannot parse this correctly. Unfortunately parseCmakeLikeFile() works by splitting the CMakeLists.txt into lines and going line-by-line, so I don't see a simple fix for this. I see two directions, rewrite it to use regex matching to find all parts, or use a library to parse the CMakeLists.txt files if such library exists.
The text was updated successfully, but these errors were encountered:
#1589 is a fix for the
project(MyProject VERSION 2.1.3)
syntax, butis also valid and cdxgen cannot parse this correctly. Unfortunately
parseCmakeLikeFile()
works by splitting theCMakeLists.txt
into lines and going line-by-line, so I don't see a simple fix for this. I see two directions, rewrite it to use regex matching to find all parts, or use a library to parse theCMakeLists.txt
files if such library exists.The text was updated successfully, but these errors were encountered: