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
516a2cd360
CMake
/
Tests
/
CustomCommand
/
GeneratedHeader
/
main.cpp
6 lines
65 B
C++
Raw
Normal View
History
Unescape
Escape
ENH: add test for generated header
2006-01-09 22:56:29 +03:00
#
include
"generated.h"
Tests/CustomCommand: Do not use 'main' in a library Otherwise when linking 'CustomCommand' some linkers report ld: 0711-224 WARNING: Duplicate symbol: .main Suggested-by: Daniel R. Gomez <gomez@teragram.com>
2012-07-10 01:04:48 +04:00
int
mainGeneratedHeader
(
)
ENH: add test for generated header
2006-01-09 22:56:29 +03:00
{
COMP: Fixed form of function main.
2006-02-14 23:15:48 +03:00
return
0
;
ENH: add test for generated header
2006-01-09 22:56:29 +03:00
}