2009/10/2 David :
> Hello,
> When I generate a RPM with cpack (cmake 2.6), intermediate directories are
> include in the package :
> rpm -qpl test.rpm
> /etc
> /etc/init.d
> /etc/init.d/file
CPack RPM generator should NOT include folder or file that
does not correspond to some CMakeLists.txt INST
I have a few CMake projects in Ubuntu Linux. When I run 'make' it
sometime prints:
[100%] Building CXX object
and other times:
[ 50%] Building CXX
what does the percentage mean?
___
Powered by www.kitware.com
Visit other Kitware open-source
On Sat, Oct 03, 2009 at 02:48:00AM +0800, michael kapelko wrote:
> add_definitions(-Uflag) does not help. how to #undef then?
http://www.cmake.org/cmake/help/cmake2.6docs.html#command:remove_definitions
tyler
___
Powered by www.kitware.com
Visit other
Hello.
add_definitions(-Uflag) does not help. how to #undef then?
Thanks.
___
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 FA
Sean McBride wrote:
> Hi all,
>
> I've just tried building VTK with 2.8rc1 and it gives an error:
>
> -- Check size of long
> CMake Error at /Applications/CMake 2.8-0.app/Contents/share/cmake-2.8/
> Modules/CheckTypeSize.cmake:102 (MESSAGE):
> CHECK_TYPE_SIZE found different results, consider s
James Bigler wrote:
On Fri, Oct 2, 2009 at 9:32 AM, Bill Hoffman wrote:
Sean McBride wrote:
On 10/2/09 10:40 AM, Bill Hoffman said:
We did change CMake. Before we used to hard code the build archs into
the file (i386, ppc, etc.). We now use a variable that Xcode uses,
something like $(DEF
Hi all,
I've just tried building VTK with 2.8rc1 and it gives an error:
-- Check size of long
CMake Error at /Applications/CMake 2.8-0.app/Contents/share/cmake-2.8/
Modules/CheckTypeSize.cmake:102 (MESSAGE):
CHECK_TYPE_SIZE found different results, consider setting
CMAKE_OSX_ARCHITECTURES or
On Fri, Oct 2, 2009 at 9:32 AM, Bill Hoffman wrote:
> Sean McBride wrote:
>>
>> On 10/2/09 10:40 AM, Bill Hoffman said:
>>
>>> We did change CMake. Before we used to hard code the build archs into
>>> the file (i386, ppc, etc.). We now use a variable that Xcode uses,
>>> something like $(DEFAUL
my top-level CMakeLists.txt, the CTEST_DROP_SITE has the correct
value. But the DartConfigurationFile.tcl seems not to be correct:
$ grep -i dropsite DartConfiguration.tcl
DropSite: public.kitware.com
DropSiteUser:
DropSitePassword:
DropSiteMode:
And ctest submit to the wrong dashboard:
Site: VE3
Alan W. Irwin wrote:
\
As for your request to explain why the second and third results are
identical, I leave that to those who understand how and why CMake has been
implemented in the way it has. I am not in that group, which is why I
always
fall back to simple experiments like above to determ
On 2009-10-02 14:45+0200 Hendrik Sattler wrote:
Zitat von Claudio Bley :
But I think that his example is wrong, it should be:
set(a "-Lfoo -lbar")
message(STATUS "a = ${a}")
set(a_list ${a})
message(STATUS "a_list = ${a_list}")
Then the result should be
-- a = -Lfoo -lbar
-- a_list = -Lfoo;-lb
CMake 2.8.0 RC 2 is now ready for people to try.
You can find the source and binaries here: http://www.cmake.org/files/v2.8/.
Here are the changes for the 2.8.0 branch so far:
Changes in CMake 2.8.0 RC 2
- Fix FindQt4 so that QtHelp depends on QtNetwork
- Add missing copyright notice to CMake.c
Sean McBride wrote:
On 10/2/09 10:40 AM, Bill Hoffman said:
We did change CMake. Before we used to hard code the build archs into
the file (i386, ppc, etc.). We now use a variable that Xcode uses,
something like $(DEFAULT_ARCH) different name, but you get the idea. If
that is not defined f
Hendrik Sattler
writes:
> Zitat von Claudio Bley :
>>> But I think that his example is wrong, it should be:
>>> set(a "-Lfoo -lbar")
>>> message(STATUS "a = ${a}")
>>> set(a_list ${a})
>>> message(STATUS "a_list = ${a_list}")
>>>
>>> Then the result should be
>>> -- a = -Lfoo -lbar
>>> -- a_lis
I thought there was some code to try and find out where Xcode was
installed added to CMake. I think I was the one who helped write it.
Whether that got committed to the repo is another question.
http://www.itk.org/Bug/view.php?id=6195
Support for non-standard Xcode installation was added to
On 10/2/09 10:40 AM, Bill Hoffman said:
>We did change CMake. Before we used to hard code the build archs into
>the file (i386, ppc, etc.). We now use a variable that Xcode uses,
>something like $(DEFAULT_ARCH) different name, but you get the idea. If
>that is not defined for some reason for
On Fri, Oct 02, 2009 at 10:46:04AM +0200, David wrote:
> When I generate a RPM with cpack (cmake 2.6), intermediate directories are
> include in the package :
>
> rpm -qpl test.rpm
> /etc
> /etc/init.d
> /etc/init.d/file
>
> How can I remove these folders?
I've never used cpack with rpm but don'
Oops.. Nice Catch.
I am going to hazard a guess and say that "Make" is running a new
cmake instance with the install.cmake as its target script to run.
This script will have NOTHING to do with the CMakeLists.txt file and
therefor will have no idea about variables that are defined in the
o
James C. Sutherland wrote:
On Oct 2, 2009, at 8:20 AM,
wrote:
CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
SET(TEST CACHE STRING "test variable")
INSTALL(SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/install.cmake)
install.cmake
EXECUTE_PROCESS(
COMMAND "/bin/echo" "--test=${TE
Sean McBride wrote:
On 10/1/09 11:17 PM, James Bigler said:
Well, it worked just fine with CMake 2.4.6, so wouldn't this be a
regression?
I guess. Or possibly you were lucky it ever worked (as in, relying on
undefined behaviour that changed). I have no idea. :)
I just found it a little od
On Oct 2, 2009, at 8:20 AM,
wrote:
CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
SET(TEST CACHE STRING "test variable")
INSTALL(SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/install.cmake)
install.cmake
EXECUTE_PROCESS(
COMMAND "/bin/echo" "--test=${TESTVAR} --prefix=$
{CMAKE_I
On 10/1/09 11:17 PM, James Bigler said:
>Well, it worked just fine with CMake 2.4.6, so wouldn't this be a
>regression?
I guess. Or possibly you were lucky it ever worked (as in, relying on
undefined behaviour that changed). I have no idea. :)
I just found it a little odd that you would be u
where is TESTVAR ever set?
_
Mike Jackson mike.jack...@bluequartz.net
BlueQuartz Softwarewww.bluequartz.net
Principal Software Engineer Dayton, Ohio
On Oct 2, 2009, at 10:20 AM, merean..
Hi!
I have a question regarding cmake-scripts:
I have this simple example:
CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
SET(TEST CACHE STRING "test variable")
INSTALL(SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/install.cmake)
install.cmake
EXECUTE_PROCESS(
COMMAND "/bin/echo" "--
I am having trouble building a NSIS package running cpack from my mac
for windows xp
This is what I have on my cross-compile setup in my mac:
I have a cross-compile setup working in Macos, mingw-gcc
I have cpack - zip running on my mac for windows xp
This is what I have in window
James Bigler wrote:
Well, it worked just fine with CMake 2.4.6, so wouldn't this be a
regression?
The reason I haven't upgraded Xcode is that the updater never presented
it, and I don't really check for updates.
We are unable to reproduce this...
You said you did this:
I used --debug-tr
Hi everybody,
we have a weird problem here, we want to do a cross compile for
QNX on a Win XP System, using the standard QNX supplied toolchain.
So I grabbed a toolchain file from the mailing list archive and adapted it
to my settings (see attachment).
running cmake -DCMAKE_TOOLCHAIN
Zitat von Claudio Bley :
But I think that his example is wrong, it should be:
set(a "-Lfoo -lbar")
message(STATUS "a = ${a}")
set(a_list ${a})
message(STATUS "a_list = ${a_list}")
Then the result should be
-- a = -Lfoo -lbar
-- a_list = -Lfoo;-lbar
No, should it not. How should that be possi
On Fri, Oct 2, 2009 at 7:43 AM, Mike Jackson wrote:
> On Fri, Oct 2, 2009 at 4:03 AM, Romain CHANU
> wrote:
> > Hi,
> >
> > I am starting to use Eclipse CDT 6.0 / CMake 2.6 for C++ development and
> I
> > would like to have some information on how to integrate these two
> software
> > together.
>
Hendrik Sattler
writes:
> Zitat von Claudio Bley :
>>> set(a "hello world\\ hello world")
>>> message(STATUS "a = ${a}")
>>> set(a_list ${a})
>>> message(STATUS "a_list = ${a_list}")
>>>
>>> The result is
>>>
>>> -- a = hello world\ hello world
>>> -- a_list = hello world\ hello world
>>
>> So, t
On Fri, Oct 2, 2009 at 7:38 AM, Mike Jackson wrote:
> I'm confused by the "preprocessor statement highlighting" in Cmake
> 2.8? What exactly is being highlighted? Is there a new Text Editor or
> is this something in CMake-Gui.exe?
>
I'm sorry, that wasn't very clear. What I meant to say is that
On Fri, Oct 2, 2009 at 4:03 AM, Romain CHANU wrote:
> Hi,
>
> I am starting to use Eclipse CDT 6.0 / CMake 2.6 for C++ development and I
> would like to have some information on how to integrate these two software
> together.
>
> I have been reading these pages:
>
> http://www.itk.org/Wiki/CMake:E
On Fri, Oct 2, 2009 at 6:51 AM, Philip Lowman wrote:
> On Fri, Oct 2, 2009 at 4:03 AM, Romain CHANU wrote:
>>
>> Hi,
>>
>> I am starting to use Eclipse CDT 6.0 / CMake 2.6 for C++ development and I
>> would like to have some information on how to integrate these two software
>> together.
>>
>> I
Zitat von Claudio Bley :
set(a "hello world\\ hello world")
message(STATUS "a = ${a}")
set(a_list ${a})
message(STATUS "a_list = ${a_list}")
The result is
-- a = hello world\ hello world
-- a_list = hello world\ hello world
So, the real issue here is that your CAIRO_LINK_FLAGS variable just
c
On Fri, Oct 2, 2009 at 4:03 AM, Romain CHANU wrote:
> Hi,
>
> I am starting to use Eclipse CDT 6.0 / CMake 2.6 for C++ development and I
> would like to have some information on how to integrate these two software
> together.
>
> I have been reading these pages:
>
> http://www.itk.org/Wiki/CMake:
Hi.
"Alan W. Irwin"
writes:
> On 2009-10-02 08:58+0200 Hendrik Sattler wrote:
>
>> Zitat von "Alan W. Irwin" :
>>> [Use]
>>> string(REGEX REPLACE " " ";" CAIRO_LINK_FLAGS_LIST "${CAIRO_LINK_FLAGS}")
>>> [to convert a blank-delimited string to a list].
>>
>> Doing this REGEX REPLACE cannot be t
On 2009-10-02 06:26+0200 Andreas Pakulat wrote:
On 01.10.09 18:18:24, Alan W. Irwin wrote:
This solution obviously reduces the urgency of the concern I expressed about
the motivation for escaping blanks for Linux because workarounds like above
can always be used. However, I am still curious ab
Hello,
When I generate a RPM with cpack (cmake 2.6), intermediate directories are
include in the package :
rpm -qpl test.rpm
/etc
/etc/init.d
/etc/init.d/file
How can I remove these folders?
Thanks!
___
Powered by www.kitware.com
Visit other Kitware o
Hi,
I am starting to use Eclipse CDT 6.0 / CMake 2.6 for C++ development and I
would like to have some information on how to integrate these two software
together.
I have been reading these pages:
http://www.itk.org/Wiki/CMake:Eclipse
http://www.itk.org/Wiki/Eclipse_CDT4_Generator
However, they
On 2009-10-02 08:58+0200 Hendrik Sattler wrote:
Zitat von "Alan W. Irwin" :
[Use]
string(REGEX REPLACE " " ";" CAIRO_LINK_FLAGS_LIST "${CAIRO_LINK_FLAGS}")
[to convert a blank-delimited string to a list].
Doing this REGEX REPLACE cannot be the recommended way as that breaks any
paths that co
Selon "Nathaniel Waisbrot (Cont ARL/CISD)" :
> Try moving the ENABLE_TESTING() call to the top-level CMakeLists.txt,
> before any calls to add_subdirectory(). Add_test() can stay where it
> is.
Thanks it works perfectly. But the behavior of ENABLE_TESTING() is disturbing. I
think it will be great
41 matches
Mail list logo