Re: [CMake] How to build ccmake.exe on Windows?

2011-11-15 Thread Robert Dailey
The windows binaries unfortunately do not contain ccmake.exe.

-
Robert Dailey


On Tue, Nov 15, 2011 at 11:24 AM, Bill Hoffman wrote:

> On 11/11/2011 3:21 PM, Robert Dailey 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?
>>
>
>
> If you are using the MSVC toolchain, you can not use the cygwin built
> cmake.  That one only works with the cygwin toolchain.  You want the
> windows binaries from www.cmake.org.
>
> -Bill
>
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/**CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/**listinfo/cmake
>
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] How to build ccmake.exe on Windows?

2011-11-15 Thread Bill Hoffman

On 11/15/2011 12:59 PM, Robert Dailey wrote:

The windows binaries unfortunately do not contain ccmake.exe.



You have to use cmake-gui.  There is no version of ccmake that will work 
for  what you want to do, sorry...


-Bill
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] How to build ccmake.exe on Windows?

2011-11-15 Thread Bill Hoffman

On 11/11/2011 3:21 PM, Robert Dailey 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?



If you are using the MSVC toolchain, you can not use the cygwin built 
cmake.  That one only works with the cygwin toolchain.  You want the 
windows binaries from www.cmake.org.


-Bill

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] How to build ccmake.exe on Windows?

2011-11-11 Thread David Cole
UNIX is ON for cygwin based builds. (However, WIN32 is not ON any
longer. It used to be, but the cygwin guys didn't want it that way, so
now WIN32 is OFF.)

Assuming you are in a directory named "CMake" which is the CMake
source tree, you can do the following to produce a cygwin based CMake
(in a raw cygwin env with no Visual Studio stuff in it):

mkdir ../CMake-build
cd ../CMake-build
../CMake/bootstrap
make

Then you can use that cmake or ccmake in the cygwin environment.


HTH,
David


On Fri, Nov 11, 2011 at 3:28 PM, John Drescher  wrote:
> On Fri, Nov 11, 2011 at 3:24 PM, Robert Dailey  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  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
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: 
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] How to build ccmake.exe on Windows?

2011-11-11 Thread John Drescher
On Fri, Nov 11, 2011 at 3:24 PM, Robert Dailey  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  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
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] How to build ccmake.exe on Windows?

2011-11-11 Thread Robert Dailey
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  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?
>
> -
> Robert Dailey
>
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake