Closed ferrerama closed 11 months ago
Hi, thanks for asking this.
You have to run the :CMakeGenerate
command with the same options as you would use to run cmake
from the command line. So if you would pass -G "MinGW Makefiles"
to cmake
, you'd have to call the command as
:CMakeGenerate -G "MinGW Makefiles"
Did you try this already?
By the way, instead of passing this option to :CMakeGenerate
all the time, you can also use the configuration option g:cmake_generate_options
.
Hi, thanks for asking this.
You have to run the
:CMakeGenerate
command with the same options as you would use to runcmake
from the command line. So if you would pass-G "MinGW Makefiles"
tocmake
, you'd have to call the command as:CMakeGenerate -G "MinGW Makefiles"
Did you try this already?
It works perfect, thank you. I never thought it was like running such as terminal (the commands).
Please, one dude, is it possible to change the color to transparent of the background (terminal), where the CMake execution is displayed ?
It currently takes the color of the installed scheme.
By the way, instead of passing this option to
:CMakeGenerate
all the time, you can also use the configuration optiong:cmake_generate_options
.
yes, I use: 'g:cmake_generate_options' thanks.
Please, one dude, is it possible to change the color to transparent of the background (terminal), where the CMake execution is displayed ? It currently takes the color of the installed scheme.
Are you asking why the Vim-CMake window does not have the same background color as the other Vim windows? Or something else? I wouldn't know, you'd have to try what happens with a minimal vimrc, and see if the problem lies in your configuration/colorscheme or not.
Please, one dude, is it possible to change the color to transparent of the background (terminal), where the CMake execution is displayed ? It currently takes the color of the installed scheme.
Are you asking why the Vim-CMake window does not have the same background color as the other Vim windows? Or something else? I wouldn't know, you'd have to try what happens with a minimal vimrc, and see if the problem lies in your configuration/colorscheme or not.
Yes, no it is important, I will fixing the config colorscheme.
Finally I am using the default theme(colorscheme), it 100% transparent it is nice.
Bug description
It was used on Linux and it works great, but on Windows it generates an error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I use command CMakeGenerate in Linux and run good.
Behavior with minimal
.vimrc
...
Screenshots
Run: CMakeClean, because before I use the cmake on windows terminal. it is the result clean.
following: Run CMakeGenerate and this error show.
Other info
Additional context
The problem it is command CMakeGenerate, other commands use good,
Content CMakeLists.txt