... | @@ -8,11 +8,16 @@ Preparation for working with DSPElib using Visual Studio Code |
... | @@ -8,11 +8,16 @@ Preparation for working with DSPElib using Visual Studio Code |
|
- for examples compiler provided with https://code.visualstudio.com/docs/cpp/config-mingw
|
|
- for examples compiler provided with https://code.visualstudio.com/docs/cpp/config-mingw
|
|
- .vscode folder in the workspace contains configurations for VSC
|
|
- .vscode folder in the workspace contains configurations for VSC
|
|
3. run_VScode.bat ([run_VScode.bat](uploads/e2c8f797454db50f5252b4d7846a450d/run_VScode.bat))
|
|
3. run_VScode.bat ([run_VScode.bat](uploads/e2c8f797454db50f5252b4d7846a450d/run_VScode.bat))
|
|
- Windows cmd batch with configuration of MinGW and Msys paths (this allows avoiding setting global system paths and using different compiler sets)
|
|
- Script setups paths (MinGW gcc and MSys) and runs VS Code
|
|
- MSYS
|
|
- This allows avoiding setting global system paths and using different compiler sets
|
|
|
|
- MSYS (v.2 is probably a better choice)
|
|
- MSYS v.1.0: https://sourceforge.net/projects/mingw/files/MSYS/Base/msys-core/msys-1.0.11/MSYS-1.0.11.exe/download?use_mirror=kumisystems
|
|
- MSYS v.1.0: https://sourceforge.net/projects/mingw/files/MSYS/Base/msys-core/msys-1.0.11/MSYS-1.0.11.exe/download?use_mirror=kumisystems
|
|
- MSYS2: https://www.msys2.org/
|
|
- MSYS2: https://www.msys2.org/
|
|
- Runs VS Code
|
|
- install msys2 (64bit)
|
|
|
|
- pacman -Syuu => restart msys2
|
|
|
|
- pacman -Sy
|
|
|
|
- pacman -S make
|
|
|
|
- update path to msys in *.bat; for example: D:\msys64\usr\bin\
|
|
4. Open folder: d:\Eclipse_Mars\git_folder\DSPElib\DSPE_lib\src\
|
|
4. Open folder: d:\Eclipse_Mars\git_folder\DSPElib\DSPE_lib\src\
|
|
5. .vscode/c_cpp_properties.json – C++ configurations
|
|
5. .vscode/c_cpp_properties.json – C++ configurations
|
|
- https://code.visualstudio.com/docs/cpp/c-cpp-properties-schema-reference
|
|
- https://code.visualstudio.com/docs/cpp/c-cpp-properties-schema-reference
|
... | | ... | |