This repository gives step-by-step instruction for cmake beginners who are not used to system programming. Assuming all examples and instructions run in Windows OS.
- Git
- Compiler which you prefer
- CMake
- Ninja
- Visual Studio Code
Note that you can install CMake and Ninja with MSYS environment
Proxy Setting (Optional)
If you need to use proxy for web access, please follow instructions below
- Open MSYS Shell
- Open profile file with command below
nano /etc/profile
- Add proxy address setting to last of file
export HTTP_PROXY="IpAddress:Port" # Like: 127.0.0.1:1477
export HTTPS_PROXY=$HTTP_PROXY
export http_proxy=$HTTP_PROXY
export https_proxy=$HTTP_PROXY
- Close and reopen msys shell
Open MSYS shell and install developemnt environment
pacman -S base-devel mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc ninja
Add C:\msys64\mingw64\bin
to system environment variable
git clone https://github.com/DongHoonPark/cmake_getting_started