Make include guard in version.hpp uppercase
This commit is contained in:
parent
27f42b1623
commit
64b81076c9
@ -85,7 +85,8 @@ else
|
|||||||
cp $tplroot/Makefile.unified $proj/Makefile
|
cp $tplroot/Makefile.unified $proj/Makefile
|
||||||
cp $tplroot/precomp.hpp $proj/src
|
cp $tplroot/precomp.hpp $proj/src
|
||||||
cp -r $tplroot/tests $proj/
|
cp -r $tplroot/tests $proj/
|
||||||
sed -e "s/{PROJECT}/$proj/" $tplroot/version.hpp > $proj/src/version.hpp
|
uproj=$(echo $proj | tr '[:lower:]' '[:upper:]')
|
||||||
|
sed -e "s/{PROJECT}/$proj/" -e "s/{PROJ}/$uproj/" $tplroot/version.hpp > $proj/src/version.hpp
|
||||||
sed -e "s/{PROJECT}/$proj/" $tplroot/version.cpp > $proj/src/version.cpp
|
sed -e "s/{PROJECT}/$proj/" $tplroot/version.cpp > $proj/src/version.cpp
|
||||||
|
|
||||||
if [ $library = 1 ]
|
if [ $library = 1 ]
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#ifndef {PROJECT}_VERSION_H_
|
#ifndef _{PROJ}_VERSION_H_
|
||||||
#define {PROJECT}_VERSION_H_
|
#define _{PROJ}_VERSION_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
std::string {PROJECT}_version();
|
std::string {PROJECT}_version();
|
||||||
|
|
||||||
#endif // {PROJECT}_VERSION_H_
|
#endif // _{PROJ}_VERSION_H_
|
||||||
|
Loading…
x
Reference in New Issue
Block a user