[CMake] How to build ccmake.exe on Windows?
John Drescher
drescherjm at gmail.com
Fri Nov 11 15:28:09 EST 2011
On Fri, Nov 11, 2011 at 3:24 PM, Robert Dailey <rcdailey at gmail.com> wrote:
> According to the root CMakeLists.txt in cmake, there is no way to do this on
> Windows. I'll probably have to build it through Cygwin itself, assuming UNIX
> is truthy when using Cygwin.
> # Use curses?
> IF (UNIX)
> # there is a bug in the Syllable libraries which makes linking ccmake
> fail, Alex
> IF(NOT "${CMAKE_SYSTEM_NAME}" MATCHES syllable)
> SET(CURSES_NEED_NCURSES TRUE)
> FIND_PACKAGE(Curses QUIET)
> IF (CURSES_LIBRARY)
> OPTION(BUILD_CursesDialog "Build the CMake Curses Dialog ccmake" ON)
> ELSE (CURSES_LIBRARY)
> MESSAGE("Curses libraries were not found. Curses GUI for CMake will
> not be built.")
> SET(BUILD_CursesDialog 0)
> ENDIF (CURSES_LIBRARY)
> ELSE(NOT "${CMAKE_SYSTEM_NAME}" MATCHES syllable)
> SET(BUILD_CursesDialog 0)
> ENDIF(NOT "${CMAKE_SYSTEM_NAME}" MATCHES syllable)
> ELSE (UNIX)
> SET(BUILD_CursesDialog 0)
> ENDIF (UNIX)
> ---------
> Robert Dailey
>
>
> On Fri, Nov 11, 2011 at 2:21 PM, Robert Dailey <rcdailey at gmail.com> wrote:
>>
>> I'm using Cygwin with the MSVC toolchain and I need ccmake.exe. I can't
>> use the one from the Cygwin package manager because it's older than the
>> version I'm using. I'd like to build it myself through Visual Studio like I
>> did with cmake and cmake-gui if possible. Any help?
>>
BTW, there is a cmake in cygwin setup. I believe it is recommended to
use that instead of the windows cmake.exe
John
More information about the CMake
mailing list