CXX

From VrlWiki
Revision as of 16:42, 19 November 2010 by Brad Berg (talk | contribs) (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 ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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.