CXX: Difference between revisions
Jump to navigation
Jump to search
New page: CXX<Program> = <C++ Source>.cpp ... Designate C++ source files that are to be built for each program. The G.Build system recognizes the .cpp and .C suffixes. The .cpp suffix ... |
(No difference)
|
Latest revision as of 16:42, 19 November 2010
CXX<Program> = <C++ Source>.cpp ...
Designate C++ source files that are to be built for each program. The G.Build system recognizes the .cpp and .C suffixes. The .cpp suffix is recommended since Windows is not case sensitive and does not distinguish between .C and .c; which can be confusing and requires quoted names.
PROGRAM = myProgram CXXmyProgram = myProgram.cpp mySubroutine.cpp
By convention the file containing a C++ "main" method has the same name as the program.