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
49a07d7a14
CMake
/
Tests
/
LibName
/
foobar.c
11 lines
101 B
C
Raw
Normal View
History
Unescape
Escape
ENH: fix errors for unix builds
2006-11-30 01:45:55 +03:00
#
ifdef _WIN32
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
__declspec
(
dllimport
)
ENH: fix errors for unix builds
2006-11-30 01:45:55 +03:00
#
endif
Revise C++ coding style using clang-format Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
2016-05-16 17:34:04 +03:00
extern
void
bar
(
)
;
BUG: fix a problem where it tried to link .dll.lib files
2006-11-29 23:58:19 +03:00
ENH: make it work for hp
2006-11-30 17:51:07 +03:00
int
main
(
)
BUG: fix a problem where it tried to link .dll.lib files
2006-11-29 23:58:19 +03:00
{
bar
(
)
;
return
0
;
}