Re: [CMake] ccmake is not getting installed

2013-01-29 Thread Bill Hoffman
On 1/29/2013 8:56 PM, Pradeep Jha wrote: I printed both CURSES_NCURSES_LIBRARY AND NOT CURSES_CURSES_LIBRARY and they were respectively "/usr/lib64/libncurses.so.5" and "/usr/lib64/libcurses.so" and so the variable CURSES_USE_NCURSES was set to False. I didnt know what to do so I forced the la

Re: [CMake] CPack different libraries in DEB compared to RPM

2013-01-29 Thread upprc04
Eric Noulard wrote > ... > It is easily done with separate build-tree, > > You may use CPACK_PROJECT_CONFIG_FILE and > override CPACK_INSTALL_CMAKE_PROJECTS in RPM/DEB specific sections. > In that later case you need to define appropriate COMPONENT (see > install(... COMPONENT...) > argument ) in

Re: [CMake] ExternalProject DEPENDS bug?

2013-01-29 Thread Rolf Eike Beer
Pere Mato Vila wrote: > Hi, > > It seems that the DEPENDS option in the ExternalProejct_Add() requires an > external project target and not any other kind of target. In the page > http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html > says: > > "The DEPENDS argument take

Re: [CMake] CPack different libraries in DEB compared to RPM

2013-01-29 Thread Eric Noulard
2013/1/29 upprc04 : > I'm running across an issue where I have some utility libraries that are only > needed in the debian. I currently have them added to both the debian and > RPM using CPack and CMake. What would I need to change in my CMake files to > include a specific set of libraries to onl

[CMake] Adding dependency jar to jar

2013-01-29 Thread Pastrana, Rodrigo (RIS-BCT)
Hello, I've been creating a jar based on my java project without issue, but now I'm adding an external dependency and will like to package the said dependency's contents within my output jar. I'm able to build the project via CMAKE by adding the external.jar to the CMAKE_JAVA_INCLUDE_PATH list:

[CMake] CPack different libraries in DEB compared to RPM

2013-01-29 Thread upprc04
I'm running across an issue where I have some utility libraries that are only needed in the debian. I currently have them added to both the debian and RPM using CPack and CMake. What would I need to change in my CMake files to include a specific set of libraries to only be included in the debian

[CMake] CMake's Ninja generator on Windows: problem with response files and Linaro's gcc compiler

2013-01-29 Thread Matteo Franchin
Hi all, I am having an issue while using CMake's Ninja generator on Windows to cross-compile some C firmware for an embedded device (ARM Cortex M3). I could solve the problem only by hacking CMake source code and recompiling it, but I am hoping somebody in this mailing list can help me to find a cl

Re: [CMake] ccmake is not getting installed

2013-01-29 Thread Michael Jackson
On Jan 29, 2013, at 10:38 AM, Bill Hoffman wrote: > On 1/29/2013 10:29 AM, Pradeep Jha wrote: >> Hello, >> >> I do have the ncurses.h file >> > > Can you run cmake like this and send me the log. (off the list it will be > big.) > > cmake -DCMAKE_FIND_DEBUG_MODE=TRUE --trace > > -- > Bill

[CMake] ExternalProject DEPENDS bug?

2013-01-29 Thread Pere Mato Vila
Hi, It seems that the DEPENDS option in the ExternalProejct_Add() requires an external project target and not any other kind of target. In the page http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html says: "The DEPENDS argument takes the names of other CMake targets

Re: [CMake] ccmake is not getting installed

2013-01-29 Thread Bill Hoffman
On 1/29/2013 10:29 AM, Pradeep Jha wrote: Hello, I do have the ncurses.h file Can you run cmake like this and send me the log. (off the list it will be big.) cmake -DCMAKE_FIND_DEBUG_MODE=TRUE --trace -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 bill.hoff...@ki

Re: [CMake] ccmake is not getting installed

2013-01-29 Thread Pradeep Jha
Hello, I do have the ncurses.h file - [root@83 cmake-2.8.10.2]# locate ncurses.h /usr/include/ncurses.h /usr/include/ncurses/ncurses.h /usr/include/ncursesw/ncurses.h --

Re: [CMake] ccmake is not getting installed

2013-01-29 Thread Bill Hoffman
On 1/29/2013 4:06 AM, Pradeep Jha wrote: Hello, I have attached the cmake-run.out file with this email. Also the output for all the commands that you suggested is attached below. You are missing the header files for curses, not the libraries. You need the headers to compile against the libra

Re: [CMake] ccmake is not getting installed

2013-01-29 Thread Pradeep Jha
Hello, I have attached the cmake-run.out file with this email. Also the output for all the commands that you suggested is attached below. Thanks --- [root@83 build]# /usr/local/bin/cmake ./../cmake-2.8.10.2 Curses librari

Re: [CMake] ccmake is not getting installed

2013-01-29 Thread Eric Noulard
2013/1/29 Pradeep Jha : > Hello, > > I installed cmake without ncurses. It is version 2.8.10.2 and CentOS 5.4 > --- > [root@83 cmake-2.8.10.2]# cmake --version > cmake version 2.8.10.2 > [root@83 ~]# cat /etc/redhat

Re: [CMake] ccmake is not getting installed

2013-01-29 Thread Pradeep Jha
Hello, I installed cmake without ncurses. It is version 2.8.10.2 and CentOS 5.4 --- [root@83 cmake-2.8.10.2]# cmake --version cmake version 2.8.10.2 [root@83 ~]# cat /etc/redhat-release CentOS release 5.4 (Final) -

Re: [CMake] CPack DEB dependencies

2013-01-29 Thread Eric Noulard
2013/1/28 Clinton Stimpson : > On Monday, January 28, 2013 10:07:04 PM Eric Noulard wrote: >> 2013/1/28 Clinton Stimpson : >> > When I try installing a cpack generated .rpm package on another machine, >> > it >> > also installs a handful of other dependent packages (including the 32 bit >> > libc.s

Re: [CMake] ccmake is not getting installed

2013-01-29 Thread Eric Noulard
2013/1/28 Pradeep Jha : > Hello, > > thank you for your replies. > > I mentioned in previous email that I tried this command already and this is > what I am getting as output: > > [root@83 ~]# yum install ncurses-devel [...