rust-utility / cmake-parser

Allows to parse CMakeLists.txt.
The Unlicense
7 stars 1 forks source link

Fix add_library STATIC eating other arguments #6

Closed gtker closed 2 months ago

gtker commented 2 months ago

Fixes https://github.com/rust-utility/cmake-parser/issues/4.

I believe this is the correct fix, although the proc macro used for parsing totally eludes me, so this is just a best guess.

It passes the test I added and no other tests break, so I guess it works?

kilork commented 2 months ago

If other test cases work - our best guess is the only guess we have 👍