I am new to c++ app.
I have visual studio installed on my Windows system. I have installed c c++ and remote connection plugin in visual studio. C++ compiler gcc is installed on another linux machine. All libraries required for project compilation is installed on linux machine.
I am writing an c++ program which need library which is on linux machine.
How do i add those remote library in my application in visual studio.
Thanks
========Code===========
I have added path in tasks.json-
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: g++ build active file",
"command": "/usr/bin/g++",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}",
"-I/usr/bin/",
"-L/usr/bin/"
],
I have also added path in c_app_properties.json -
configurations": [
{
"name": "Linux",
"defines": [],
"compilerPath": "/usr/bin/g++",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "${default}",
"includePath": [
"test/rapidjson/*",
"/usr/bin/"
]