vscode-cmake-tools icon indicating copy to clipboard operation
vscode-cmake-tools copied to clipboard

code . and cmake doesn't work

Open mvala opened this issue 9 years ago • 5 comments

When i start project with

cd <proj-dir>
code .

I am getting following output after i press F7

Execute cmake with arguments: --build,/home/mvala/MVALA/Work/git/openbrain.sk/cern/alice/ctp/ctp3-mon/build,--target,all,--config,Debug,--,-j,6
[vscode] Executing command: cmake --build /home/mvala/MVALA/Work/git/openbrain.sk/cern/alice/ctp/ctp3-mon/build --target all --config Debug -- -j 6
gmake[1]: *** No rule to make target '/home/mvala/git/openbrain.sk/cern/alice/ctp/ctp3-mon/build/all'.  Stop.
gmake: *** [Makefile:152: all] Error 2
[vscode] cmake exited with return code 2

If i open project directory from vscode via menu, it is working fine

mvala avatar Sep 03 '17 05:09 mvala

Sorry for the long delay. Real life can get in the way sometimes.

I'm curious on what could cause this issue. Could I get some more information about your platform, environment, and toolset?

vector-of-bool avatar Sep 22 '17 02:09 vector-of-bool

I think this works with version 0.11. Could you try it out and reopen the issue if it is still present.

KoeMai avatar Apr 22 '18 14:04 KoeMai

I'm wondering if this is related to #390. The error messages look fairly similar.

vector-of-bool avatar Apr 23 '18 04:04 vector-of-bool

I had closed it, I was not able to reproduce it. But then I found a scenario and fixed it.

KoeMai avatar Apr 23 '18 04:04 KoeMai

Is fixed in the next version.

KoeMai avatar Apr 25 '18 05:04 KoeMai