Add support for C++
Add support for solving tasks in the C++ language.
To be provided:
-
${GD_ROOT}/envs/c++
directory containing:-
.gdrc
file which sets the following variables:-
GD_SOURCE_FILE
- the main file to be opened in the editor, -
GD_TARGET_FILE
- the file to be executed when running tests, -
GD_MAKE_COMMAND
- the command to invokemake
for compilation (optional), -
GD_TEST_COMMAND
- the command to invoke then running tests.
-
-
Makefile
-make
script which provides the following goals:-
deps
- checks if the dependencies are installed, -
compile
- compiles the program, -
clean
- deletes the (by-)products of compilation.
-
-
-
src/main/c++/main.cpp
- the main source file containing the initial version (an empty main function).
Edited by Pawel Kierat