19 lines
480 B
Markdown
Raw Permalink Normal View History

2025-01-09 18:06:57 +10:00
<EFBFBD><EFBFBD># hello-world-cpp
2025-01-09 22:41:17 +10:00
2025-01-09 22:45:54 +10:00
for Windows CMD
2025-01-09 22:41:17 +10:00
```
2025-01-09 22:45:54 +10:00
cmake -G "MinGW Makefiles" . && make && main.exe
2025-01-09 22:41:17 +10:00
```
2025-01-09 22:45:54 +10:00
for Windows PowerShell
2025-01-09 22:41:17 +10:00
```
2025-01-09 22:45:54 +10:00
cmake -G "MinGW Makefiles" . | make | ./main.exe
2025-01-09 22:41:17 +10:00
```
2025-01-09 12:57:19 +00:00
for Linux
```
cmake . && make && ./main
```