alandefreitas / clang-unformat

A simple tool to infer a .clang-format file from existing code
Boost Software License 1.0
58 stars 13 forks source link

download and build boost if necessary #13

Closed threaderic closed 1 year ago

threaderic commented 1 year ago

hello Alan! Thanks for this useful app.

As I used your program, I met two minors issues solved by this pull request:

alandefreitas commented 1 year ago

Thanks. To be honest, 1.78.0 is just the version I had at the time. If you want you can even test it to see how low this can go.

In your set(BOOST_INCLUDE_LIBRARIES filesystem system program_options), I believe we need to list the libraries we use, such as process and asio to let the Boost script figure out the dependencies.

alandefreitas commented 1 year ago

Is it good to go?

threaderic commented 1 year ago

I tested it on Linux and it works well.

alandefreitas commented 1 year ago

Okie dokie!

Thanks!