master
bat 17 lines 727 Bytes
Raw
1 @echo off
2 :: In Clion Toolchains
3 :: 1. Add a MinGW profile
4 :: 2. Set Toolset to C:\msys64\mingw64
5 :: 3. Add environment and set the full path to this file, like:
6 :: C:\msys64\home\costa\src\netdata-ktsaou.git\packaging\utils\clion-mingw64-environment.bat
7 :: 4. Let everything else to Bundled and auto-detected
8 ::
9 set "batch_dir=%~dp0"
10 set "batch_dir=%batch_dir:\=/%"
11 set MSYSTEM=MINGW64
12 set GOROOT=C:\msys64\mingw64
13 set PATH="%PATH%;C:\msys64\mingw64\bin;C:\msys64\usr\bin;C:\msys64\bin"
14 ::set PKG_CONFIG_EXECUTABLE=C:\msys64\mingw64\bin\pkg-config.exe
15 ::set CMAKE_C_COMPILER=C:\msys64\mingw64\bin\gcc.exe
16 ::set CMAKE_CC_COMPILER=C:\msys64\mingw64\bin\g++.exe
17 set PROTOBUF_PROTOC_EXECUTABLE=C:/msys64/mingw64/bin/protoc.exe