1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
C++ Basics, simple C++ lessonsGit RepositoryThis project's canonical repositories is hosted on Gothel Software. GoalsThis project aims to demonstrate the C++ language for our computer science class. Supported PlatformsC++20 and better. Building BinariesBuild Dependencies
Installing build dependencies on Debian (11 or better):
Perhaps change the clang version-suffix of above clang install line to the appropriate version. After complete clang installation, you might want to setup the latest version as your default. For Debian you can use this clang alternatives setup script. Build ProcedureThe following is covered with a convenient build script. For a generic build use:
Our cmake configure has a number of options, cmake-gui or ccmake can show you all the options. The interesting ones are detailed below: Changing install path from /usr/local to /usr
Building with clang and clang-tidy
To build documentation run:
IDE IntegrationEclipseIDE integration configuration files are provided for
You can import the project to your workspace via
For Eclipse one might need to adjust some setting in the
VSCodium or VS CodeIDE integration configuration files are provided for For VSCodium one might copy the example
root-workspace file to the parent folder of this project (note
the filename change) and adjust the
Then you can open it via
|