init: setup CLion project and gitignore

This commit is contained in:
2026-04-28 00:15:56 +03:00
commit 35f896969c
3 changed files with 23 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
.idea/
cmake-build-*/
+6
View File
@@ -0,0 +1,6 @@
cmake_minimum_required(VERSION 4.1)
project(TechArt_Roadmap)
set(CMAKE_CXX_STANDARD 20)
add_executable(TechArt_Roadmap main.cpp)
+15
View File
@@ -0,0 +1,15 @@
#include <iostream>
// TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
int main() {
// TIP Press <shortcut actionId="RenameElement"/> when your caret is at the <b>lang</b> variable name to see how CLion can help you rename it.
auto lang = "C++";
std::cout << "Hello and welcome to " << lang << "!\n";
for (int i = 1; i <= 5; i++) {
// TIP Press <shortcut actionId="Debug"/> to start debugging your code. We have set one <icon src="AllIcons.Debugger.Db_set_breakpoint"/> breakpoint for you, but you can always add more by pressing <shortcut actionId="ToggleLineBreakpoint"/>.
std::cout << "i = " << i << std::endl;
}
return 0;
}