MaciejPatro / cmake-tidy

Project provides a set of tools that will ease the development process for code written in CMake.
MIT License
15 stars 0 forks source link

FILES_MATCHING PATTERN as double keyword #65

Closed MaciejPatro closed 4 years ago

MaciejPatro commented 4 years ago

current state:

install(                                                                                                                                                                                                                                      
        DIRECTORY
                ${include_dir}/
        DESTINATION
                include/${TARGET}
        FILES_MATCHING
        PATTERN
                "*.h*"
)   

could be:

install(                                                                                                                                                                                                                                      
        DIRECTORY
                ${include_dir}/
        DESTINATION
                include/${TARGET}
        FILES_MATCHING PATTERN
                "*.h*"
)   
MaciejPatro commented 4 years ago

REGEX REPLACE seems the same case