Hi,
Hope you are all well !
Is it possible to extract the tree of package dependencies from a CMakeLists.txt and export it into a yaml with peg-cmake ?
More clearly, is it possible to get all the commands attributes key/value from a standard cmake macro and from custom cmake macros/functions ?
Custom functions/macros:
https://github.com/headupinclouds/gatherer/blob/develop/CMakeLists.txt#L66
Packages,Components,Version
https://github.com/halismai/bpvo/blob/master/CMakeLists.txt#L124
https://github.com/halismai/bpvo/blob/master/CMakeLists.txt#L136
I would find it useful for building Docker Image for any c++ project, alpine based, more quickly by knowing the list of missing dependencies to add with the apk manager.
I haven't find any good cmake lexer/parser in go, as I am writing my docker bundler in golang, so I started to check for python based script, neither :-(
Thanks for any tips or insights about this question ! :-)
Have a good day !
Cheers,
Richard
Hi,
Hope you are all well !
Is it possible to extract the tree of package dependencies from a CMakeLists.txt and export it into a yaml with peg-cmake ?
More clearly, is it possible to get all the commands attributes key/value from a standard cmake macro and from custom cmake macros/functions ?
Custom functions/macros:
https://github.com/headupinclouds/gatherer/blob/develop/CMakeLists.txt#L66
Packages,Components,Version
https://github.com/halismai/bpvo/blob/master/CMakeLists.txt#L124
https://github.com/halismai/bpvo/blob/master/CMakeLists.txt#L136
I would find it useful for building Docker Image for any c++ project, alpine based, more quickly by knowing the list of missing dependencies to add with the apk manager.
I haven't find any good cmake lexer/parser in go, as I am writing my docker bundler in golang, so I started to check for python based script, neither :-(
Thanks for any tips or insights about this question ! :-)
Have a good day !
Cheers,
Richard