[cmake-developers] Compiling static/stand-alone CMake.exe

Venedict Tchistopolskii venytch at gmail.com
Thu Jan 24 15:31:04 EST 2019


Nevermind, fixed the cmake-gui.

Would be nice to know how to triger the proper install/release config from
VStudio, atm I do this:
cmake . --target install --config Release

On Thu, Jan 24, 2019 at 12:25 PM Venedict Tchistopolskii <venytch at gmail.com>
wrote:

> The install command auto-installs release right?
> How do I trigger this 'install' from VStudio?
> Is building in VStudio enough before install?
> e.g. generate solution -> build in VStudio -> run install command in CLI?
> Just not sure on the proper flow because I use VStudio to
> debug/modify/test CMake.
>
> Additionally with this setup cmake-gui.exe can't find Qt5widgets etc. no
> matter what I do.....
>
> It finds it if I use the .exe built by VStudio.
>
> On Thu, Jan 24, 2019 at 9:37 AM Kyle Edwards <kyle.edwards at kitware.com>
> wrote:
>
>> On Thu, 2019-01-24 at 12:36 -0500, Kyle Edwards wrote:
>>
>> cmake --build . --target install
>> windeployqt C:/Path/To/Where/I/Want/To/Install/bin/cmake.exe
>>
>>
>> Oops - this should obviously be
>> C:/Path/To/Where/I/Want/To/Install/bin/cmake-gui.exe.
>>
>> Kyle
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake-developers/attachments/20190124/69eed0ae/attachment.html>


More information about the cmake-developers mailing list