cheshirekow / cmake_format

Source code formatter for cmake listfiles.
GNU General Public License v3.0
949 stars 104 forks source link

formatting broken on add_library #295

Closed keitee closed 1 year ago

keitee commented 1 year ago

Hi,

I am new to this tool and may be it's simple configuration issue. When I run the tool on it, I get this output that's not nice. Can anyone help me fix this?

add_library( ${ PROJECT_NAME } STATIC ${ CMAKE_CURRENT_SOURCE_DIR } / x.cpp)

Many thanks