This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
4befecc77c
CMake
/
Example
/
Demo
/
demo.cxx
11 lines
86 B
C++
Raw
Normal View
History
Unescape
Escape
move example into the source tree so it will work...
2001-12-19 23:25:10 +03:00
#
include
"hello.h"
extern
Hello
hello
;
int
main
(
)
{
hello
.
Print
(
)
;
Remove trailing whitespace from most CMake and C/C++ code Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
2012-08-13 21:42:58 +04:00
move example into the source tree so it will work...
2001-12-19 23:25:10 +03:00
return
0
;
}