This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for file in $(find . -type f -name '*\.cmake' -o -name '*\.txt' -o -name '*\.ctest') | |
do | |
echo "Processing file [$file]" | |
for cmd in $(cmake --help-command-list) | |
do | |
sed -i "s/${cmd}(/${cmd}(/gI" $file | |
done | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project( itkMetaImageMesh.cxx ) | |
cmake_minimum_required( VERSION 2.6 ) | |
find_package( ITK ) | |
include( ${ITK_USE_FILE} ) | |
add_executable( itkMetaImageMesh itkMetaImageMesh.cxx ) | |
target_link_libraries( itkMetaImageMesh ${ITK_LIBRARIES} ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
info = """Add reviewers to a Gerrit change. | |
Authors of files that were edited are nominated as potential reviewers. | |
*Caveats* | |
- Should be executed from the root of the repository. | |
- Should be executed while checked out on the topic branch to be pushed to |