This boilerplate is thought to be used for the «Testat» in the course C++ at HSR. It contains a basic CMake configurations that shows how to separate executables, libraries and CUTE Tests.
- Open the project in Clion.
- You should see the different CMake applications in the run configurations and be able to run them.
In order to run a CMake project in Cevelop you need the «LaunchBar».
- Go to
Help
→Install New Software...
. - Choose
CDT - http://download.eclipse.org/tools/cdt/releases/x.x
in the dropdownWork With
. - Search for
LaunchBar
and install it according to the install wizard.
- Open Cevelop and import the project as following:
File
→New
→C/C++Project
→Empty or Existing CMake Project
. - Enter a project name and choose the project root directory. Then click
Finish
.
- Click on the hammer icon to build the project. You might need to set the generator to
Unix Makefiles
in the Build Settings - Go to
Run
→Run Configurations...
- Add a new configuration (choose your project and the executable).
- Now you can select your launch configuration and run the programm by clicking on the play icon.
- Run
./prepare-upload.sh
inside the project root directory to copy all relevant files to the directory./upload/yyyy-mm-dd_hh:mm:ss
. - Upload them on: https://uploader.alf.infs.ch/
You can add relevant files for the testat in ./prepare-upload.sh
.