• Martin Braun's avatar
    cmake: Update coding style to use lowercase commands · ea113acb
    Martin Braun authored
    Also updates our coding style file.
    
    Ancient CMake versions required upper-case commands.  Later command
    names became case-insensitive.  Now the preferred style is lower-case.
    
    Run the following shell code (with GNU compliant sed):
    
    cmake --help-command-list | grep -v "cmake version" | while read c; do
      echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
    done > convert.sed \
    && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \
    '*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed
    
    (Make sure the backslashes don't get mangled!)
    ea113acb
Name
Last commit
Last update
..
debs Loading commit data...
dissectors Loading commit data...
gr-usrptest Loading commit data...
kitchen_sink Loading commit data...
mega_fft Loading commit data...
nirio_programmer Loading commit data...
uhd_dump Loading commit data...
uhd_txrx_debug_prints Loading commit data...
README.md Loading commit data...
usrp_x3xx_fpga_jtag_programmer.sh Loading commit data...