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

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


*Thank you! Sorry for the mess. Builds now :)*

*Just an FYI, I'm using this Preload.cmake file:*
## Required to build GUI
set(CMAKE_PREFIX_PATH "C:\\Qt\\5.12.0\\msvc2017_64" CACHE STRING "" FORCE)
set(BUILD_QtDialog ON CACHE BOOL "" FORCE)

## Standerdizing build options for 64-bit CMake
set(CMAKE_GENERATOR "Visual Studio 15 2017 Win64" CACHE INTERNAL "" FORCE)
set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_DIR}/standalone" CACHE
STRING "" FORCE)

*Makes it easier to standardize.*

*VT*

On Thu, Jan 24, 2019 at 12:36 PM Kyle Edwards <kyle.edwards at kitware.com>
wrote:

> On Thu, 2019-01-24 at 12:31 -0800, Venedict Tchistopolskii wrote:
>
> Nevermind, fixed the cmake-gui.
>
>
> Ah OK, then disregard my response.
>
> Would be nice to know how to triger the proper install/release config from
> VStudio, atm I do this:
> cmake . --target install --config Release
>
>
> This looks correct for doing it on the command line.
>
> The VStudio solution should have an "INSTALL" project which does what you
> want.
>
> Kyle
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake-developers/attachments/20190124/119160cb/attachment.html>


More information about the cmake-developers mailing list